Friday, November 11, 2022

Kilograms To Grams in TypeScript

 Machine Problem

Write a program that will convert the given kilograms 12.63 into grams 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

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


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_grams.ts Jake Rodriguez Pomperada, MAED-IT, MIT www.jakerpomperada.com and www.jakerpomperada.blogspot.com jakerpomperada@gmail.com July 19, 2022 8:11 AM Tuesday Bacolod City, Negros Occidental */ var kilograms = 12.63; // Converting to grams let grams = (kilograms * 1000); let two_decimal = grams.toFixed(2); console.log(); console.log("Kilograms To Grams in TypeScript\n"); console.log(kilograms + " kilogram(s) the gram(s) equvalent is " + two_decimal + " grams(s).\n"); console.log("End of Program\n");

Thursday, November 10, 2022

Important Features of C++

Subtract and Divide Two Numbers in C

Subtract and Divide Two Numbers in C

 A simple program to ask the user two numbers and then the program will  subtract and divide the two numbers and display the results on the screen 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 <stdio.h>


int main()

{

  int x=0, y=0, subtract=0, divide=0;


  printf("\n\n");

  printf("\tSubtract and Divide Two Numbers in C");

  printf("\n\n");

  printf("\tGive Two Numbers : ");

  scanf("%d%d", &x, &y);


  subtract = (x - y);

  divide  = (x/y);


  printf("\n\n");

  printf("\tThe difference between %d and %d is %d.\n\n",x,y,subtract);

  printf("\tThe quotient between %d and %d is %d.\n",x,y,divide);

  printf("\n\n");

  printf("\tEnd of Program");

  printf("\n\n");

  return 0;

}

Wednesday, November 9, 2022

My Favorite Colors Using ng-repeat in AngularJS

My Favorite Colors Using ng-repeat in AngularJS

 A simple program to display my favorite colors using ng-repeat using AngularJS.

 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

<!-- index.htm

  Author   : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT

  Date     : October 13, 2021    3:13 PM   Wednesday

  Place    : Bacolod City, Negros Occidental

  Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com

  Email    : jakerpomperada@gmail.com

 -->

<html>

<head>

  <title>My Favorite Colors Using ng-repeat in AngularJS</title>

</head>

<style>

body {

  font-family: arial;

  font-size: 25px;

  font-weight: bold;

}

</style>

<script type="text/javascript" src="angular.min.js">

</script>

<body ng-app="">

<h3>My Favorite Colors Using ng-repeat in AngularJS</h3>

<div ng-app="" ng-init = "ColorName = ['LightGreen', 'Red', 'Green', 'Blue', 'Gold', 'White', 'Yellow', 'LigthBlue']"> <p style="color:red; font- weight:bold">List of My Favorite Colors</p> <ol>

<li ng-repeat ="y in ColorName"> <p ng-bind="y"></p> </li>

</ol>

</body>

</html>


Tuesday, November 8, 2022

Subtract and Divide of Two Numbers in C++

Subtract and Divide of Two Numbers in C++

A simple program to ask the user to give two  numbers and then the program will subtract and divide two numbers given by the user and display the results on the screen 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 main() { int val1=0, val2=0, display=0; cout <<"\n\n"; cout << "\tSubtract and Divide of Two Numbers in C++"; cout <<"\n\n"; cout<<"\tGive Two Numbers: "; cin>>val1>>val2; display = val1-val2; cout <<"\n\n"; cout<<"\tDifference : "<<display<<"\n\n"; display = val1/val2; cout<<"\tQuotient : "<<display<<"\n"; cout <<"\n\n"; cout <<"\tEnd of Program"; cout <<"\n"; return 0; }

Monday, November 7, 2022

What is a Computer?

What is the Oldest High Level Programming Language in the World?

Sorting of Names Using ng-repeat in AngularJS

Sorting of Names Using ng-repeat in AngularJS

 Machine Problem

Write a program that uses ng-repeat directive that will display the list of names of the persons in ascending, and descending order.

Use the following information below.


Name                              Age


Jacob Samuel Pomperada            18

Gracin Pepito                     19

Gelia Pepito                      26

Julianna Rae Pomperada            17

Gavin Pepito                      13


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

index.htm

<!-- index.htm Author : Prof. Jake Rodriguez Pomperada, MAED-IT, MIT Date : July 30, 2021 Friday 10:33 PM Place : Bacolod City, Negros Occidental Websites : www.jakerpomperada.com and www.jakerpomperada.blogspot.com Email : jakerpomperada@gmail.com --> <html> <head> <title>Sorting of Names Using ng-repeat in AngularJS</title> </head> <style> body { font-family: arial; font-size: 22px; font-weight: bold; } </style> <script type="text/javascript" src="angular.min.js"> </script> <script> var app = angular.module("AngularOrderByApp", []); app.controller("orderbyctrl", function ($scope) { $scope.users = [ {name: "Jacob Samuel Pomperada", age: 18 }, {name: "Gracin Pepito",age: 19}, {name: "Gelia Pepito",age: 26}, {name: "Julianna Rae Pomperada",age: 17}, {name: "Gavin Pepito",age: 13} ]; }); </script> </head> <br> <h3>Sorting of Names Using ng-repeat in AngularJS</h3> <body ng-app="AngularOrderByApp"> <div ng-controller="orderbyctrl"> <p>OrderBy Name in Ascending Order</p> <ul ng-repeat="user in users | orderBy : 'name'"> <li>{{user.name}}</li> </ul><br> <p>OrderBy Name in Descending Order</p> <ul ng-repeat="user in users | orderBy : 'name' : true"> <li>{{user.name}}</li> </ul> </div> </body> </html>

Saturday, November 5, 2022

Checking Vowels in JavaScript

Checking Vowels in JavaScript

 A simple program that I wrote to check if the given character is a vowel or not in JavaScript 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

var ch='i'; let result = ch.toUpperCase(); if (result=='A' || result=='E' || result=='I' || result=='O' || result=='U') console.log(`${result} is a vowel.`) else console.log(`${result} is not a vowel.`)

Never Stop Learning Sa Computer Programming

Friday, November 4, 2022

Student Average Grade With Remarks in Python

Student Average Grade With Remarks in Python

 A simple program to compute the student average grade with remarks in 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('\tStudent Average Grade With Remarks in Python\n')
stud_name=str(input("Enter Student Name : "))
math=int(input("Enter Math Grade : "))
science=int(input("Enter Science Grade : "))
english=int(input("Enter English Grade : "))

average = (math+science+english)/3

if (average >= 75):
remarks = "Passed"
else:
remarks = "Failed"

print('\n')
print('Name : {0}'.format(stud_name.upper()))
print('Math Grade : {0}'.format(math))
print('Science Grade : {0}'.format(science))
print('English Grade : {0}'.format(english))
print('Average Grade : {0}\n'.format(round(average)))
print('Remarks : {0}'.format(remarks))

Quick Sort in C