Wednesday, November 16, 2022

Assignment Operators in TypeScript

 A simple program to show how to declare and use assignment operators in 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

let x: number = 20;

x += 10;

console.log("\n");
console.log("\tAssignment Operators in TypeScript\n");

console.log("\tAdd Assignment: ", x);

x %= 7;

console.log("\tModulo Assignment: ", x);

x *= 10;

console.log("\tMultiply Assignment: ", x);

x /= 10;

console.log("\tDivision Assignment: ", x);

x -= 10;

console.log("\tSubtract Assignment: ", x);

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

Finding the Smallest Number Using Function in C++

Finding the Smallest Number Using Function in C++

 A program to ask the user to give two numbers and then the program will check which of the two numbers is the smallest numerical value 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 smallest_of_two(int val1, int val2) { return (val1 < val2) ? val1 : val2; } int main() { int val1, val2; cout <<"\n\n"; cout << "\tFinding the Smallest Number Using Function in C++"; cout <<"\n\n"; cout << "\tGive Two Numbers : "; cin >> val1 >> val2; int smallest = smallest_of_two(val1, val2); cout <<"\n\n"; cout << "\tThe Smallest Number Between two Numbers is " << smallest <<"."; cout <<"\n\n"; cout << "\tEnd of Program"; cout <<"\n\n"; }

Tuesday, November 15, 2022

Relational Operators in TypeScript

Relational Operators in TypeScript

  A program to demonstrate how to perform relational operators 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


let x = 500, y = 400;

console.log("\n");
console.log("\tRelational Operators in TypeScript\n");

if (x == y) {

    console.log('\tBoth are equal');

}

if (x != y) {

    console.log('\tBoth are not equal');

}

if (x > y) {

    console.log('\tx is greater than y');

}

if (x < y) {

    console.log('\tx is less than y');

}

if (x >= y) {

    console.log('\tx is greater than or equal to y');

}

if (x <= y) {

    console.log('\tx is less than or equal to y');

}


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

Arithmetic Operators in TypeScript

Monday, November 14, 2022

Arithmetic Operators in TypeScript

 A program to demonstrate how to perform arithmetic operators 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

let x: number = 200;   let y: number = 20;

console.log("\n");
console.log("\tArithmetic Operators in TypeScript\n");

console.log('\tAddition       : ', x + y);

console.log('\tSubstraction   : ', x - y);

console.log('\tMultiplcation  : ', x * y);

console.log('\tDivision       : ', x / y);

console.log('\tModulo         : ', x % y,'\n');

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

Addition of Three Numbers in TypeScript

Addition of Three Numbers in TypeScript

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


/* adddition.ts

   Jake Rodriguez Pomperada, MAED-IT, MIT

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

   jakerpomperada@gmail.com

   November 13, 2022   12:09 PM   Sunday

   Bacolod City, Negros Occidental

*/


var a=20; var b=5; var c=10;


var sum = (a+b+c);


console.log("\n");

console.log("\tAddition of Three Numbers in TypeScript\n");

console.log(`\tThe sum of ${a}, ${b}, and ${c} is ${sum} \n`);

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


Sunday, November 13, 2022

Kilograms To Pounds Using Scala

Kilograms To Pounds Using Scala

 Machine Problem

Write a program to ask the user to give weight in kilograms, and then it will convert it into pounds weight equivalent.

 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


/* Kilograms_Pounds.scala

   Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

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

   jakerpomperada@gmail.com

   November 16, 2021  7:35 PM Tuesday

   Bacolod City, Negros Occidental

 */



import java.util.Scanner;


object Kilograms_Pounds {


  def main(args: Array[String]) : Unit = {


    var input = new Scanner(System.in);


    print("\n\n");

    print("\tKilograms To Pounds Using Scala");

    print("\n\n");

    print("\tEnter Weight in Kilograms : ");

    var kilograms = input.nextDouble();


    var  pounds_value =  (kilograms * 2.20462262185);


    print("\n");

    print("\t===== DISPLAY RESULTS =====");

    print("\n\n");

    print("\t" + kilograms + " kilogram(s) is" + f"$pounds_value%5.2f" + " pound(s).");

    print("\n\n");

    print("\tEND OF PROGRAM");

    print("\n\n");

  }

}




Saturday, November 12, 2022

Sum of Two Numbers in Pascal

Sum of Two Numbers in Pascal

 A simple program to ask the user to give two numbers and then the program will compute the sum of two numbers using Pascal 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

program Add; var val1,val2 : integer; Sum: integer; begin write('Enter two numbers :'); readln(val1,val2); Sum := val1 + val2; writeln; writeln('The sum of ',val1, ' and ',val2,' is ', sum,'.'); readln; end.

Friday, November 11, 2022

Philippine Peso To US Dollar in Python

Philippine Peso To US Dollar in Python

 A simple program to convert to given Philippine Peso value into US Dollar 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("\tPhilippine Peso To US Dollar in Python")
print()
phil_peso = float(input('Enter Philippine Peso Value : '))

us_dollar = phil_peso * 0.0174476

print()
print("PHP %0.2f Philippine Peso\'s is equivalent to $ %0.2f US Dollar\'s" %(phil_peso,us_dollar))
print()
print("\tEnd of Program")
print()

Greet Person Using ng-init in AngularJS