Wednesday, December 9, 2020

Bigger Between Two Numbers in Java

 Write a program that will ask the user to give two numbers and then the program will check and determine which of the two numbers has a bigger numerical value. If the two numbers have an equal numerical value it will display a message they have the same value.

 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.

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

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.






Program Listing


/**
Machine Problem in Java

Write a program that will ask the user to give two numbers
and then the program will check and determine which of the
two numbers has a bigger numerical value. If the two numbers
has an equal numerical value it will display a message they 
have the same value.


 @author Jake Rodriguez Pomperada,MAED-IT, MIT
 www.jakerpomperada.com / www.jakerpomperada.blogspot.com
 jakerpomperada@gmail.com
 Bacolod City, Negros Occidental Philippines
 December 8, 2020   Tuesday
*/

import java.util.Scanner;

public class Bigger_Between_Two_Numbers {

public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner input = new Scanner(System.in);
        
        System.out.println("\n");
        System.out.print("\tBigger Between Two Numbers in Java");
        System.out.println("\n");
        System.out.print("\tGive First Value  : ");
        int first = input.nextInt();
        System.out.print("\tGive Second Value : ");
        int second = input.nextInt();
        
        System.out.println();
        if (first > second) {
        System.out.print("\tThe number " + first 
        + " has the bigger value than " + second + ".");
        } else if (second > first) {
        System.out.print("\tThe number " + second 
        + " has the bigger value than " + first + ".");
        } else {
        System.out.print("\tBoth number " + first 
    + " and " + second + " has the same numerical value.");
    } 
        
        input.close();
        System.out.println("\n");
        System.out.println("\tEnd of Program");
        System.out.println("\n");


}

}


Average of Four Numbers in Java (TAGALOG VERSION)

Average of Four Numbers in Java

 A simple program that I wrote using Java programming language to ask the user to give four numbers and then the program will compute the average of the given numbers.

 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.

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

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.






Program Listing

/* Average_of_Four_Numbers.java

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

 * December 8, 2020 Tuesday

 * www.jakerpomperada.blogspot.com

 * www.jakerpomperada.com

 * jakerpomperada@gmail.com

 * Bacolod City, Negros Occidental

 */


import java.util.Scanner;


public class Average_of_Four_Numbers {


public static void main(String[] args) {

// TODO Auto-generated method stub

Scanner input = new Scanner(System.in);

        

        System.out.println("\n");

        System.out.print("\tAverage of Four Numbers in Java");

        System.out.println("\n");

        System.out.print("\tGive First Value  : ");

        int first = input.nextInt();

        System.out.print("\tGive Second Value : ");

        int second = input.nextInt();

        System.out.print("\tGive Third Value  : ");

        int third = input.nextInt();

        System.out.print("\tGive Fourth Value : ");

        int fourth = input.nextInt();

        

        

        int total_sum = (first+second+third+fourth);

        

        int  average = (total_sum)/4;

        

        input.close();

        

        System.out.println();

        System.out.println("\tGiven Numbers are as follows");

        System.out.println();

        System.out.println("\t" + first + ", "+ second +", "+ third 

        + ", and " + fourth+".");

        System.out.println();

        System.out.print("\tThe average is " + average + ".");

        System.out.println("\n");

        System.out.println("\tEnd of Program");

        System.out.println("\n");


}


}


Addition of Two Numbers Using Flowgorithm

Addition of Two Numbers in VB NET TAGALOG VERSION

Addition of Two Numbers in VB.NET (Tagalog Version)

 I wrote this program to show how to write a program to ask the user to give two numbers and then the program will compute the sum of two numbers using vb.net

 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.

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

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.






Program Listing

Public Class Form1


    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        Dim sum, a, b As Integer


        a = Val(TextBox1.Text)

        b = Val(TextBox2.Text)


        sum = (a + b)


        Label3.Text = "The sum of " & a & " and " & b & " is " + Str(sum) + "."


    End Sub


    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click

        TextBox1.Text = ""

        TextBox2.Text = ""

        Label3.Text = ""

        TextBox1.Focus()

    End Sub


    Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button3.Click

        End

    End Sub

