Tuesday, September 1, 2020

Leap Year Checker in Bash

In this article, we will learn how to write a bash shell program to ask the user to give a year, and then the program will check and determine whether the given year is a leap year or not a leap year.

I am currently accepting programming work inventory system, enrollment system, accounting system, point of sale, school programming assignments and projects, payroll system, information system, website design and development using WordPress, 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


Program Listing


printf "\n\n"

printf "\tLeap Year Checker in Bash"

printf "\n\n"

printf "\tGive a Year: "

read y


printf "\n\n"


year=$y


y=$(( $y % 4 ))

if [ $y -eq 0 ]

then

    printf "\tThe given year $year is Leap Year!"

else


  printf "\tThe given $year is not a Leap Year!"

fi


printf "\n\n"

printf "\tEnd of Program"

printf "\n"


                          

Saturday, August 29, 2020

JOHN REGALA AT CHUCKIE DREYFUS, MULING NAGHARAP!

Positive and Negative Number Checker in Bash

 A simple program that I wrote using that will ask the user to give a number and then the program will check if the given number is a positive or negative number using bash scripting language. 

I am currently accepting programming work inventory system, enrollment system, accounting system, point of sale, school programming assignments and projects, payroll system, information system, website design and development using WordPress, 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

 

Program Listing

 

# positive_negative.sh
#Bash Script to check whether a number is positive or not
#Jake R. Pomperada,MAED-IT,MIT
# Bacolod City, Negros Occidental
# jakerpomperada@gmail.com

printf  "\n\n"
printf  "\tPositive and Negative Number Checker in Bash"
printf   "\n\n"
read -p "Enter a number: " number
printf "\n"
if [ $number -ge 0 ]
then
  printf "\tThe given number $number is positive."
else
  printf "\tThe given number $number is negative."
fi
printf "\n\n"
printf  "\tEnd of Program"
printf "\n"
 

Positive and Negative Number Checker in Bash

Thursday, August 27, 2020

Addition of Two Numbers in Bash

Bash Hello World

Separable First-Order Differential Equations

Addition of Two Numbers in PHP

Addition of Two Numbers in PHP

 A simple program to add the sum of two numbers in php programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, point of sale, school programming assignments and projects, payroll system, information system, website design and development using WordPress, 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


Sample Program Output


Program Listing

index.php

<html>
  <head>
    <title>Addition of Two Numbers in PHP </title>
   </head>
   <style>
     body {
      font-family: arial;
      size : 12px;
       }
   </style>
   <body>
      <?php
      $a=100;  $b=20;

      $sum = ($a+$b);

  echo "<h4> Addition of Two Numbers in PHP </h4>";
  $a_display = '$a';
  $b_display = '$b';
      echo "The value in variable is $a_display is $a.<br>";
      echo "The value in variable is $b_display is $b.<br>";
      echo "<h4> The sum of $a and $b is $sum.<h4>";
    ?>
   </body>
   </html>   
       


Sunday, August 23, 2020

Odd and Even Numbers in C#

Odd and Even Numbers in C#

 I wrote this simple program using C# programming language to ask the user to give a number and then the program will check and determine whether the given number is an odd or even number.

I am currently accepting programming work inventory system, enrollment system, accounting system, point of sale, school programming assignments and projects, payroll system, information system, website design and development using WordPress, 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


Sample Program Output


Program Listing

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;


namespace Odd_and_Even_Numbers

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void button3_Click(object sender, EventArgs e)

        {

            Application.Exit();

        }


        private void button1_Click(object sender, EventArgs e)

        {

            int a = 0;


            a = Convert.ToInt32(textBox1.Text);




            if (a % 2 == 0)


            {


                MessageBox.Show("The given number " + a + " is a Even Number.",


                 "The Result");


            }

            else


            {




                MessageBox.Show("The given number " + a + " is a Odd Number.",


                 "The Result");


            }



        }


        private void button2_Click(object sender, EventArgs e)

        {

            textBox1.Text = "";

            textBox1.Focus();

        }

    }

}




Saturday, August 22, 2020

No Copyright Happy Background Music - Free Download

Positive and Negative Numbers in C#

Positive and Negative Numbers in C#

 A simple program that I wrote using C# to ask the user to give a number and then the program will check and determine whether the given number is a positive or negative number.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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



Sample Program Output


Program Listing

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;


namespace Positive_and_Negative_Numbers

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void button1_Click(object sender, EventArgs e)

        {

            int a = 0;

            a = Convert.ToInt32(textBox1.Text);


         if (a >= 0)

            {

                MessageBox.Show("The given number " + a +  " is a Positive Number.",

                 "The Result");

            } else

            {


                MessageBox.Show("The given number " + a + " is a Negative Number.",

                 "The Result");

            }

            

        }


        private void button2_Click(object sender, EventArgs e)

        {

            textBox1.Text = "";

            textBox1.Focus();

        }

    }

}



Tuesday, August 18, 2020

Loan Interest Solver

Loan Interest Solver

 A simple program that I wrote to solve the loan interest of a customer using the C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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

Sample Program Output

Program Listing

