Wednesday, February 5, 2020

Do You Want To Continue in C

A simple program to show you how to integrate do you want to continue option using 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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

/* sum.c
   Written By: Jake R. Pomperada,MAED-IT
   September 19, 2019  */

#include <stdio.h>
#include <ctype.h>

int main() {
int x=0,y=0,sum=0;
char ch;
do {
printf("\n");
printf("\tAddition of Two Numbers Using Do While in C");
printf("\n\n");
printf ("\tEnter the first number : ");
scanf ("%d",&x);
printf ("\tEnter the second number : ");
scanf ("%d",&y);
sum=x+y;
printf("\n");
printf ("\tThe total number is: %d\n",sum);
printf("\n\n");
printf ("\tDo you want to repeat the operation Y/N: ");
scanf (" %c", &ch);
} while (toupper(ch) == 'Y');
printf("\n\n");
printf ("\tEnd of Program");
printf("\n\n");
}

School Title in Java

A simple School title I wrote using Java programming language while I am learning Java.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

MySchool.java


public class MySchool {
 
    public static void main(String[] args) 
    {
        System.out.println("@      @  @       @  @@@@@@@        @@@@@@@");
        System.out.println("@      @  @ @     @  @     @        @      @");
        System.out.println("@      @  @  @    @  @     @        @     @");
        System.out.println("@      @  @   @   @  @     @ @@@@@@ @@@@@@   ");
        System.out.println("@      @  @    @  @  @     @        @     @");
        System.out.println("@      @  @     @ @  @     @        @      @");
        System.out.println("@@@@ @@@@  @       @  @@@@@@@        @       @");
       
        System.out.println("\nAlma Mater Hymn");
        System.out.println("To thee our Alma Mater Dear");
        
        
    }
}

Friday, January 31, 2020

Palindrome Number Checker in C++

Palindrome Number Checker in C++

I wrote this program that will ask the user to give integer and then the program will determine and check if the given number is a palindrome or not a palindrome 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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/



Sample Program Output



Program Listing

palindrome.cpp


#include <iostream>
#include <stdlib.h>

using namespace std;


int main()
{
    int n=0,num=0,digit=0,rev=0;
    
    cout <<"\n\n";
    cout <<"\tPalindrome Number Checker in C++ ";
    cout <<"\n\n";
    cout <<"\tGive a Positive Number : ";
    cin >> num;
    
    n = num;
    
    do {
        digit = num % 10;
        rev   = (rev * 10) + digit;
        num = num / 10;
        } while (num !=0);
        
    cout << "\tThe reverse of number is " << rev <<"\n";
    cout <<"\n\n";
    if (n == rev) {
          cout << "\tThe given number " << n<< " is a Palindrome.";
          }
         else {
                    cout << "\tThe given number " << n << " is  Not a Palindrome.";    
              }
                     
    cout <<"\n\n";
    cout << "\tEnd of the Program"; 
    cout <<"\n\n";     
    system("pause");
     }
     





Leap Year Checker in C++

Leap Year Checker in C++

I wrote this simple program in C++ to ask the user to give a year and then the program will check and determine if the year is a leap year or not a leap year.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/




Sample Program Output


Program Listing

leap_year.cpp

#include <iostream>
#include <stdlib.h>

using namespace std;

int main()
{
    int year=0;

    cout <<"\n\n";
    cout <<"\tLeap Year Checker in C++";
    cout <<"\n\n";
    cout <<"\tGive a Year : ";
    cin >> year;
    cout <<"\n\n";
        
    if (year % 4 == 0) 
    {
      if (year % 100 == 0) 
       {
          if (year % 400 == 0)
               cout <<"\t"<< year << " is a Leap Year.";
             else
               cout <<"\t"<< year << " is Not a Leap Year.";              
       }       
     else 
        cout <<"\t"<< year << " is a Leap Year.";
        }
     else 
      cout <<"\t"<< year << " is Not a Leap Year.";    
      
    cout <<"\n\n";
    cout <<"\tEnd of Program";
    cout <<"\n\n";  
    system("pause");
}




Thursday, January 23, 2020

Headings in Tables in HTML

A simple code that will demonstrate how to use and declare headings in a table in HTML.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

index.htm

<!DOCTYPE html>
<html>
    <body>
        <head><title>Headings in table</title></head>
    </body>
        <table border="1">
                <tr>
                    <th>Heading</th>
                    <th>Another Heading</th>
                </tr>
                <tr>
                    <td>row 1, cell 1</td>
                    <td>row 1, cell 2</td>
                </tr>
                 <tr>
                    <td>row 1, cell 1</td>
                    <td>row 2, cell 2</td>
                </tr>
            
        </table>
