Categories
C++

Even and Odd Number Checker in C++

 A simple program that I wrote using C++ to ask the user to give a number and then the program will check if the given number is an odd or even number.

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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.


Program Listing

// odd_even.cpp
// Author   : Jake Rodriguez Pomperada,MAED-IT, MIT
// Date     : October 7, 2020   9:55 PM
// Website  : www.jakerpomperada.com / www.jakerpomperada.blogspot.com
// Email    : jakerpomperada@gmail.com

#include <iostream>


using namespace std;

int main() {

   int num=0;

   cout << "\n\n";
   cout << "\tEven and Odd Number Checker in C++";
   cout << "\n\n";
   cout << "\tGive a Number : ";
   cin >> num;
   cout << "\n\n";

   if(num % 2 == 0)
      cout<<"\tThe given number "<<num<<" is an even number.";
   else
      cout<<"\tThe given number "<<num<<" is an odd number.";
    cout << "\n\n";
   cout << "\tEnd of Program";
   cout << "\n\n";
}
Categories
C

Leap Year Checker in C

A program that I wrote to ask the user to give a year and then the program will determine whether the given 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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.


Program Listing

/* leap_year.c
 * Author  : Mr. Jake Rodriguez Pomperada,MAED-IT,MIT
 * Date    : October 8, 2020   Thursday
 * Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com
 * Email   : jakerpomperada@gmail.com
 * Place   : Bacolod City, Negros Occidental Philippines
 */

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

int main(void)
{
    int year=0;
      
    printf("\n\n");
    printf("\tLeap Year Checker in C");
	printf("\n\n");
	printf("\tGive a year :");
    scanf("%d", &year);
    printf("\n\n");
    if ((year % 400) == 0)
        printf("\tThe given year %d is a leap year. \n", year);
    else if ((year % 100) == 0)
        printf("\tThe given year %d is a not leap year. \n", year);
    else if ((year % 4) == 0)
        printf("\tThe given year %d is a leap year. \n", year);
    else
        printf("\tThe given year %d is not a leap year. \n", year);
    
    printf("\n\n");
    printf("\tEnd of Program");
    printf("\n\n");
	system("pause");
}
        
        
Categories
C#

Addition of Two Numbers in C#

 A simple program to ask the user to give two numbers and the program will compute the sum of two numbers 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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.


Program Listing

// Addition_Two_Numbers.cs
// Author   : Mr. Jake Rodriguez Pomperada, MAED-IT, MIT
// Date     : October 4, 2020    Sunday  9:20 AM
// Website  : http://www.jakerpomperada.com
//            http://www.jakerpomperada.blogspot.com
// Email    : jakerpomperada@gmail.com
// Location : Bacolod City, Negros Occidental, Philippines

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Addition_of_Two_Numbers
{
    class Program
    {
        static void Main(string[] args)
        {

        Console.Write("\n");
        Console.Write("\tAddition of Two Numbers in C#\n\n"); 
        Console.Write("\tGive First Value  :  ");
        int a = Convert.ToInt32(Console.ReadLine());
        Console.Write("\tGive Second Value : ");
        int b = Convert.ToInt32(Console.ReadLine());

        // Perform addition of two numbers 
      int sum = (a+b);
      Console.Write("\n");
      Console.WriteLine("\tThe sum of {0} and {1} is {2}.", a, b, sum);
      Console.Write("\n");
      Console.Write("\tEnd of Program");
      Console.Write("\n");
      Console.ReadKey(); 
        }
    }
}
Categories
Java

Fahrenheit To Celsius in Java

 I will show you how to write a program using the Java programming language to convert temperature from Fahrenheit to Celsius degree.

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.

Program Listing


/**
 * @author Jake Rodriguez Pomperada, MAED-IT, MIT
 * jakerpomperada@gmail.com
 * www.jakerpomperada.com
 * Bacolod City, Negros Occidental
 * September 30, 2020  Wednesday
 */



import java.util.Scanner;
import java.math.RoundingMode;
import java.text.DecimalFormat;


public class Fahrenheit_Celsius {
	
	 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("\t\tFahrenheit To Celsius in Java");
		    System.out.println("\n");

	      	 System.out.print("\tTemperature in Fahrenheit: ");
	        double fahrenheit = input.nextDouble();

