Wednesday, November 9, 2022

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

Quick Sort in C

 A quick sort program that I wrote 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> #include <stdlib.h> int Quick_Sort(int *items, int left, int right) { int pivot = left; int i = left +1, j = right, temp; if (left < right) { while (1) { while (items[j] > items[pivot]) j--; while (items[i] <= items[pivot]) i++; if (i < j) { temp = items[i]; items[i] = items[j]; items[j] = temp; } else break; } temp = items[pivot]; items[pivot] = items[j]; items[j] = temp; Quick_Sort(items, left, j-1); Quick_Sort(items, j+1, right); } return 0; } int main() { int a=0,num=0, *items; printf("\n"); printf("\tQuick Sort in C"); printf("\n\n"); printf("\tHow Many Items? : "); scanf("%d", &num); items = (int *)malloc(sizeof (int) * num); printf("\n\n"); for (a = 0; a < num; a++) { printf("\tEnter Value in Item No. %d : ",a+1); scanf("%d", &items[a]); } printf("\n\n"); printf("\tBefore Sorting\n"); printf("\n\n"); printf("\t"); for (a = 0; a < num; a++) printf("%5d",items[a]); printf("\n"); Quick_Sort(items, 0, num-1); printf("\n\n"); printf("\tAfter Sorting:\n"); printf("\n\n"); printf("\t"); for (a= 0; a < num; a++) printf("%5d", items[a]); printf("\n\n"); printf("\tEnd of Program"); printf("\n"); }

Count Number of Years, Weeks, and Days in TypeScript

 Machine Problem

Write a program to convert it to years, weeks and days the given day is 373 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


/* days.ts

   Jake Rodriguez Pomperada, MAED-IT, MIT

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

   jakerpomperada@gmail.com

   July 18, 2022 2:51 PM  Monday

   Bacolod City, Negros Occidental

*/


var days = 373; 


var given_days = days;


 /* Conversion in this portion */

 var years = days / 365;

 var weeks =(days % 365) / 7

 var days =(days % 365) % 7


 console.log();

 console.log("\tDisplay Results\n");

 console.log("\tThe given days  : " + given_days);

 console.log();

 console.log("\tNumber of Years : " + Math.floor(years));

 console.log("\tNumber of Weeks : " + Math.floor(weeks));

 console.log("\tNumber of Days  : " + Math.floor(days) + "\n");

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

Inches To Centimeter in TypeScript

Inches To Centimeter in TypeScript

 Machine Problem

Write a program that will convert the given inches value of 6.71 into centimeter 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

/* feet_cm.ts Jake Rodriguez Pomperada, MAED-IT, MIT www.jakerpomperada.com and www.jakerpomperada.blogspot.com jakerpomperada@gmail.com July 13, 2022 2:40 PM Wednesday Bacolod City, Negros Occidental */ var inches = 6.71; // Converting to Centimeter let cm = inches * 2.54; let two_decimal = cm.toFixed(2); console.log(); console.log("Inches To Centimeter in TypeScript\n"); console.log(inches + " inche(s) the centimeter equvalent is " + two_decimal + " centimeter(s).\n"); console.log("End of Program\n");

Thursday, November 3, 2022

Current Day of the Week in Visual Basic NET

Current Day of the Week in Visual Basic NET

  A simple program to display the current day of the week using Visual Basic .NET 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

Module Module1 Sub Main() Dim Days_of_the_Week As Integer Days_of_the_Week = Now.DayOfWeek Select Case Days_of_the_Week Case 1 Console.WriteLine("Today is Sunday") Case 2 Console.WriteLine("Today is Monday") Case 3 Console.WriteLine("Today is Tuesday") Case 4 Console.WriteLine("Today is Wednesday") Case 5 Console.WriteLine("Today is Thursday") Case 6 Console.WriteLine("Today is Friday") Case 7 Console.WriteLine("Today is Saturday") End Select Console.ReadKey() End Sub End Module