Monday, October 17, 2022

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";


Wednesday, October 12, 2022

String Palindrome With Do You Want To Continue in C++

String Palindrome With Do You Want To Continue in C++

 A simple program to ask the user to give a string and then the program will check if the given string is a palindrome or not with do you want to continue 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>

#include <string.h>

#include <conio.h>


#define size 100


 using namespace std;


 main()

    {

    char strsrc[size];

    char strtmp[size];

    char reply=0;

    do {

    cout << "\n\n";

     cout <<"\tGive a String : => ";

      gets(strsrc);

     strcpy(strtmp,strsrc);

     strrev(strtmp);

     cout << "\n\n";

     if(strcmpi(strsrc,strtmp)==0) {

     cout << "\tEntered String " << strsrc << " is Palindrome.";

     }

     else {

     cout << "\tEntered String " << strsrc << " is Not Palindrome.";

     }

  cout << "\n\n";

  cout <<"\tDo You Want to Continue? Y/N : ";

  reply = toupper(getch());

 } while (reply =='Y');

 cout << "\n\n";

 cout <<"\tThank you for Using This Software !!!";

 cout <<"\n\n";

 system("PAUSE");

 }


Computer Parts List Using ng-repeat in AngularJS