Sunday, March 5, 2023

Area of the Circle Using a Function in Pascal

 A program that will ask the user to give radius and then the program compute the area of the circle using a function in 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 AreaOfCircle;



function CalculateArea(radius: Double): Double;

const

  PI = 3.14159; // defining the value of pi

begin

  CalculateArea := PI * radius * radius; // calculating the area of the circle

end;


var

  radius, area: Double;


begin

  writeln;

  write('Area of a Circle Using Functions in Pascal');

  writeln;

  Write('Enter the radius of the circle: ');

  ReadLn(radius);


  // calling the function to calculate the area of the circle

  area := CalculateArea(radius);


  WriteLn('The area of the circle with radius ', radius:0:2, ' is ', area:0:2, '.');

  writeln;

  write('End of Program');

  writeln;

end.


Addition of Three Numbers Using OOP in C++

Addition of Three Numbers Using OOP in C++

A simple program to demonstrate the concept of object oriented programming to add the sum of three numbers 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; class Calculator { private: int num1; int num2; int num3; public: Calculator(int n1, int n2, int n3) { num1 = n1; num2 = n2; num3 = n3; } int add() { return num1 + num2 + num3; } }; int main() { // Create an object of the Calculator class Calculator calc(10, 20, 30); // Call the add() method to add the three numbers int result = calc.add(); // Print the result cout << "The sum of the three numbers is: " << result << endl; return 0; }


Saturday, March 4, 2023

Sum and Product of Two Numbers in Ruby

Sum and Product of Two Numbers in Ruby

 A program that will ask the user to give two numbers and then the program will compute the sum and products of the two given numbers by user using the Ruby 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 "Sum and Product of Two Numbers in Ruby\n\n" # get input from user print "Enter the first number: " num1 = gets.chomp.to_i print "Enter the second number: " num2 = gets.chomp.to_i # calculate sum and product sum = num1 + num2 product = num1 * num2 # print results puts "The sum of #{num1} and #{num2} is #{sum}." puts "The product of #{num1} and #{num2} is #{product}."

Thursday, March 2, 2023

Login Program in Pascal

 A simple login program that I wrote 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 Login; var username, password: string; begin writeln; write('Login Program in Pascal'); writeln; writeln; write('Give your username: '); readln(username); write('Give your password: '); readln(password); writeln; if (username = 'admin') and (password = 'admin') then writeln('Login successful!') else writeln('Incorrect username or password. Please try again.'); readln; end.

Kilograms To Pounds in Pascal

Wednesday, March 1, 2023

Kilograms To Pounds in Pascal

 A program that will ask the user to give weight in kilograms and then it will convert into pounds equivalent 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 KilogramsToPounds; var kilograms, pounds: real; begin writeln; writeln('Kilograms To Pounds'); writeln; write('Enter mass in kilograms:'); readln(kilograms); pounds := kilograms * 2.20462; writeln; writeln(kilograms:0:2, ' kilograms is equal to ', pounds:0:2, ' pounds.'); writeln; write('End of Program'); writeln; end.

Tuesday, February 28, 2023

How To Become a Web Developer?

Area of a Circle in Ruby

Area of a Circle in Ruby

 A program that will ask the user to give radius of a circle and then the program will compute the area of a circle using Ruby 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 "\n"

print "\tArea of a Circle in Ruby\n\n"

print "\tGive the radius of the circle: "

radius = gets.chomp.to_f


area = Math::PI * radius ** 2


display = format('%.2f',area)


print "\n"

puts "\tThe area of the circle is #{display}."

print "\n"

print "\tEnd of Program"

Area of a Circle Using Pointers in C++

Area of a Circle Using Pointers in C++

 A program that will ask the radius of the circle from the user and then the program will compute the area of a circle using pointers in 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 iomanip library for setprecision() using namespace std; int main() { float radius=0.00, area=0.00; float *ptr; cout <<"\n"; cout << "\tArea of a Circle Using Pointes in C++\n\n"; cout << "\tGivethe radius of the circle: "; cin >> radius; ptr = &radius; // pointer points to the address of radius area = 3.14159 * (*ptr) * (*ptr); // dereference pointer to get the value of radius and calculate area cout <<"\n\n"; cout << fixed << setprecision(2); // set output to two decimal places cout << "\tThe area of the circle is: " << area << endl; cout <<"\n\n"; cout <<"\tEnd of Program"; cout <<"\n"; return 0; }

Sunday, February 26, 2023

Paano Maghanap ng Customer sa Computer Programming

Paano Ba Maging Computer Programmer?

Area of a Circle Using a Function in C#

Area of a Circle Using a Function in C#

 A program that will ask the user to give the radius of the circle and then the program will compute the area of the circle using a function in 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;


class Program {

    static double Area_Solve(double radius) {

        const double PI = 3.14159; // defining the value of pi

        return PI * radius * radius; // calculating the area of the circle

    }


    static void Main(string[] args) {

        double radius, area;

 

        Console.WriteLine();

        Console.WriteLine("\tArea of a Circle Using a Function in C#");

        Console.WriteLine();

        Console.Write("\tGive the radius of the circle: ");

        radius = Convert.ToDouble(Console.ReadLine());


        // calling the function to calculate the area of the circle

        area =  Area_Solve(radius);

        

        

        Console.WriteLine();

       Console.WriteLine("\tThe area of the circle with radius {0} is {1:0.00}."

       , radius, area);

        Console.WriteLine();

        Console.WriteLine("\tEnd of Program");

        Console.WriteLine();

        

    }

}