	        double  celsius =(( 5 *(fahrenheit - 32.0)) / 9.0);
	        
	        System.out.println("\n");
	        System.out.println("\tThe " + fahrenheit + " Degree Fahrenheit is equal to "
	        + df2.format(celsius) + " in Celsius");
	         System.out.print("\n\n");
			System.out.println("\tEnd of Program");
	        System.out.println("\n\n");
	}

}
Categories
Java

Celsius To Fahrenheit in Java

Write a program using Java programming language to convert temperature from Celsius to Fahrenheit degree.

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.

Program Listing


/**
 * @author Jake Rodriguez Pomperada, MAED-IT, MIT
 * jakerpomperada@gmail.com
 * www.jakerpomperada.com
 * Bacolod City, Negros Occidental
 * September 30, 2020  Wednesday
 */


import java.util.Scanner;
import java.math.RoundingMode;
import java.text.DecimalFormat;

public class Celsius_Fahrenheit {
	
	 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("\t\tCelsius To Fahrenheit in Java");
	    System.out.println("\n");

     	 System.out.print("\tTemperature in Celsius : ");
          double celsius = input.nextDouble();

        /* Convert Celsius to Fahrenheit */
         double Fahrenheit = celsius * (9f / 5) + 32;
        
        System.out.println("\n");
        System.out.println("\tThe " + celsius + " Degree Celsius is equal to "
        + df2.format(Fahrenheit) + " degree in Fahrenheit.");
         System.out.print("\n\n");
		System.out.println("\tEnd of Program");
        System.out.println("\n\n");
	
	}

}
Categories
Java

Difference of Two Integers in Java

 In this article I will show you how write a program that asking the user to give two integer numbers and then the program will compute the difference of the two integer 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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

/* difference.java
 * Author : Jake Rodriguez Pomperada, MAED-IT, MIT
 * September 27, 2020
 * www.jakerpomperada.blogspot.com
 * www.jakerpomperada.com
 * jakerpomperada@gmail.com
 * Bacolod City, Negros Occidental
 */

import java.util.Scanner;

public class difference {

    public static void main(String[] args)
    {
        Scanner in = new Scanner(System.in);
        
        System.out.println("\n");
        System.out.print("\tDifference of Two Integers in Java");
        System.out.println("\n");
        System.out.print("\tGive First Value  : ");
        int firstInt = in.nextInt();
        System.out.print("\tGive Second Value : ");
        int secondInt = in.nextInt();

        System.out.println("\n");
        System.out.printf("\tDifference of two integers: %d%n", firstInt - secondInt);
        System.out.println();
        System.out.println("\tEnd of Program");
        System.out.println("\n");
    }
}
Categories
Go

Product of Two Numbers in Go

 A simple program that I wrote using Go programming language to ask the user to give two numbers and then the program will multiply the values of the two numbers 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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.


Program Listing

/* product.go
   Author   : Mr. Jake Rodriguez Pomperada, MAED-IT, MIT
   Date     : September 22, 2020  10:22 PM 	Tuesday
   Websites : www.jakerpomperada.com  / www.jakerpomperada.blogspot.com
   Emails   : jakerpomperada@gmail.com and jakerpomperada@yahoo.com
   Location : Bacolod City, Negros Occidental Philippines.
*/

package main

import "fmt"

func main() {
	var a, b int
	var product int

	fmt.Printf("\n")
	fmt.Print("\tProduct of Two Numbers")
	fmt.Print("\n\n")
	fmt.Print("\tEnter First Value  : ")
	fmt.Scan(&a)
	fmt.Print("\tEnter Second Value : ")
	fmt.Scan(&b)

	product = (a * b)

	fmt.Printf("\n")
	fmt.Printf("\tThe product of %d and %d is %d.",
		a, b, product)
	fmt.Printf("\n\n")
	fmt.Print("\tEnd of Program")
	fmt.Print("\n\n")
}
Categories
JavaScript

Swapping Two Numbers in JavaScript

I will show you how to write a JavaScript program to ask two numbers and then the program will swap the arrangement of the two 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 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.


Program Listing

<!DOCTYPE html>
<html>
<head>
<script>
function swapping(){
var a,b,c;
a=Number(document.getElementById("first").value);
b=Number(document.getElementById("second").value);
c=a;
a=b;
b=c;
document.getElementById("answer1").value= a;
document.getElementById("answer2").value= b;
}

