Tuesday, October 13, 2020

Swapping of Two Numbers in Java

 I wrote this Java program to ask the user to give two numbers and then the program will swap the arrangement of two numbers given by the user 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


import java.util.Scanner;


/**

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

 * jakerpomperada@gmail.com

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

 * Bacolod City, Negros Occidental

 * October 13, 2020   Tuesday

 */


public class Swapping_Numbers {


public static void main(String[] args) {

// TODO Auto-generated method stub

Scanner input = new Scanner(System.in);


      int temp=0;

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

     System.out.print("\t\tSwapping of Two Numbers in Java");

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

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

          

         int a = input.nextInt();

       

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

         

         int b = input.nextInt();

       

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

          

       System.out.println("\tValues Before Swapping : a, b = "+a+", "+ + b);

      

       // Perform Swapping Here

       temp = a;

       a = b;

       b = temp;   

       

       System.out.println();

      System.out.println("\tValues After Swapping : a, b = "+a+", "+ + b);

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

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

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


}


}


Positive and Negative Number Checker in Java

Positive and Negative Number Checker in Java

 A simple program that I wrote using Java to ask the user to give a number and then the program will determine whether the given number is zero, positive, and negative 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


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

import java.util.Scanner;

public class Positive_Negative_Numbers {

/**
* @param args
*/
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\tPositive and Negative Number Checker in Java");
System.out.println("\n");
         System.out.print("\tGive a Number :  ");
              
        int num_val = input.nextInt();
        

        System.out.println();
        if (num_val > 0)
        {
           System.out.println("\tThe given number " + num_val + " is positive.");
        }
        else if (num_val < 0)
        {
           System.out.println("\tThe given number " + num_val + " is negative.");
        }
        else
        {
           System.out.println("\tThe given number " + num_val + " is zero.");
        }
        System.out.print("\n");
    System.out.println("\tEnd of Program");
        System.out.println("\n\n");
}

}


Monday, October 12, 2020

Leap Year Checker in Java

Leap Year Checker in Java

 I will show you how to write a Java program that takes a year from the user and print whether that year is a leap year or not.

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
 * October 12, 2020   Monday
 */


import java.util.Scanner;

public final class Leap_Year_Checker {

public static void main(String[] args) {
Scanner input = new Scanner(System.in);

    System.out.println("\n");
     System.out.print("\t\tLeap Year Checker in Java");
System.out.println("\n");
         System.out.print("\tGive a Year :  ");
               
         int year = input.nextInt();

        boolean x = (year % 4) == 0;
        boolean y = (year % 100) != 0;
        boolean z = ((year % 100 == 0) && (year % 400 == 0));
        
        System.out.print("\n\n");
   
        if (x && (y || z))
        {
         System.out.println("\tThe give year is " + year + " is a leap year.");
        }
        else
        {
        System.out.println("\tThe give year is " + year + " is not a leap year.");
        }
        System.out.print("\n\n");
    System.out.println("\tEnd of Program");
        System.out.println("\n\n");
}

}

Sunday, October 11, 2020

Volume of a Sphere in C++

 

Write a program to calculate the volume of a sphere. Then display the result. Use the following formula: V=4/3 π r3.

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

// volume_sphere.cpp
// Author   : Jake Rodgriguez Pomperada,MAED-IT,MIT
// Date     : October 11, 2020  Sunday
// Website  : www.jakerpomperada.blogspot.com / www.jakerpomperada.com
// Email    : jakerpomperada@gmail.com
// Location : Bacolod City, Negros Occidental Philippines

#include <iostream>
#include <cmath>

const double Pi = 3.14;

int main()
{
    double radius=0.00;

    std::cout << "\n\n";
    std::cout << "\tVolume of a Sphere in C++";
    std::cout << "\n\n";
    std::cout << "\tEnter radius: ";
    std::cin >> radius;
    std::cout << "\n\n";
    std::cout << "\tVolume: " << 4 /3 * Pi * std::pow(radius, 3) << '\n';
    std::cout << "\n\n";
    std::cout << "\tEnd of Program";
}

Saturday, October 10, 2020

Odd and Even Numbers in Visual FoxPro

Odd and Even Number in Visual FoxPro Version 2

 A simple program that I wrote using Microsoft Visual Foxpro to ask the user to give a number and then the program will check and determine where 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 City I also accepting computer repair, networking and Arduino Project development at a very affordable price.

Program Listing

* Ok Button
txtvalue =  VAL(thisform.txtnum.value)
Remainder =  (txtvalue % 2)

if (Remainder = 0) then

thisform.label2.caption = "The given number " + ltrim(str(txtvalue)) + " is an even number."
thisform.txtnum.setfocus
ELSE
thisform.label2.caption = "The given number " + LTRIM(str(txtvalue)) + " is an odd number."
thisform.txtnum.setfocus
endif   


* Clear Button
thisform.label2.Caption = ""
thisform.txtnum.value=""
thisform.txtnum.setfocus


* Quit Button
Thisform.Release


Friday, October 9, 2020

Fahrenheit To Celsius Converter in Visual FoxPro

Fahrenheit To Celsius Converter in Visual FoxPro

Leap Year Checker in Visual Basic NET