</html>

Math Calculator in Java

A simple math calculator program that I wrote in 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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/


Program Listing

Math_Calculator.java


import java.util.*;

public class Math_Calculator {
    public static void main(String[] args){
    Scanner Input = new Scanner(System.in);
    System.out.println("Enter Number");
    System.out.println("1 - Addition");
    System.out.println("2 - Subtraction");
    System.out.println("3 - Division");
    System.out.println("4 - Multiplication");
    
    int choice = Input.nextInt();
    if(choice==1){
        System.out.println("Enter first number");
        double num1 = Input.nextDouble();
        System.out.println("Enter Second number");
        double num2 = Input.nextDouble();
        double sum = num1+num2;
        System.out.println("sum= " + sum);
        
        
        }
    else if(choice==2){
        System.out.println("Enter first number");
        double num1 = Input.nextDouble();
        System.out.println("Enter Second number");
        double num2 = Input.nextDouble();
        double difference = num1-num2;
        System.out.println("difference= " + difference);
        
       
        }
    else if(choice==3){
        System.out.println("Enter first number");
        double num1 = Input.nextDouble();
        System.out.println("Enter Second number");
        double num2 = Input.nextDouble();
        double qoutient = num1/num2;
        System.out.println("qoutient= " + qoutient);
        
        }
   else if(choice==4){
        System.out.println("Enter first number");
        double num1 = Input.nextDouble();
        System.out.println("Enter Second number");
        double num2 = Input.nextDouble();
        double product = num1*num2;
        System.out.println("product= " + product);
        }
       else{
            System.out.println("invalid");
       }
    }
}

Saturday, January 18, 2020

Do While Loop in Java

I wrote this simple program to demonstrate how to declare and use do while loop statement 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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/



Sample Program Output


Program Listing

Do_While_Loop.java


public class Do_While_Loop {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
   System.out.println();
   System.out.print("\tDo While Loop in Java");
   System.out.println("\n");
   int i=1;  
   System.out.print("\t");
    do{  
        System.out.print(" " +i+" ");  
    i++;  
    }while(i<=10);  
}

}



Friday, January 17, 2020

Count Consonants,Vowels,Digits and Spaces in Java

Count Consonants,Vowels,Digits and Spaces in Java

I wrote this program using Java programming language that will ask the user to give a string or a sentence and then the program will count the number of consonants, vowels, digits and white space in the given sentence or string 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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/



Sample Program Output


Program Listing

 Count_Characters.java

import java.util.*;

public class Count_Characters {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub

Scanner input = new Scanner(System.in);
int vowels=0,consonants=0,digits=0,spaces=0;
System.out.println("\n");
System.out.print("\tCount Consonants,Vowels,Digits and Spaces in Java");
System.out.println("\n");
System.out.print("\tGive a Sentence : ");
String line = input.nextLine();
line = line.toLowerCase();
for (int i=0; i<line.length(); i++){
char ch = line.charAt(i);
if (ch=='a' || ch=='e' || ch=='i' 
|| ch == 'o' || ch=='u' ){
vowels++;
}
else if ((ch>='a' && ch <='z')) {
consonants++;
}
else if (ch>='0' && ch <='9'){
digits++;
}
else if (ch==' ') {
spaces++;
}
}
System.out.println("\n");
System.out.println("\tTotal Number of Vowels     : " + vowels);
System.out.println("\tTotal Number of Consonants : " + consonants);
System.out.println("\tTotal Number of Digits     : " + digits);
System.out.println("\tTotal Number of WhiteSpace : " + spaces);
System.out.println("\n");
System.out.println("\tEnd of Program");
}

}



Calling Methods in the Same Class in Java

Calling Methods in the Same Class in Java

I wrote this program to demonstrate how to use and declare calling methods in the same class in Java programming.

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 in 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking and Arduino Project development at a very affordable price.

My personal website is http://www.jakerpomperada.com
My programming website is http://www.jakerpomperada.blogspot.com

I am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/



Sample Program Output


Program Listing

 CallingMethodsInSameClass.java


public class CallingMethodsInSameClass {

/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
MethodOne();
MethodOne();
MethodTwo();
}
public static void MethodOne(){
System.out.println("\n");
System.out.println("\tThis is Method Number One");
}

public static void MethodTwo() {
MethodOne();
MethodOne();
}
}