function clear_all(){
document.getElementById("first").value= "";
document.getElementById("second").value= "";
document.getElementById("answer1").value= "";
document.getElementById("answer2").value= "";
document.getElementById("first").focus();
}
</script>
<style>
	body {
		font-family: arial;
		size : 15px;
	};
</style>
</head>
<body>
<h2> Swapping Two Numbers in JavaScript </h2>
<h3> Before Swapping of Two Numbers </h3>
Give First Value  : <input id="first" 
onkeypress="return event.charCode >= 48 && event.charCode <= 57">
Give Second Value : <input id="second" 
onkeypress="return event.charCode >= 48 && event.charCode <= 57"></br></br>
<button onclick="swapping()">Swap</button>
&nbsp;&nbsp;
<button onclick="clear_all()">Clear</button></br></br>
<h3> After Swapping of Two Numbers </h3>
Give First  Value  : <input id="answer1"
onkeypress="return event.charCode >= 48 && event.charCode <= 57" readonly>
Give Second Value  :  <input id="answer2"
onkeypress="return event.charCode >= 48 && event.charCode <= 57" readonly>
</body>
</html>
Categories
C++

Subject Grade Solver in C++

In this article will show you how to write a program using C++ that will ask the user to give the subject of the student, the prelim, midterm, semifinal, and final grade and then the program will compute the general average grade of the student 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 I also accepting computer repair, networking and Arduino Project development at a very affordable price.

// grade_solver.cpp
// Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
// Date    : September 22, 2020  Tuesday
// Website : http://www.jakerpomperada.blogspot.com
// Email  : jakerpomperada@gmail.com

#include <iostream>
#include <string.h>

using namespace std;

// Prelim = 0.20, Midterm = 0.20, 
// SemiFinal = 0.20, Final = 0.40

int main() 
{
 int prelim=0, midterm=0;
 int semifinal=0,finals=0;
 int solve_grade=0;
 
 char student_name[100];
 char subject[100];

cout <<"\n\n";
 cout <<"\tSubject Grade Solver in C++";
 cout <<"\n\n";
 cout <<"\tStudent Name : ";
 gets(student_name);
 
 cout <<"\tSubject      : ";
 gets(subject);
 cout <<"\n\n";
 cout <<"\tEnter Prelim Grade : ";
 cin >> prelim;
 cout <<"\tEnter Midterm Grade : ";
 cin >> midterm;
 cout <<"\tEnter Semi Final Grade : ";
 cin >> semifinal;
 cout <<"\tEnter Final Grade : ";
 cin >> finals;
 
 solve_grade = (prelim * 0.2) +
               (midterm * 0.2) +
               (semifinal * 0.2) +
               (finals * 0.4);   
 
 cout <<"\n\n";
 cout << "\tStudent : " << student_name;
 cout <<"\n\n";
 cout << "\tSubject : " << subject;
 cout <<"\n\n";
 cout <<"\tYou general average grade is "
     << solve_grade <<".";
 cout <<"\n\n";
 cout <<"\tEnd of the Program";
}
Categories
C++

Area of the Circle in C++

 A simple program to ask the user to give the radius of the circle and then it will compute the area of the circle using the 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 I also accepting computer repair, networking, and Arduino Project development at a very affordable price.
My personal website is http://www.jakerpomperada.com


Program Listing

// C++ program to calculate area of the circle
// Author   : Jake Rodriguez Pomperada, MAED-IT,MIT
// Date     : September 18, 2020
// Email    : jakerpomperada@gmail.com
// Location : Bacolod City, Negros Occidental, Philippines

#include <iostream>
#include <iomanip>

using namespace std;

 int main() {

   float radius=0.00, area_circle=0.00;
  
   cout <<"\n\n"; 
   cout <<"\tArea of the Circle in C++"; 
   cout <<"\n\n"; 
   cout << "\tGive radius of circle: ";
   cin >> radius;

   area_circle = 3.14 * radius * radius;
   
   cout << fixed << showpoint;
   cout << setprecision(2);
   cout <<"\n"; 
   cout << "\tThe Area of the circle is " << area_circle;
   cout <<"\n\n"; 
   cout <<"\tEnd of the Program";
}