Wednesday, November 23, 2022

Gallons To Liters in TypeScript

Gallons To Liters in TypeScript

 Machine Problem

Write a program that will convert the given gallon value of 7.3 into liters equivalent and display the result 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

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


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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


/* gallons_liters.ts

   Jake Rodriguez Pomperada, MAED-IT, MIT

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

   jakerpomperada@gmail.com

   July 19, 2022 2:46 PM Tuesday

   Bacolod City, Negros Occidental

*/

var gallons = 7.3;

// Converting to liters

var liters=3.7854*gallons;


// Two decimal places here

var two_decimal = liters.toFixed(2);


console.log();

console.log("Gallons To Liters in TypeScript\n");

console.log(gallons + " gallon(s) the liters(s) equvalent is " + two_decimal + " liters(s).\n");

console.log("End of Program\n");




Insert Asterisk at the Middle of the String in C++

Insert Asterisk at the Middle of the String in C++

 Machine Problem

Write a program that inserts the characters “*****” in the exact middle of a string.

 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

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


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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

#include<iostream> #include<string> using namespace std; int main(){ string str_given; int a=0; cout <<"\n\n"; cout <<"\tInsert Asterisk at the Middle of the String in C++\n\n"; cout<<"\tGive a String : "; getline(cin, str_given); a = str_given.length() / 2; str_given.insert(a, "*****"); cout << "\n\n"; cout << "\t"<<str_given; cout << "\n\n"; cout <<"\tEnd of Program"; cout << "\n\n"; }

Tuesday, November 22, 2022

Odd Numbers Between 1 To 20 in PHP

Odd Numbers Between 1 To 20 in PHP

A simple program to display the odd numbers between 1 to 20 using PHP 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

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


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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


<?php
echo "<h3>Odd Numbers Between 1 To 20 in PHP</h3>";
for ($x=1; $x<=20; $x++)
{
    if( $x%2!=0)
    {
    echo $x.", ";
    }

}

Display Text in PHP

Display Text in PHP

 A simple to display text using PHP 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

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


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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

<?php $title = "PHP Programming for the Web"; echo "<hr>"; print("<center>$title </center>"); echo "<hr>"; ?>

Sum, Difference, and Product in PHP

Sum, Difference, and Product in PHP

 A program to compute the sum, difference, and product of two numbers in PHP 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

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


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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


<?php


$a=5;

$b=3;


$sum = ($a+$b);


$difference = ($a-$b);


$product = ($a*$b);


echo "<h3>Sum, Difference and Product in PHP </h3>";

echo "The sum between $a and $b is $sum. <br>";

echo "The difference between $a and $b is $difference. <br>";

echo "The product between $a and $b is $product. <br>";

?>



Philippine Peso To US Dollar in C++

Monday, November 21, 2022

Philippine Peso To US Dollar in C++

A simple program to ask the user to give Philippine Peso value and convert it into to US Dollars 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

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


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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

#include <iostream>

#include <iomanip>


using namespace std;


#define US_DOLLAR  0.017441


int main() {

double ph_peso=0.00;

double solve=0.00;

cout <<"\n\n";

cout <<"\tPhilippine Peso To US Dollar in C++\n\n";

cout << "\tGive Philippine Peso : ";

cin >> ph_peso;

solve = (ph_peso * US_DOLLAR);

cout <<"\n\n";

cout << setprecision(2) << fixed 

<<"\tThe US Dollar Value : $ "<< solve;

cout <<"\n\n";

cout <<"\tEnd of Program";

cout <<"\n\n";

}


Grams To Kilograms in TypeScript

Grams To Kilograms in TypeScript

 Machine Problem

Write a program that will convert the given grams 30 into kilograms equivalent and display the results on the screen using TypeScript 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

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


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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

/* grams_kilograms.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 19, 2022 8:17 AM Tuesday
   Bacolod City, Negros Occidental
*/

var grams = 30;

// Converting to kilograms

let kilograms = (grams/1000);

let two_decimal = kilograms.toFixed(2);

console.log();
console.log("Grams To Kilograms in TypeScript\n");
console.log(grams + " grams(s) the kilogram(s) equvalent is " + two_decimal + " kilogram(s).\n");
console.log("End of Program\n");

Sunday, November 20, 2022

Subtract Two Numbers in PHP

Subtract Two Numbers in PHP

 A simple program to subtract two given numbers in PHP 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

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


You can buy my C++ book online at  


https://www.mindshaperspublishing.com/product/beginners-guide-to-c-programming/


You can buy my book in introduction to computer networking at 

https://www.unlimitedbooksph.com/product-page/introduction-to-computer-networking


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

<?php  

$x=8;  

$y=2;  


$subtract=$x-$y;  


echo "The Difference: ",$subtract;  

?>