Friday, December 23, 2022

US Dollar To Philippine Peso in Rust

 A simple program to convert $100 US Dollar to Philippine Peso using Rust 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

// us_peso.rs
// December 23, 2022 Friday

fn main()
{

    let us_dollar = 100.00;
        
    let phil_peso = us_dollar * 55.20;

    let display_us = format!("{:.2}"us_dollar);

    let display_peso = format!("{:.2}"phil_peso);
    
    println!("\n\tThe $ {} US Dollar is equal to PHP {} Philippine Peso.\n",display_us,display_peso);
}

Thursday, December 22, 2022

Addition of Three Numbers Using Rust

Addition of Three Numbers in Rust

 A simple program to add the sum of the three numbers using Rust 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


fn main()
{
    let a = 10;
    let b = 20;
    let c = 30;

    let sum = a + b + c;

    println!("Sum of {0}, {1}, and {2} is {3}.", a, b,c, sum);
}

Monday, December 19, 2022

Odd and Even Number Using Pointers in C

Odd and Even Number Using Pointers in C

 A program that will ask the user to give a number and then the problem will check if the given number is an odd or even number using pointers in 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 <stdio.h>


int main()

{

  int num_val=0, result=0;

  int *p_num;

  p_num= &num_val;

  

  printf("\n\n");

  printf("\tOdd and Even Number Using Pointers in C");

  printf("\n\n");

  printf("\tGive a Number : ");

  scanf("%d",p_num); 

  result = *p_num % 2;

  

    printf("\n\n");

  if(result==0)

    printf("\tThe given number %d is even number.\n", *p_num);

  else

    printf("\tThe give number %d is odd number.\n", *p_num);

    

  printf("\n\n");

  printf("\tEnd of Program");

  printf("\n\n");

  return 0;

}

Friday, December 16, 2022

Discount Solver in TypeScript

Discount Solver in TypeScript

 Machine Problem

Write a program to calculates the discount amount and the discounted rate for which you get the product for sale.

The product price 145.45 and the discount percentage 5% and display the  results on the screen.


Formula to compute the discount amount of the product


discount_amount = (discount_percentage * price)/100;


Formula to compute the discount price of the product


discounted_price = (price_discount_amount);


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

/* discount.ts
   Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.com and www.jakerpomperada.blogspot.com
   jakerpomperada@gmail.com
   July 19, 2022 6:20 PM  Tuesday
   Bacolod City, Negros Occidental
*/

var product_price =  145.45;
var discount_percentage = 5;

// Solving for Discount Amount of the Product
var discount_amount = (discount_percentage*product_price)/100;

// Solving for Discounted Price of the Product
var discounted_price = (product_price-discount_amount);

// Two decimal places for Discount Amount
discount_amount = Math.floor(discount_amount*100)/100;

discounted_price = Math.floor(discounted_price*100)/100;
     
console.log();
console.log("Discount Solver in TypeScript\n");
console.log("Product Price     : PHP " + product_price.toFixed(2));
console.log("Product Discount  : " + discount_percentage + "%\n");
console.log("Discount Amount   : PHP " + discount_amount);
console.log("Discount Price    : PHP " + discounted_price + "\n");
console.log("End of Program\n");


Thursday, December 15, 2022

Grams To Kilograms Using Function in C++

Grams To Kilograms Using Function in C++

 A program to ask the user to give weight value in grams and then it will convert into kilograms using functions in 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>

float convert(float grams)
{
    return(grams/1000);
}

int main() {

    float grams;

    std::cout << "\n\n";
    std::cout << "\tGrams To Kilograms Using Function in C++\n\n";
    std::cout << "\tGive value in Grams : ";
    std::cin >> grams;
    float kilograms = convert(grams);
    std::cout << "\n\n";
    std::cout <<"\t" << grams << " Grams is equal to ";
    std::cout  << kilograms << " Kilograms";
    std::cout << "\n\n";
    std::cout << "\tEnd of Program";
    std::cout << "\n\n";
}

Wednesday, December 14, 2022

Ohm's Law Voltage Solver in TypeScript

Ohm's Law Voltage Solver in TypeScript

 Machine Problem

Write a program that uses Ohm's law to find the voltage of the circuit with given current 4 ampere and the resistance of 20 ohms 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

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


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

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.

Tuesday, December 13, 2022

Multiply Two Numbers Using Function in C++

Multiply Two Numbers Using Functions in C++

 A program to teach you how to declare a function to multiply two given 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 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>


using namespace std;



int multiply(int a, int b)

{

return(a*b);

}


int main(){

cout <<"\n\n";

cout <<"\t" << multiply(8,7);

}