Leap Year Checker in Visual Basic NET

 A simple program that I wrote using Microsoft Visual Basic NET that will ask the user to give a year and then the program will check if 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

' Author : Jake Rodriguez Pomperada,MAED-IT, MIT
' Visual Basic NET
' jakerpomperada@gmail.com
' Bacolod City, Negros Occidental Philippines
' www.jakepomperada.com / www.jakerpomperada.blogspot.com

Public Class Form1

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

        y = Val(TextBox1.Text)
        If y Mod 100 = 0 Then
            If y Mod 400 = 0 Then
                Label2.Text = "The given year " & y & " is a Leap year."
            Else
                Label2.Text = "The given year " & y & " Not is a Leap year."

            End If
        Else
            If y Mod 4 = 0 Then
                Label2.Text = "The given year " & y & " is a Leap year."
            Else
                Label2.Text = "The given year " & y & " Not is a Leap year."
            End If
        End If
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        TextBox1.Text = ""
        Label2.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

Higher order systems

Leap Year Checker in C++

Leap Year Checker in C++

 A program that I wrote using C++ to ask the user to give a year and then the program will check if 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.cpp
 * Author  : Mr. Jake Rodriguez Pomperada,MAED-IT,MIT
 * Date    : October 9, 2020   Friday
 * Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com
 * Email   : jakerpomperada@gmail.com
 * Place   : Bacolod City, Negros Occidental Philippines
 */

#include <iostream>

using namespace std;

int main(void)
{
    int year=0;

    cout<<"\n\n";
    cout <<"\tLeap Year Checker in C++";
cout <<"\n\n";
cout <<"\tGiven a year : ";
    cin >>year;
    cout << "\n\n";
    if ((year % 400) == 0)
        cout <<"\tThe given year " << year << " is a leap year. \n";
    else if ((year % 100) == 0)
        cout <<"\tThe given year " << year << " is a not leap year. \n";
    else if ((year % 4) == 0)
        cout <<"\tThe given year " << year << " is a leap year. \n";
    else
        cout <<"\tThe given year " << year << " is a not leap year. \n";
    cout <<"\n\n";
    cout <<"\tEnd of Program";
    cout <<"\n\n";
} // End of Program



Memories of my Journey as Software Engineer Team Lead in Manila

US Dollar To Philippine Peso Converter in C++

US Dollar To Philippine Peso Converter

 

Write a program to convert the US Dollar ($) into Philippine Peso. Assume that one  US Dollar is equivalent to 50.74 Pesos. Then display the result on the screen Using C++ language.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me 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

// us_peso.cpp
// Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
// Date    : October 9, 2020   Friday  6:25 AM
// Website : www.jakerpomperada.com / www.jakerpomperada.blogspot.com
// Email   : jakerpomperada@gmail.com
// Place   : Bacolod City, Negros Occidental Philippines

#include <iostream>
#include <iomanip>

const double Dollar2Peso = 50.74;

int main()
{
    double amount=0.00;
    std::cout << "\n\n";
    std::cout << "\tUS Dollar To Philippine Peso Converter";
    std::cout << "\n\n";
    std::cout << "\tEnter amount in $ US Dollar : ";
    std::cin >> amount;
    std::cout << std::setprecision(2);
    std::cout << std::fixed;
    std::cout << "\n";
    std::cout << "\tAmount in Philippines Peso: "
              << amount * Dollar2Peso << '\n';
    std::cout << "\n";
    std::cout << "\tEnd of Program";
    std::cout << "\n\n";
}


Thursday, October 8, 2020

GURO NA NAWALAN NG 1 PAA, TINABLA NG GSIS SA DISABILITY BENEFITS. DAPAT ...

Leap Year Checker in 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;
    int reply=0;
    
   do {
    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");
}
        
        


Leap Year Checker in Pascal

Leap Year Checker in Pascal

 A simple program that I wrote using FreePascal as my compiler to ask the user to give a year and then the program will check if the given year is a leap year or not.

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.pas
   Author   : Jake Rodriguez Pomperada, MAED-IT, MIT
   Date     : October 8, 2020  Thursday
   Website  : www.jakerpomperada.com  / www.jakerpomperada.blogspot
   Email    : jakerpomperada@gmail.com
   Location : Bacolod City, Negros Occidental  *)


Program Leap_Year;
Uses Crt, sysutils;

Var nYear : integer;


Begin
  Clrscr;
  writeln;
  writeln('   Leap Year Checker in Pascal      ');
  writeln('           Created  By               ');
  Writeln(' Jake Rodriguez Pomperada,MAED-IT, MIT');
  Writeln;
  Writeln;
  write('Give a Year : ');
  readln(nYear);
  Writeln;

   if IsLeapYear(nYear) = true then
   Begin
     Writeln;
     Write('The given year ' ,nYear, ' is a Leap Year.');
   End
   else
     Begin
     Writeln;
     Writeln('The given year ' ,nYear,' not a Leap Year.');
   End;
   writeln; Writeln;
   write('End of Program');
   Readln;
  End.


Wednesday, October 7, 2020

GYM DAY! UFC Singapore

Even and Odd Number Checker in 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";
}

MYPRO POWER BANK Unboxing Video