/* loan_solver.c   
   Jake Rodriguez Pomperada,MAED-IT,MIT
   jakerpomperada@gmail.com  */

#include <stdio.h>

int main()
{
    float principal=0.00, time=00;
float rate=0.00, solve_interest=0.00;
    
system("COLOR F0");
printf("\n\n");
    printf("\tLoan Interest Solver");
printf("\n\n");
    printf("\tEnter Principal Amount PHP : ");
    scanf("%f",&principal);
    printf("\n");
    printf("\tEnter No. of Years  : ");
    scanf("%f",&time);
    printf("\n");
    printf("\tEnter Percent Rate % : ");
    scanf("%f",&rate);
     
    solve_interest = (principal * time * rate) / 100;

  printf("\n\n");
    printf("\tThe Interest is PHP %.2f.",solve_interest);
    printf("\n\n");
printf("\tEnd of Program"); 
printf("\n\n");
  }


Area of the Circle Solver in C

Area of the Circle Solver in C

 A simple program that I wrote to solve the area of the circle using the C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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

Sample Program Output


Program Listing

/* area_of_the_circle.c
   Jake Rodriguez Pomperada,MAED-IT,MIT
   www.jakerpomperada.com
   jakerpomperada@gmail.com
*/   

#include <stdio.h>

#define PI  3.14

int main() 
 {
   float radius=0.00, area=0.00;
   
   system("COLOR F0");
   printf("\n\n");
   printf("\tArea of the Circle Solver in C");
   printf("\n\n");
   printf("\tGive the radius of Circle : ");
   scanf("%f", &radius);
 
   area = (PI * radius * radius);

   printf("\n\n");
   printf("\tThe Area of Circle is %.2f.",area);
   printf("\n\n");
   printf("\tEnd of Program");
   printf("\n\n");
  
}


fgets Demonstration in C

fgets Demonstration in C

 A simple program using the C programming language to show how to use the fgets statements.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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



Sample Program Output

Program Listing


/* fgets.c  */

/* Jake R. Pomperada,MAED-IT, MIT  */

/* jakerpomperada@gmail.com */


#include <stdio.h>

#include <stdlib.h>



int main()

{

    char name[50] = {0};

    

    printf("\n");

    printf("\tfgets Demonstration in C");

    printf("\n\n");

printf("\tEnter your name: ");


    if (fgets(name, 30, stdin)) {

    printf("\n\n");

    printf("\tYour name is: %s", name);

}

      else {

  printf("\n\n");

      printf("\tIf you don't want to...");

   }

    return EXIT_SUCCESS;

}


PART 1 | BINASAG NA NAMAN NI RALPH ANG KANYANG MGA ALKANSYA SA KANYANG B...

Sunday, August 16, 2020

Age Checker in C

 A simple program that I wrote that will ask the user to give their age and the program will check and determine whether that user age is still a minor or already an adult using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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




Sample Program Output

Program Listing

#include <stdio.h>
 

int main()
{   
    char *age_checker[] = {"You are still a Minor.",
                     "You are already an Adult.",
};
    char *display_age;
 
    int age=0;
    
    printf("\n\n");
printf("\tAge Checker in C");
printf("\n\n");
printf("\tWhat is Your Age? : ");
    scanf("%d",&age);
     
     
     if (age >= 18) {
display_age = age_checker[1];
}
     switch (age < 18) {
     
    case 1 : case 2 : case 3 : case 4: case 5:
    case 6 : case 7 : case 8 : case 9: case 10:
    case 11 : case 12 : case 13 : case 14: case 15:
    case 16 : case 17 : 
display_age = age_checker[0];
break;
                  
}
    
    
printf("\n\n");
printf("\t===== DISPLAY RESULTS =====");
printf("\n\n");
printf("\tAt the age of %d years old.\n\n",age);
printf("\t%s",display_age);
printf("\n\n");
printf("\tEnd of Program");
printf("\n");
}




Volume of a Sphere Converter in C

 A simple program that I wrote that will ask the user to give value in radius and then the program will compute the volume of a sphere using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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



Sample Program Output

Program Listing


#include <stdio.h>


#define PI  3.14


int main()

{   

    float volume_sphere = 0.00;

    float radius = 0.00;

    printf("\n\n");

printf("\tVolume of a Sphere Converter");

printf("\n\n");

printf("\tEnter Radius Value : ");

    scanf("%f",&radius);


    /* Compute the volume of Sphere */

    

    volume_sphere = (4.0/3.0)*(PI*radius*radius*radius);

    

printf("\n\n");

printf("\tThe Volume of Sphere is %5.2f.",volume_sphere);

printf("\n\n");

printf("\tEnd of Program");

printf("\n");

}



Temperature Checker in C

 A temperature program that I wrote using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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


Sample Program Output

Program Listing


#include <stdio.h>

