Sunday, October 23, 2022

String Palindrome in JavaScript

 A program that I wrote using JavaScript, CSS, and HTML to ask the user to give a string and then the program will check if the given string is a palindrome or not.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.






Program Listing

index.htm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Language" content="en-us" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>String Palindrome in JavaScript</title> <style type="text/css"> .style1 { font-family: Arial; font-size: x-large; color: #FFFFFF; } .style3 { font-family: Arial; font-size: large; color: #FFFFFF; } .style4 { font-size: medium; } .style5 { font-family: Arial; } .style6 { font-size: large; } .style7 { margin-bottom: 0px; } .style8 { font-weight: bold; } </style> </head> <body bgcolor="#00FF00"> <hr /> <p class="style1"><strong>String Palindrome in JavaScript</strong></p> <p class="style3"><strong>Created By Jake R. Pomperada, MAED-IT, MIT</strong></p> <hr /> <p class="style3"><strong>Give a String&nbsp;&nbsp;&nbsp; </strong> <span class="style4"><span class="style5"><span class="style6"> <input name="Text1" type="text" style="width: 252px; height: 29px" id= "pa" required/></span></span></span></p> <form method="post" class="style3"> <strong>Result&nbsp; </strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span class="style4"><span class="style5"><span class="style6"> <input name="Text2" type="text" style="width: 252px; height: 29px" class="style7" id = "pa2" /></span></span></span></form> <p class="style3"> <strong><span class="style6"> <input name="Button1" type="button" onclick = "palindrome()" value="Check" style="width: 133px; height: 45px" class="style8" /></span></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input name="Button2" type="button" onclick = "ClearFields()" value="Clear" style="width: 133px; height: 45px" class="style8" /></p> <script type = "text/javascript"> // Written By Jake Rodriguez Pomperada, MAED-IT, MIT function palindrome() { var a= document.getElementById("pa").value; var b = ""; for (i = a.length-1; i >= 0; i--) { b = b + a[i] } var empt = document.getElementById("pa").value; if (empt == "") { alert("Please input a string"); document.getElementById("pa").focus(); } else { if (a.toUpperCase() == b.toUpperCase()) document.getElementById("pa2"). value = b.toUpperCase() + " is a Palindrome String "; else document.getElementById("pa2"). value = b.toUpperCase() + " is not a Palindrome String"; } } function ClearFields() { document.getElementById("pa").value =""; document.getElementById("pa2").value =""; document.getElementById("pa").focus(); } </script> </body> </html>

Saturday, October 22, 2022

Paano Nyo Malaman Naka Sahod Na Kayo Sa Inyong YouTube Channel

Odd and Even Number Using Function in Python

Odd and Even Number Using Function in Python

 Machine Problem

A simple program to ask the user to give a number and then the program will check and determine if the given number is odd or even number using function in Python.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing


def Odd_Even(num):
if num%2 == 0:
type_value="even number."
else:
type_value = "odd number"
return type_value

num = int(input('Give a Number: '))
numtype = Odd_Even(num)
print();
print('Given number is',numtype)

Friday, October 21, 2022

Area of the Rectangle in TypeScript

Area of the Rectangle in TypeScript

 Machine Problem 

Write a program to solve the area of the rectangle with given length 5, and the width 8 and display the results on the screen.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.




Program Listing

/*rectangle.ts Jake Rodriguez Pomperada, MAED-IT, MIT www.jakerpomperada.com and www.jakerpomperada.blogspot.com jakerpomperada@gmail.com July 16, 2022 8:08 PM Saturday Bacolod City, Negros Occidental */ var length = 5; var width = 8; /* Compute the area of the rectangle */ var solve_area = (length * width); console.log(); console.log("Area of the Rectangle in TypeScript\n"); console.log( "The length of the rectangle : " + length +"\n"); console.log( "The width of the rectangle : " + width +"\n"); console.log( "The area of the rectangle : " + solve_area +"\n"); console.log("End of Program\n");

Thursday, October 20, 2022

How To Unenroll in Google Classroom

My Favorite Fruits Using ng-repeat in AngularJS

My Favorite Fruits Using ng-repeat in AngularJS

 Machine  Problem

Write a program that uses ng-repeat directive that will display the list of my favorite fruits like grapes, apple, orange, banana, mangoes, and avocados on the screen.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 


https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.



Program Listing


<!-- index.htm

  Author   : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

  Date     : July 30, 2021 Friday 9:42 PM

  Place    : Bacolod City, Negros Occidental

  Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com

  Email    : jakerpomperada@gmail.com

 -->

<html>

<head>

  <title>My Favorite Fruits Using ng-repeat in AngularJS</title>

</head>

<style>

body {

  font-family: arial;

  font-size: 25px;

  font-weight: bold;

}

</style>

<script type="text/javascript" src="angular.min.js">

</script>

<body ng-app="">

<h3>My Favorite Fruits Using ng-repeat in AngularJS</h3>

