Learn Computer Programming Free from our source codes in my website.
Sponsored Link Please Support
https://www.techseries.dev/a/27966/qWm8FwLb
https://www.techseries.dev/a/19181/qWm8FwLb
My Personal Website is http://www.jakerpomperada.com
Email me at jakerpomperada@gmail.com and jakerpomperada@yahoo.com
Thursday, November 10, 2022
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
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++
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
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 Listingindex.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>
Sunday, November 6, 2022
Saturday, November 5, 2022
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 Listingvar 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.`)
Friday, November 4, 2022
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
A quick sort program that I wrote using C programming language.
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"); }