Monday, October 17, 2022

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

Square and Cube Number in TypeScript

 Machine Problem

Write a program that will compute the square and cube value of 5 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

/* square_cube.ts Jake Rodriguez Pomperada, MAED-IT, MIT www.jakerpomperada.com and www.jakerpomperada.blogspot.com jakerpomperada@gmail.com July 15, 2022 6:33 AM Friday Bacolod City, Negros Occidental */ let val_num = 5; // Converting to Square Value let square = (val_num * val_num); // Converting to Cube Value let cube = (val_num * val_num * val_num); console.log(); console.log("Square and Cube Number in TypeScript\n"); console.log("Square of "+ val_num +" is "+square +".\n"); console.log("Cube of "+ val_num +" is "+cube +".\n"); console.log("End of Program\n");

Sunday, October 16, 2022

Calling a Function in C

Calling a Function in C

 A simple program to teach you how to call a function in C 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 calling_function() { printf("\n\n\tCalling the function here.\n\n"); } int main(void) { calling_function(); }

Array Input of Numbers and Display in Java

Array Input of Numbers and Display in Java

 A simple program to demonstrate the array input and display using Java 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

package demo; import java.util.*; /* * Array.java * Author Jake Rodriguez Pomperada, MAED-IT, MIT * www.jakerpomperada.com * www.jakerpomperada.blogspot.com * jakerpomperada@gmail.com * October 16, 2022 Sunday * */ public class Array { public static void main(String[] args) { // TODO Auto-generated method stub Scanner input=new Scanner(System.in); int[] array = new int[5]; System.out.print("\n\n"); System.out.print("\tArray Input of Numbers and Display in Java"); System.out.print("\n\n"); for(int i=0; i<5; i++) { System.out.print("\tGive value in item no. " + (i+1) + " : "); array[i]=input.nextInt(); } System.out.print("\n"); System.out.println("\tThe array elements are: "); System.out.print("\n\n"); for (int i=0; i<5; i++) { System.out.print("\t" + array[i] + " "); } System.out.print("\n\n"); System.out.print("\tEnd of Program"); System.out.print("\n\n"); input.close(); } }



Saturday, October 15, 2022

Shell Sort in C++

Shell Sort in C++

A program to demonstrate shell sort algorithm using a 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 namespace std; 


void Shell_Sorting(int arr[], int n)

{

for(int gap=n/2;gap>0;gap /= 2)

{

for(int j = gap;j<n;j+=1)

{

int temp = arr[j];

int i=0;

for(i=j;(i>=gap)&&(arr[i-gap]>temp);i-=gap)

{

arr[i] = arr[i-gap];

}

arr[i] = temp;

}

}

}


int main() 

int n=0;

cout << endl << endl;

cout << "\tShell Sort in C++";

cout << endl << endl;

cout<<"\tHow Many Items? : ";

cin>>n;

int arr1[n],arr2[n];

cout << endl << endl;

for(int i=0;i<n;i++)

{

cout<<"\tEnter value in item no. "<<i+1<< ": ";

cin>>arr1[i];

arr2[i]=arr1[i];

}

cout << endl << endl;

cout<<endl<<"\tBefore Sorting of Numbers: "<<endl;

cout<< endl;

for(int i=0;i<n;i++)

{

cout<<"\t" <<arr1[i]<<" ";

}

cout<<endl<<endl;

Shell_Sorting(arr1, n); 

   

cout<<endl<<"\tAfter Sorting of Numbers: "<<endl;

cout<< endl;

for(int i=0;i<n;i++)

{

cout<<"\t"<<arr1[i]<<" ";

}

cout << endl<< endl;

cout << "\tEnd of Program";

cout << endl;

   return 0; 

}

Ano Ba Ang Computer Science?

Friday, October 14, 2022

Arrays of Numbers Input in C++

Arrays of Numbers Input in C++

A simple program to ask the user to give a number by press number 1 and display the numbers when the user press 0 it will display the given numbers given using arrays in C++.

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> #include <cmath> using namespace std; const int arraySize = 5; const int sentinel = 0; int main() { int array[arraySize]; int i=0; int input=0; int count = 0; int option=0; cout<<"\n\n"; cout << "\tEnter 1 To Input an Integer " << endl; cin >> option; if (option == 1) { for (int a=0; a<5; a++) { cout <<"\tEnter Value in Item No." << a+1 << " : "; cin >> array[a]; } } cout <<"\n\n"; cout << "\tEnter 0 To to display the given integers " << endl; cin >> option; if (option == 0) { for (int a=0; a<5; a++) { cout <<"\tArray Element Number [" << a+1 << "] = " << array[a] << "\n"; } } cout <<"\n"; cout <<"\tThank you for Using This Software !!!"; cout <<"\n\n"; system("PAUSE"); }

Thursday, October 13, 2022

How To Know Your YouTube Channel Performance Using SocialBlade.com

Grade Checker in Perl

Grade Checker in Perl

 Machine Problem

Write a program using if statement that will ask the user to give a grade if the student and then the program will check and determine if the student pass or fail in the subject.

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

# grade.pl

# Author  : Jake Rodriguez Pomperada,MAED-IT,MIT

# Date    : March 25, 2020  11:58 AM

# Email   : jakerpomperada@gmail.com

# Websites : http://www.jakerpomperada.com

#            http://www.jakerpomperada.blogspot.com

print "\n\n";

print "\tGrade Checker in Perl";

print "\n\n";

print "\tEnter your Grade  : ";

chomp($grade=<>);


if ($grade >= 75) {

    print "\n";

    print "\tYour grade is $grade%. You pass the subject.";

}

if ($grade < 75) {

print "\n";

print "\tYour grade is $grade%. You fail the subject.";

}

print "\n\n";

print "\tEnd of the Program";

print "\n\n";