<div ng-init="Fruits=['Grapes','Apple','Orange','Banana','Mangoes','Avocados']">

  <p>List of My Favorite Fruits</p>

  <ul>

    <li ng-repeat="list_of_fruits in Fruits">

    {{ list_of_fruits }}

  </li>

  </ul>

</div>

</body>

</html>




Wednesday, October 19, 2022

Character Checker in C++

Character Checker in C++

 Machine Problem

Design a program to input a character from the user  and check whether the given character is the alphabet or not.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 


https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support




Program Listing

// char.cpp

// Author    : Mr. Jake R. Pomperada,BSCS,MAED-IT

// Date      : August 18, 2018  Saturday

// Location  : Bacolod City, Negros Occidental

// Website   : http://www.jakerpomperada.com

// Email     : jakerpomperada@jakerpomperada.com

#include <iostream>

using namespace std;

int main()

{

char ch;

char screen_display;

cout << "\n\n";

cout << "\tCharacter Checker in C++";

cout << "\n\n";

cout <<"\tGive a Character : ";

cin >> ch;

screen_display = toupper(ch);

if((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z'))

    {

      cout << "\n\n";

cout << "\tThe given character "<< screen_display << " is an alphabet.";

    }

    else

    {

         cout << "\n\n";

        cout << "\tThe given character "

<< screen_display << " is not an alphabet.";

    }

    cout << "\n\n";

cout << "\tEnd of Program";

}


Display a Number 1 to Nth Numbers Without Using Loops in C

Display a Number 1 to Nth Numbers Without Using Loops in C

 A program to display a number from 1 to nth numbers without using looping statements in C programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 


https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support







Program Listing

#include <stdio.h> void print_numbers(int a,int max) { printf("%5d",a); if(a<max) { /* calling function recursively by itself */ print_numbers(++a,max); } return; } main() { int n=10; printf("\n\n"); printf("\tDisplay a Number 1 to Nth Numbers Without Using Loops in C"); printf("\n\n"); printf("\t"); print_numbers(1,n); /*calling the function here */ printf("\n\n"); printf("\tEnd of Program"); printf("\n\n"); getch(); }

Tuesday, October 18, 2022

Student Grades Using ng-repeat With Key/Value in AngularJS

Student Grades Using ng-repeat With Key/Value in AngularJS

 Machine Problem

Write a program that uses ng-repeat directive that will display the list of student name, and grades using ng-repeat with key/value.

With the following values below.


Student Name                  Grades


Jake R. Pomperada              93

Ma. Junallie F. Pomperada      94

Jacob Samuel F. Pomperada      95

Julianna Rae F. Pomperada      96

Lydia R. Pomperada             87

Leslie Vinky P. Pepito         90


I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 


https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support





Program Listing

<!-- index.htm Author : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT Date : July 30, 2021 Friday 4:12 PM Place : Bacolod City, Negros Occidental Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com Email : jakerpomperada@gmail.com --> <html> <head> <title>Student Grades Using ng-repeat With Key/Value in AngularJS</title> </head> <style> body { font-family: arial; font-size: 25px; font-weight: bold; } </style> <link rel="stylesheet" href="bootstrap.min.css"> <script type="text/javascript" src="angular.min.js"> </script> <body> <br> <h2>Student Grades Using ng-repeat With Key/Value in AngularJS</h2> <div ng-app="" ng-controller="ngrepeatCtrl"> <table class="table table-bordered table-striped table-hover"> <tr class="danger"> <th>Student Names</th> <th>Grades</th> </tr> <tr ng-repeat="(student_names,grades) in items"> <td>{{student_names}}</td> <td>{{grades}}</td> </tr> </table> </div> <script> var student_grades = { "Jake R. Pomperada": "93", "Ma. Junallie F. Pomperada": "94", "Jacob Samuel F. Pomperada": "95", "Julianna Rae F. Pomperada": "96", "Lydia R. Pomperada": "87", "Leslie Vinky P. Pepito":"90" }; function ngrepeatCtrl($scope) { $scope.items = student_grades; } </script> </body> </html>

Monday, October 17, 2022

Increment and Decrement Operators in C++

Increment and Decrement Operators in C++

 A simple program to demonstrate increment and decrement operators in C++ programming language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 


https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support




Program Listing


#include <iostream>


using std::cout;

using std::endl;


int main()

{

    int x = 10;

    

    cout << "\n\n";

    cout <<"\tIncrement and Decrement Operators in C++";

    cout << "\n\n";

    

    cout << "\tValue of x is     : " << x << endl;

    

    x--;

    cout << "\tValue of x is now : " << x << endl;



     x+=10;

    cout << "\tValue of x is now : " << x << endl;


     x-=5;

     

    cout << "\tValue of x is now : " << x << endl;

    

cout <<"\n";

cout<<endl<<"\tEnd of Program";

    return 0;

}


Character Checker With Exception Handling in C++