Monday, July 25, 2022

Greet a Stranger in Java

Greet a Stranger in Java

 A simple program that I wrote in Java that will ask the persons name, and age then the program will greet the person which is a stranger.

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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

import java.util.Scanner;  


public class Greet {

public static void main(String [] args) {


Scanner input = new Scanner(System.in);  // Create a Scanner object


String my_name, greeting, myAge;


greeting = "Hello ";


System.out.println();

    System.out.print("Greet a Stranger in Java\n");

// Your input name, via terminal

    System.out.println();

System.out.print("Please introduce your name : ");

my_name = input.nextLine();


// Your input age

System.out.print("Please introduce your age  : ");

myAge = input.nextLine();


// Concatenation

// Output

System.out.println();

System.out.println(greeting + my_name + "! \nYour age is " + myAge+" years old.");

input.close();

}

}


Sunday, July 24, 2022

String Copy in Java

String Copy in Java

 A simple program to demonstrate how perform string copy 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing


public class Test {


public static void main(String[] args) {

// TODO Auto-generated method stub

   System.out.println("String in Copy in Java\n");

String s = "Copy a String in Java";

        String copy = new String(s);

        System.out.println(copy);

     System.out.println();

     System.out.print("End of Progam");

     System.out.println();


}


}


How To Push a File in the Repository Using Git

How To Commit A File in Git

Friday, July 22, 2022

Pounds To Kilograms in TypeScript

Pounds To Kilograms in TypeScript

 Machine Problem

Write a program to solve the given pounds value 5.73 into kilograms equivalent 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 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.






Program Listing

/* pounds_kilograms.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 12, 2022   9:58 PM   Tuesday
   Bacolod City, Negros Occidental
*/

var pounds = 5.73;

// conversion factor
const factor = 0.453592;

// calculate kilograms
const kilograms = pounds * factor
let round_result = Math.round(kilograms*100)/100;

console.log();
console.log("Pounds To Kilograms in TypeScript\n");
console.log(pounds + " pounds is equal to " + round_result + " kilograms.\n");
console.log("End of Program\n");






Thursday, July 21, 2022

Kilometers To Miles in TypeScript

Kilometers To Miles in TypeScript

 Machine Problem

Write a program to solve the given kilometer distance value of 8.23  into miles equivalent 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 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing


/* kilometers_miles.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 11, 2022   10:26 PM   Monday
   Bacolod City, Negros Occidental
*/


 var kilometers = 8.23;

// conversion factor
const factor = 0.621371

// calculate miles
const miles = kilometers * factor
let round_result = Math.round(miles*100)/100;

console.log();
console.log("Kilometers To Miles in TypeScript\n");
console.log(kilometers + " kilometers is equal to " + round_result + " miles.\n");
console.log("End of Program\n");






Tuesday, July 19, 2022

Pounds To Grams in C

Pounds To Grams in C

 A simple program to ask the user to give value in pounds and convert it into grams equivalent 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 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

/* pounds_grams.c

   Jake Rodriguez Pomperada, MAED-IT, MIT

   www.jakerpomperada.com and www.jakerpomperada.blogspot.com

   jakerpomperada@gmail.com

   July 19, 2022   9:10 PM   Tuesday

   Bacolod City, Negros Occidental Philippines

*/


#include <stdio.h>



int main() {


   float pounds=0.00,grams=0.00;

  

    printf("\n\n");

    printf("\tPounds To Grams in C  ");

    printf("\n\n");

    printf("\tEnter Weight in Pounds  : ");

scanf("%f",&pounds);

    

    grams = (pounds*453.592);

    

    printf("\n\n");

    printf("\t%5.3f Pound(s)  is equal to %5.3f Gram(s)\n",pounds,grams);

    printf("\n");

    printf("\tEnd of Program");

    printf("\n");

}

Monday, July 18, 2022

Area of the Circle in TypeScript

Area of the Circle in TypeScript

 Machine Problem

Write a program to solve the area of the circle if the given radius is 5 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 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

/* area_circle.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 11, 2022   9:31 PM   Monday
   Bacolod City, Negros Occidental
*/
var radius = 5;

let area = Math.PI * (radius * radius);
let round_result = Math.round(area*100)/100;

console.log();
console.log("Area of the Circle in TypeScript\n");
console.log("The given radius : " + radius + "\n");
console.log("The area of the circle : "+ round_result  + "\n");
console.log("End of Program\n");

Sunday, July 17, 2022

Temperature Converter in C++

Temperature Converter in C++

 A temperature converter that I wrote using C++ programming language which convert celsius to fahrenheit and fahrenheit to celsius.

 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

/*

temp.cpp

Jake Rodriguez Pomperada,MAED-IT, MIT

www.jakerpomperada.com and www.jakerpomperada.blogspot.com

jakerpomperada@gmail.com

Bacolod City, Negros Occidental Philippines

*/


#include <iostream>

#include <iomanip>

#include <conio.h>


using namespace std;


int main()

{


int choice=0;

double temp=0, convert_temp=0;


cout <<"\n";

cout << "\tMAIN MENU\n";

cout << "\n [1] Fahrenheit To Celsius";

cout << "\n [2] Celsius To Fahrenheit";

cout << "\n\nEnter Your Choice : ";

cin >> choice;


if(choice == 1)

{

  cout << "\nGive Temperature in Fahrenheit : ";

  cin >> temp;

  convert_temp= (temp-32) / 1.8;

  cout << fixed << setprecision(2);

  cout << "\nThe Temperature in Celsius : " << convert_temp;

  }

  else

  {

  cout << "\nGive Temperature in Celsius : ";

  cin >> temp;

  convert_temp = (1.8 * temp) + 32;

   cout << fixed << setprecision(2);

  cout << "\nThe Temperature in Fahrenheit " << convert_temp;

  }

  cout <<"\n\n";

  cout << "\tEnd of Program";

  cout <<"\n\n";

  getch();

}



Saturday, July 16, 2022

Product and Difference of Two Numbers in TypeScript

Product and Difference of Two Numbers in TypeScript

 Machine Problem

Write a program to solve the product and difference of 100 and 5 and display  the results on 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.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada


09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

/* product_difference.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 11, 2022   9:01 PM   Monday
   Bacolod City, Negros Occidental
*/

var a=100; var b=10;

var product = (a*b);
var difference = (a-b);
   
console.log();
console.log("Product and Difference of Two Numbers in TypeScript.\n");
console.log("The product of " + a + " and " + b + " is "  + product + ".\n");
console.log("The difference between " + a + " and " + b + " is "  + difference + ".\n");
console.log("\tEnd of Program\n");