Friday, July 22, 2022

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");

Thursday, July 14, 2022

Celsius To Fahrenheit in TypeScript

Celsius To Fahrenheit in TypeScript

 Machine Problem

Write a program that will convert the given Celsius value of 100 into Fahrenheit 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

/* celsius_fahrenheit.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 13, 2022  11:00 AM   Wednesday
   Bacolod City, Negros Occidental
*/

var  celsius = 50;

// Converting Fahrenheit To Celsius
 let fahrenheit = celsius * 9/5 + 32


// This code rouding off decimal grades
let round_result = fahrenheit.toFixed(2);

console.log();
console.log("Celsius To Fahrenheit in TypeScript\n");
console.log(celsius + "\xB0C is equal to " + round_result + "\xB0F.\n");
console.log("End of Program\n");

Wednesday, July 13, 2022

Average Grade Solver in TypeScript

Average Grade Solver in TypeScript

 Machine Problem

Write a program to compute the average grade of the following grades 87,76,94,85 and 81 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


/* average_grade.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 13, 2022  5:57 AM   Wednesday
   Bacolod City, Negros Occidental
*/

// Solving average grade

var average_grade = (87+76+94+85+81)/5;

// This code rouding off decimal grades
let round_result = average_grade.toFixed(0);

console.log();
console.log("Average Grade Solver in TypeScript\n");
console.log("The average grade of 87,76,94,85 and 81 is " + round_result + ".\n");
console.log("End of Program\n");