End Class


Monday, December 7, 2020

Civil Status Checker Using If-Else If in Java

 A program that I wrote using Java programming language to ask the user to select its civil status from a menu and display the selected civil status 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.

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

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.








Program Listing

civil_status_checker.java


import java.util.Scanner;


/**


 @author Jake Rodriguez Pomperada,MAED-IT, MIT

 www.jakerpomperada.com / www.jakerpomperada.blogspot.com

 jakerpomperada@gmail.com

 Bacolod City, Negros Occidental Philippines

 December 7, 2020   Monday  12:16 PM

*/



public class Civil_Status_Checker {


public static void main(String[] args) {

// TODO Auto-generated method stub


  Scanner input = new Scanner(System.in);

        

        System.out.println("\n");

        System.out.print("\tCivil Status Checker Using If-Else If in Java");

        System.out.println("\n");

        System.out.print("\tA - Single,  B - Married,  C - Widow,  D - Divorced,  E - Separated ==> ");

        char  civil_status =input.next().charAt(0);

        

        char select = Character.toUpperCase(civil_status);

        

        System.out.println();

        

        if (select == 'A') {

        System.out.print("\tYou civil status is SINGLE.");

        } else if (select == 'B') {

        System.out.print("\tYou civil status is MARRIED.");

        } else if (select == 'C') {

        System.out.print("\tYou civil status is WIDOW.");

        }  else if (select == 'D') {

        System.out.print("\tYou civil status is DIVORCED.");

        } else if (select == 'E') {

        System.out.print("\tYou civil status is SEPARATED.");

        } else {

        System.out.print("\tInvalid Option. Try Again.");

        }

        System.out.println("\n");

    System.out.print("\tEnd of Program");

        System.out.println("\n");

}

}


Sunday, December 6, 2020

Addition of Two Numbers in Java TAGALOG VERSION

Addition of Two Numbers in Java (TAGALOG VERSION)

 I create this tutorial to show how to write addition of two numbers 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.

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

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.




Program Listing

/* Addition_Two_Numbers.java

 *  Mr. Jake R. Pomperada, MAED-IT, IT

 *  www.jakerpomperada.com

 *  www.jakerpomperada.blogspot.com

 *  jakerpomperada@gmail.com

 *  Bacolod City, Negros Occidental Philippines

 */  


import java.util.Scanner;


public class Addition_Two_Numbers {


  public static void main(String[] args) {


   int a=0, b=0, sum=0;


  Scanner input = new Scanner(System.in);


   System.out.println();

  System.out.print("\tAddition of Two Numbers in Java (TAGALOG VERSION):

  System.out.println("\n");

  System.out.print;n("\tGive First Value : ");

  a = input.nextInt();

 System.out.println();

  System.out.print;n("\tGive First Value : ");

  b = input.nextInt();


 sum = a + b;


 System.out.println(); 

 System.out.println("\tThe sum of " + a + " and " + b + " is " + sum + ".");

  System.out.println();

  System.out.println("\tEnd of Program");

  System.out.println();

 }

}

Friday, December 4, 2020

Halo Bag Unboxing Video

Student Grade Solver With Remarks in C++

Student Grade Solver with Remarks in C++

