Saturday, October 22, 2022

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++

Character Checker With Exception Handling in C++

 Machine Problem

Write a program that will ask the user to input a character and identify if the character is not an alphabet with exception handling functionalities.

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


/* A program that will ask the user to input a character 

and identify if the character is not an alphabet with exception handling functionalites*/


#include <iostream>


using namespace std;


int main()

 {

char let_given;

 

try

{

cout <<"\n\n";

cout << "\tGive a character : ";

cin >> let_given;

cout <<"\n\n";

let_given =toupper(let_given);

if (!isalpha(let_given))

//isalpha - is a character detection type to identify if it is a letter

  throw let_given;

cout<<"\t" <<let_given<<" is an alphabet!!:";

         

}


catch(char x)

{

cout << "\tException Thrown with "

            <<x<< " is not an alphabet!!.\n";

}

cout <<"\n\n";

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

}  


Square and Cube Number in TypeScript