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, March 16, 2023
Count Vowel and Consonants in Pascal
A program that will ask the user to give a string or sentence and then the program will count the vowels and consonants in a given string or sentence 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 CountVowelsAndConsonants;
var
inputStr: string;
numVowels, numConsonants: integer;
i: integer;
currentChar: char;
begin
numVowels := 0;
numConsonants := 0;
writeln;
write('Vowels and Consonants in Pascal');
writeln;
writeln;
write('Enter a string: ');
readln(inputStr);
for i := 1 to length(inputStr) do begin
currentChar := upcase(inputStr[i]);
if (currentChar >= 'A') and (currentChar <= 'Z') then begin
if (currentChar = 'A') or (currentChar = 'E') or (currentChar = 'I') or (currentChar = 'O') or (currentChar = 'U') then begin
numVowels := numVowels + 1;
end
else begin
numConsonants := numConsonants + 1;
end;
end;
end;
writeln;
writeln('The number of vowels in the string is: ', numVowels);
writeln('The number of consonants in the string is: ', numConsonants);
writeln;
write('End of Program');
writeln;
readln;
end.
Wednesday, March 15, 2023
Division of Two Numbers Using Scala
Machine Problem
Write a program to ask the user to give two numbers and then the program will compute the quotient of the two given numbers, and display the results on the screen using Scala 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.
/* division.scala Prof. Jake Rodriguez Pomperada, MAED-IT, MIT www.jakerpomperada.blogspot.com and www.jakerpomperada.com jakerpomperada@gmail.com January 3, 2022 10: 25 AM Bacolod City, Negros Occidental */ import java.util.Scanner; object division { def main(args: Array[String]) : Unit = { var input = new Scanner(System.in); print("\n\n"); print("\tDivision of Two Numbers Using Scala"); print("\n\n"); print("\tEnter First Value : "); var num_val_one = input.nextDouble(); print("\tEnter Second Value : "); var num_val_two = input.nextDouble(); var results = (num_val_one / num_val_two); print("\n"); print("\t===== DISPLAY RESULTS ====="); print("\n\n"); print("\t" + num_val_one + " / " + num_val_two + " = " + f"$results%5.2f"); print("\n\n"); print("\tEND OF PROGRAM"); print("\n\n"); } }
Payroll Program in C#
A simple payroll program that I wrote using C# programming language to ask the employees name, hourly rate and number of hours worked.
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.
using System; namespace PayrollProgram { class Program { static void Main(string[] args) { // Define variables string employeeName; double hourlyRate; double hoursWorked; double totalPay; // Prompt user for input Console.WriteLine("Enter employee name:"); employeeName = Console.ReadLine(); Console.WriteLine("Enter hourly rate:"); hourlyRate = double.Parse(Console.ReadLine()); Console.WriteLine("Enter hours worked:"); hoursWorked = double.Parse(Console.ReadLine()); // Calculate total pay totalPay = hourlyRate * hoursWorked; // Display results Console.WriteLine("Employee name: " + employeeName); Console.WriteLine("Total pay: " + totalPay); } } }
Tuesday, March 14, 2023
Kilometers To Miles in Perl
A program to ask the user to give distance in kilometers and then it will convert it into mile distance equivalent using Perl 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 Listingprintf "\n\n"; printf"\tKilometers To Miles in Perl"; printf "\n\n"; print "\tEnter distance in kilometers: "; my $kilometers = <STDIN>; my $miles = $kilometers * 0.621371; printf "\n"; printf "\t%.2f kilometers is equal to %.2f miles.\n", $kilometers, $miles;
Kilometers To Miles in Kotlin
A program to ask the user to give distance in kilometers and then it will convert it into mile distance equivalent using Kotlin 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 Listingfun main() { print("\n\n") print("\tKilometers To Miles in Kotlin\n\n") print("Enter a distance in kilometers: ") val kilometers = readLine()!!.toDouble() // read the user's input and convert it to a double val miles = kilometers / 1.609 // convert kilometers to miles val roundedMiles = String.format("%.2f", miles) // round the result to two decimal places print("\n\n") println("$kilometers kilometers is equal to $roundedMiles miles.") println() print("\tEnd of Program") println() }
Monday, March 13, 2023
Heading Element in HTML
In tutorial I will show you how to use heading in HTML or Hypertext Mark Up 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
index.htm
<!DOCTYPE html>
<html>
<body>
<h1> My First HTML Heading </h1>
<h5> This is header 5 </h5>
</body>
</html>
Sunday, March 12, 2023
Count Vowels in a String in Pascal
A program that will ask the user to give a string or sentence and then the program will count the vowels in a string or sentence 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 CountVowels;
var
inputStr: string;
count: integer;
i: integer;
begin
count := 0;
writeln;
write('Count Vowels in a String in Pascal');
writeln;
writelnl
write('Enter a string: ');
readln(inputStr);
for i := 1 to length(inputStr) do begin
case inputStr[i] of
'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U': count := count + 1;
end;
end;
writeln;
writeln('The number of vowels in the string is: ', count);
readln;
end.
Saturday, March 11, 2023
Variables in Modern C++
A simple program to demonstrate how to declare variables in modern 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>
#include <iomanip>
#include <string>
int main()
{
int age=44;
std::string emp_name= "John Doe";
double salary= 12456.34;
bool status = true;
std::cout <<"\n";
std::cout << "Name : " << emp_name << "\n";
std::cout << "Age : " << age << "\n";
std::cout << std::boolalpha; // print bools as true or false
std::cout << "Married : " << status << "\n";
std::cout <<std::fixed <<std::setprecision(2);
std::cout << "Salary : PHP " << salary<< "\n";
}