 Machine Problem in C++

Write a C++ program that enters a Grades 1st, 2nd, 3rd, and 4th Quarter and displays the average and remarks.

Remarks:

90 - 100 Excellent

86 -89  Very Good

81 - 85 Good

75 - 80 Fair

75 below Failed

Any remarks : Invalid

 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.

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

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.



Program Listing

/*

Machine Problem


Write a C++ program that enters a Grades 1st, 2nd, 3rd and 4th

Quarter and display the average and remarks.


Remarks:

90 - 100 Excellent

86 -89  Very Good

81 - 85 Good

75 - 80 Fair

75 below Failed

Any remarks : Invalid

*/


#include <iostream>


using namespace std;


int main()

{

int first_q = 0;

int second_q = 0;

int third_q= 0;

int fourth_q = 0;

int average = 0;

string remarks;

cout << "\n\n";

cout <<"\tStudent Grade Solver with Remarks in C++";

cout << "\n\n";

cout << "\tEnter First  Quarter : ";

cin >> first_q;

cout << "\tEnter Second Quarter : ";

cin >> second_q;

cout << "\tEnter Third  Quarter : ";

cin >> third_q;

cout << "\tEnter Fouth Quarter : ";

cin >> fourth_q;

average = (first_q+second_q+third_q+fourth_q) / 4;

if (average >= 90  && average <= 100) {

remarks = "Excellent";

} else if (average >= 86  && average <= 89) {

remarks = "Very Good";

} else if (average >= 81  && average <= 85) {

remarks = "Good";

} else if (average >= 75  && average <= 80) {

remarks = "Fair";

} else if (average < 75) {

remarks = "Failed";

} else {

remarks = "Invalid";

}

cout << "\n\n";

cout << "\tAverage : " << average <<"\n";

cout << "\tRemarks : " << remarks;

cout << "\n\n";

cout << "\tEnd of Program";

cout << "\n\n";

}


Even Numbers Using While Loop Skip No 4 and 8 in C++

Even Numbers Using While Loop Skip No. 4 and 8 in C++

 Machine Problem in C++

Using while loop writes a C++ program that will display numbers 0,2,4,6,8..20 and skip numbers 4 and 8.

 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.

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

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.



Program Listing


/*

Machine Problem in C++


Using while loop writes a C++ program that will display

numbers 0,2,4,6,8..20 and skip numbers 4 and 8.


Mr. Jake Rodriguez Pomperada,MAED-IT, MIT

www.jakerpomperada.com

www.jakerpomperada.blogspot.com

jakerpomperada@gmail.com

Bacolod City, Negros Occidental, Philippines

December 4, 2020   Friday 

*/


#include <iostream>

#include <iomanip>


using namespace std;


int main()

{

     

      int a=0;

         

      cout <<"\n\n";

      cout <<"\tEven Numbers Using While Loop Skip No. 4 and 8 in C++";

      cout <<"\n\n";

      cout <<"\t";

      while ( a<=20) {

if (a== 4 || a== 8)

        {

        a+=2;  

      continue;

       }

   cout <<setw(4) << a <<setw(4);     

       a+=2;  

   }

  cout << "\n\n";

      

}

Employees Payroll System in Java

Employees Payroll System in Java

 Machine Problem in Java

Write a simple payroll program that will display the employee's information. The program should perform the following:

* Ask the user to enter the name of the employee

* Prompt the user to select between full time and part time   by pressing either F (full time) or P (part-time)

* If F is pressed, ask the user to enter his monthly salary.

  Then display his name and salary.

  If P is pressed, ask the user to type his rate(pay) per hour, then   the number of hour, and then the number of overtime. Then display his or her name and wage. The computation pay is:

  hours of overtime x (rate per hour x 125%)

