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
Wednesday, April 5, 2023
Tuesday, April 4, 2023
Average Quiz OOP in C++
A simple object oriented programming program to compute the average quiz of the students 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>
#include <iomanip>
#define MAX 3
using namespace std;
class Student {
private:
string name[MAX];
int q1[MAX];
int q2[MAX];
int q3[MAX];
float ave(int a, int b, int c);
public:
void getRec();
void display();
};
void Student::getRec(){
int i;
for (i=0;i<MAX;i++){
cout <<"Name: ";
cin >> name[i];
cout << "Input quiz 1: ";
cin >> q1[i];
cout << "Input quiz 2: ";
cin >> q2[i];
cout << "Input quiz 3: ";
cin >> q3[i];
}
}
void Student::display(){
int i;
float av;
system("cls");
cout <<"\n\n";
cout <<"\tAverage Quiz OOP in C++\n\n";
cout << " Name\tQuiz1\tQuiz2\tQuiz3\tAverage\tRemarks\n";
for (i=0;i<MAX;i++){
av = ave(q1[i],q2[i],q3[i]);
cout << fixed << setprecision(0);
cout <<name[i]<<"\t"<<q1[i]<<"\t"<<q2[i]<<"\t"<<q3[i]<<"\t"<<av;
if (av >= 75.0)
cout <<"\tPassed.\n";
else
cout <<"\tFailed."<<endl;
}
}
float Student::ave(int a, int b, int c){
return ((a+b+c)/3.0);
}
int main(){
Student course;
course.getRec();
course.display();
}
Monday, April 3, 2023
Bubble Sort in Python
A program to show the concept of bubble sort algorithm 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 Listingdef bubbleSort(arr): n = len(arr) for i in range(n): for j in range(0, n-i-1): if arr[j] > arr[j+1] : arr[j], arr[j+1] = arr[j+1], arr[j] arr = [-67, 336, 23, 15, 21, -11, 92] bubbleSort(arr) print("Sorted Array of Values") for i in range(len(arr)): print("%d" %arr[i])
Sunday, April 2, 2023
Asterisk Triangle Image in Pascal
A program to create an asterisk triangle image 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 CenteredTriangle;
var
rows, i, j, k: integer;
begin
rows := 8;
for i := 1 to rows do
begin
for j := 1 to rows - i do
begin
write(' ');
end;
for k := 1 to 2*i-1 do
begin
write('*');
end;
writeln;
end;
readln; // wait for user to press enter before closing program
end.
Display Even Numbers From 1 To 30 Using Listbox in C#
A program that I wrote to display even numbers from 1 to 30 using listbox 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
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
int val = 0;
for (int i = 1; i <=30; i++)
{
val = i % 2;
if (val == 0)
{
listBox1.Items.Add(i);
}
}
}
}
}
Display Odd Numbers From 1 To 20 Using Listbox in C#
A program that I wrote to display odd numbers from 1 to 20 using listbox 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 Listingusing System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { int val = 0; for (int i = 1; i <=20; i++) { val = i % 2; if (val != 0) { listBox1.Items.Add(i); } } } } }
Saturday, April 1, 2023
Friday, March 31, 2023
Subtract Two Numbers Using OOP in C++
A program to subtract two numbers using object-oriented programming approach 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> class Calculator { private: int num1, num2; public: void setNums(int n1, int n2) { num1 = n1; num2 = n2; } int subtract() { return num1 - num2; } }; int main() { Calculator calc; std::cout <<"\n\n"; std::cout << "\tSubtract Two Numbers Using OOP in C++\n\n"; calc.setNums(100, 50); std::cout << "\tThe result is " << calc.subtract() << "." <<std::endl; return 0; }
Thursday, March 30, 2023
Wednesday, March 29, 2023
Remove Vowels in Pascal
A program that will remove the vowels in the given string 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 Listingprogram RemoveVowels; var inputString, outputString: String; i: Integer; begin writeln; write('Remove Vowels in Pascal'); writeln; writeln('Enter a string:'); readln(inputString); outputString := ''; for i := 1 to length(inputString) do begin if not (inputString[i] in ['a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U']) then begin outputString := outputString + inputString[i]; end; end; writeln; writeln('String without vowels:', outputString); end.




