Tuesday, December 27, 2022

Odd and Even Number in PHP

Odd and Even Numbers in PHP

 A program to check if the given number is odd or even 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 $num_given=3; if($num_given%2==0) { echo "The given number $num_given is Even Number."; } else { echo "The given number $num_given is Odd Number."; } ?>

Monday, December 26, 2022

Grams To Kilograms in Java

Grams To Kilograms in Java

  A simple program that I wrote using Java programming language that will ask the user to give weight value in grams and then the program will convert it into kilograms 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

/******************************************************************************


Welcome to GDB Online.

GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,

C#, OCaml, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.

Code, Compile, Run and Debug online from anywhere in world.


*******************************************************************************/

import java.util.Scanner;


public class Main

{

public static void main(String[] args) {

double grams;


Scanner in = new Scanner(System.in);


        System.out.println();

System.out.print("Give Grams Value : ");

grams = in.nextDouble();


double kilograms = grams / 1000;

System.out.println();

System.out.println(grams + " Grams is Equal To " + kilograms + " Kilograms");

  } 

}


Sunday, December 25, 2022

Grams To Kilograms in C

Grams To Kilograms in C

 

 A simple program that I wrote using C programming language that will ask the user to give weight value in grams and then the program will convert it into kilograms 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


#include <stdio.h>

/* Author : Jake Rodriguez Pomperada, MAED-IT, MIT *
   Date   : December 25, 2022
   Bacolod City, Negros Occidental Philippines */
   
int main()
{
 float grams=0.00;
 float kilograms=0.00;
 
 printf("\n\n");
 printf("\tGrams To Kilograms in C\n\n");
 printf("\tGive Grams Value : ");
 scanf("%f",&grams);
 
 kilograms = grams/1000;
 
 printf("\n\n");
 printf("\t%5.2f Gram(s) is equivalent to %5.2f  Kilogram(s).",grams,kilograms);
 printf("\n\n");
 printf("\tEnd of Program");
 printf("\n\n");
 system("pause");
}

Grams To Kilograms in C++

Grams To Kilograms in C++

 A simple program that I wrote using C++ programming language that will ask the user to give weight value in grams and then the program will convert it into kilograms 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

 #include <iostream>
#include <iomanip>


using namespace std;

int main()
{
 float grams=0.00;
 
 cout << "\n\n";
 cout <<"\tGrams To Kilograms in C++\n\n";
 cout << "\tGive Grams Value : ";
 cin >> grams;
 
 float kilograms = grams/1000;
 
 cout << "\n\n";
 cout << setprecision(2) << fixed;
 cout <<"\t" << grams <<  " Gram(s) is equivalent to " <<
 kilograms << " Kilogram(s).";
 cout << "\n\n";
 cout << "\tEnd of Program";
 cout << "\n\n";
 system("pause");
}

Addition of Two Numbers Using Flowchart

Saturday, December 24, 2022

Grams To Kilograms in Python

Grams To Kilograms in Python

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


print()
print('\tGrams To Kilograms in Python\n')
grams = float(input("\tGive Grams Value :"))

kilograms = grams / 1000

print()
print("\t%0.2f Gram(s) is equivalent to %0.2f Kilogram(s)." %(grams,kilograms))
print()
print("\tEnd of Program")
print()

Friday, December 23, 2022

US Dollar To Philippine Peso Using Flowchart

US Dollar To Philippine Peso in Rust

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