  If an invalid letter is pressed, display an error message.

 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.

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

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.







Program Listing

Employees_Payroll_System.java

import java.text.DecimalFormat;

import java.util.Scanner;

/**
Machine Problem in Java

Write a simple payroll program that will display the employee's
information. The program should perform the following:

 Ask the user to enter the name of the employee
 Prompt the user to select between full time and part time
 by pressing either F (full time) or P (part time)
 If F is pressed, ask the user to enter his monthly salary.
 Then display his name and salary.

  If P is pressed, ask the user to type his rate(pay) per hour, then
  the number of hour and then number of overtime. Then display his
  or her name and wage. The computation pay is:
  hours of overtime x (rate per hour x 125%)

  If an invalid letter is pressed, display an error message.
 
 @author Jake Rodriguez Pomperada,MAED-IT, MIT
 www.jakerpomperada.com / www.jakerpomperada.blogspot.com
 jakerpomperada@gmail.com
 Bacolod City, Negros Occidental Philippines
 December 4, 2020   Friday 7:52 AM
*/


public class Employees_Payroll_System {
private static DecimalFormat df2 = new DecimalFormat("#.##");

public static void main(String[] args) {
// TODO Auto-generated method stub
  Scanner input = new Scanner(System.in);
        
        System.out.println("\n");
        System.out.print("\tEmployees Payroll System in Java");
        System.out.println("\n");
        System.out.print("\tEnter Employees Name : ");
        String emp_name =input.nextLine();
        System.out.print("\tPress F for Full Time or P for Part Time : ");
        char job_criteria =input.next().charAt(0);
        
        char select = Character.toUpperCase(job_criteria);
        
        System.out.println();
        
        if (select == 'F') {
        System.out.print("\t------ Full Time Employee ----- ");
        System.out.println();
        System.out.print("\tEnter Basic Pay :  ");
            double basic_pay = input.nextDouble();
            
            System.out.println("\n");
            System.out.println("\t-----------------------------------\n");
            System.out.println("\tEmployees Name :  " + emp_name );
            System.out.println("\tBasic Pay      :  " + df2.format(basic_pay));
            System.out.println();
            System.out.print("\t-----------------------------------\n");
            System.out.print("\tGross Pay      :    " + df2.format(basic_pay));
            System.out.println("\n");
        } else if (select == 'P') {
       
        System.out.print("\t------ Part Time Employee ----- ");
        System.out.println("\n");
        System.out.print("\tEnter Rate Per Hour       :  ");
            double rate_per_hour = input.nextDouble();
            
            System.out.print("\tEnter No. of Hour(s) Work :  ");
            double no_hours_work2 = input.nextDouble();
            
            System.out.print("\tEnter No. of Overtime     :  ");
            double no_overtime = input.nextDouble();
            
            double basic_pay2 =  (rate_per_hour * no_hours_work2); 
            double overtime_pay = (no_overtime * rate_per_hour * 1.25);
            
            double gross_pay = (basic_pay2 + overtime_pay);
           
            System.out.println("\n");
            System.out.println("\t-----------------------------------");
            System.out.println("\tEmployees Name :  " + emp_name );
            System.out.println("\tBasic Pay      :  " + df2.format(basic_pay2));
            System.out.println("\tOvertime Pay   :  " + df2.format(overtime_pay));
            System.out.print("\t-----------------------------------\n");
            System.out.println("\tGross Pay      :  " + df2.format(gross_pay));
            System.out.println("\n");
        } else {
            System.out.println("\n");
        System.out.print("\tInvalid Option. Please Try Again");
           }
        
      System.out.print("\tEnd of Program");
        System.out.println("\n");
    
   }     
}





Thursday, December 3, 2020

Qualified to Vote in Java

Qualified to Vote in Java

 Machine Problem

Write a program using Java language that determines if the input age is qualified to vote or not.  The qualifying age is 18 years old and above. 

 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 I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button, SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.




Program Listing

Qualified_To_Vote.java

/**

* Machine Problem

*

* Write a program using Java language that determines 

* if the input age is qualified to vote or not. 

* The qualifying age is 18 years old and above. 

* @author Jake Rodriguez Pomperada,MAED-IT, MIT

* www.jakerpomperada.com / www.jakerpomperada.blogspot.com

* jakerpomperada@gmail.com

* Bacolod City, Negros Occidental Philippines

* December 3, 2020   Thursday

*/




import java.util.Scanner;


public class Qualified_To_Vote {


public static void main(String[] args) {

// TODO Auto-generated method stub

  Scanner input = new Scanner(System.in);

        

        System.out.println("\n");

        System.out.print("\tQualified to Vote in Java");

        System.out.println("\n");

        System.out.print("\tEnter Your Age : ");

        int age =input.nextInt();

        

        System.out.println("\n");

        

        if  (age >= 18) {

       

        System.out.println("\tAt the age of " + age + " years old.\n");

        System.out.println("\tYou are qualified to vote");

        } else {

        System.out.println("\tAt the age of " + age + " years old.\n");

        System.out.println("\tYou are too young to vote.");

        }

        

        System.out.println("\n");

        System.out.println("\tEnd of Program");

        System.out.println("\n");

}


}


Payroll Program in Java Using Method Overloading