int main()
{   

char *temp_value[] = {"ICE","WATER","STEAM"};
                      
char  *display_temp; 

    int temperature = 0;
    printf("\n\n");
printf("\tTemperature Checker in C");
printf("\n\n");
printf("\tWhat is the Temperature? : ");
    scanf("%d",&temperature);
   
   if (temperature < 0) {
    display_temp = temp_value[0];
   } else if (temperature > 100) {
    display_temp = temp_value[2];
   }
     
    switch(temperature) {
     case 0 : case 1 : case 2 : case 3 : case 4 : case 5: 
     case 6 : case 7 : case 8 : case 9 : case 10: 
     case 11 : case 12 : case 13 : case 14 : case 15: 
     case 16 : case 17 : case 18 : case 19 : case 20: 
     case 21 : case 22 : case 23 : case 24 : case 25: 
     case 26 : case 27 : case 28 : case 29 : case 30: 
     case 31 : case 32 : case 33 : case 34 : case 35: 
     case 36 : case 37 : case 38 : case 39 : case 40: 
     case 41 : case 42 : case 43 : case 44 : case 45: 
     case 46 : case 47 : case 48 : case 49 : case 50: 
     case 51 : case 52 : case 53 : case 54 : case 55: 
     case 56 : case 57 : case 58 : case 59 : case 60: 
     case 61 : case 62 : case 63 : case 64 : case 65: 
     case 66 : case 67 : case 68 : case 69 : case 70: 
case 71 : case 72 : case 73 : case 74 : case 75: 
     case 76 : case 77 : case 78 : case 79 : case 80: 
     case 81 : case 82 : case 83 : case 84 : case 85: 
     case 86 : case 87 : case 88 : case 89 : case 90: 
     case 91 : case 92 : case 93 : case 94 : case 95: 
case 96 : case 97 : case 98 : case 99 : case 100: 
display_temp = temp_value[1];
         break;
    }
    
    printf("\n\n");
printf("\tThe Temperature is %s.", display_temp);
printf("\n\n");
printf("\tEnd of Program");
printf("\n");
}


US Dollar To Philippine Peso Converter Using C language

 A simple program to ask the user to give a value in US Dollar and then convert into Philippine Peso using C programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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


Sample Program Output


Program Listing

#include <stdio.h>

#define PHIL_PESO  50.74

int main()
{   
    float convert = 0.00, us_dollar = 0.00;
   
    printf("\n\n");
printf("\tUS Dollar To Philippine Peso Converter");
printf("\n\n");
printf("\tEnter US Dollar Value : ");
scanf("%f",&us_dollar);
convert = (us_dollar *  PHIL_PESO);
  
printf("\n\n");
printf("\tThe value of $%2.2f US Dollars in ",us_dollar);
printf("Philippine Peso is PHP %2.2f.",convert);
printf("\n\n");
printf("\tEnd of Program");
printf("\n");
}




Thursday, August 13, 2020

Memory Allocation in C

 A program was written by my friend and fellow software engineer Thomas to demonstrate how to use memory allocation using C programming language. Thank you Tom for sharing your code to us.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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


Program Listing

#define DEBUG

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>

void* alloc_mem(size_t size, const char *file, unsigned line)
{
     assert(size > 0);
     assert(file != NULL);

     void* res = malloc(size);
     if (res == NULL)
         fprintf(stderr, "malloc failed at %s(%u)\n",file, line);
     else {
         fprintf(stderr, "alloc\t%u\t%u\t%s\t%u\n", (unsigned int)res,
size,file, line);
         memset(res, 0xCC, size);
     }

     return res;
}

void free_mem(void *p, const char *file, unsigned line)
{
     assert(p != NULL);
     fprintf(stderr, "free\t%u\t?\t%s\t%u\n", (unsigned int)p, file, line);
}

#ifdef DEBUG
#define malloc(size)    alloc_mem(size, __FILE__, __LINE__)
#define free(p)         free_mem(p, __FILE__, __LINE__);
#endif

int f()
{
     int *num = malloc(sizeof(int *));

     return *num;
}

int main()
{
     int *ip = malloc(sizeof(int *));
     if (ip != NULL)
     {
         *ip = 11;
         printf("*ip = %d\n", *ip);
     }
     printf("Num = %d\n", f());
     free(ip);
     //system("pause");
     return EXIT_SUCCESS;



Wednesday, August 12, 2020

Product of Two Numbers in Java

Product of Two Numbers in Java

 A simple program that I wrote using Java programming language that will ask the user to give two numbers and then the program will compute the product of two numbers and display the results on the screen.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, 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

Sample Program Output



Program Listing

product.java

/* Product.java
 * Author : Jake Rodriguez Pomperada, MAED-IT, MIT
 * Email  : jakerpomperada@gmail.com
 * Place  : Bacolod City, Negros Occidental Philippines
 */

import java.util.Scanner;

public class Product {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
  
  System.out.println();
  System.out.println("\tProduct of Two Numbers in Java");
  System.out.println();
  System.out.print("\tGive First Number: ");
  int num1 = in.nextInt();
   
  System.out.print("\tGive Second Number: ");
  int num2 = in.nextInt();
   
  System.out.println();
  System.out.println("\t"+ num1 + " x " + num2 + " = " + num1 * num2);
  System.out.println();
  System.out.println("\tEnd of Program");
  System.out.println("\n\n");
}

}