Categories
Pascal

Square a Number in Pascal

 I wrote this program to ask the user to give a number and then the program will compute the square value of the given number by the user 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much. 

Program Listing


(* Square_Number.pas
   Mr. Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.blogspot.com / www.jakerpomperada.com
   jakerpomperada@gmail.com
   Bacolod City, Negros Occidental Philippines.
   November 21, 2020   Saturday    5:32 AM

*)

Program Square_Number;

Uses Crt;

Var Num_Var,Solve_Square : Integer;



Begin

  Num_Var := 0;
  Solve_Square := 0;

  Clrscr;
  Gotoxy(15,4);
  Write('Square a Number in Pascal');
  Gotoxy(15,6);
  Write('Give a Number : ');
  Readln(Num_Var);


  Solve_Square := (Num_Var * Num_Var);

  Gotoxy(15,8);
  Write('The square value of ',Num_Var, ' is ' ,Solve_Square,'.');
  Gotoxy(15,10);
  Write('End of Program');
  Readln;
End.





Categories
Pascal

Average of Three Numbers in Pascal

 This program I wrote it will ask the user to give three numbers and then the program will compute the average of the three numbers 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much. 

Program Listing

(* Average_Three_Numbers.pas
   Mr. Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.blogspot.com / www.jakerpomperada.com
   jakerpomperada@gmail.com
   Bacolod City, Negros Occidental Philippines.
   November 22, 2020   Sunday  5:56 AM

*)

Program Average_Three_Numbers;

Uses Crt;

Var a,b,c,average : Real;



Begin


  a:=0; b:=0; c:=0; average:= 0;

  Clrscr;
  Gotoxy(15,4);
  Write('Average of Three Numbers in Pascal');
  writeln; writeln;
  write('Give First  Value : ');
  readln(a);
  write('Give Second Value : ');
  readln(b);
  write('Give Third  Value : ');
  readln(c);


  average := (a+b+c) / 3;


  writeln;
  write('The average of ',a:5:2,' , ',b:5:2,' ,and '
        ,c:5:2, ' is ',average:5:2,'.');
  Gotoxy(20,12);
  Write('End of Program');
  Readln;
End.


Categories
Pascal

Square Root a Number in Pascal

 I wrote this program to ask the user to give a number and then the program will convert the given number into its square root equivalent using the 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much. 

Program Listing


(* Square_Root.pas
   Mr. Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.blogspot.com / www.jakerpomperada.com
   jakerpomperada@gmail.com
   Bacolod City, Negros Occidental Philippines.
   November 21, 2020   Saturday    5:46 AM

*)

Program Square_Root;

Uses Crt;

Var Num_Var,Solve_Sqrt : Real;



Begin

  Num_Var := 0.00;

  Solve_Sqrt := 0.00;

  Clrscr;
  Gotoxy(15,4);
  Write('Square Root a Number in Pascal');
  Gotoxy(15,6);
  Write('Give a Number : ');
  Readln(Num_Var);

  Solve_Sqrt := Sqrt(Num_Var);

  Gotoxy(15,8);
  Write('The square root value of '
  ,Num_Var:5:2, ' is ' ,Solve_Sqrt:5:2,'.');
  Gotoxy(15,10);
  Write('End of Program');
  Readln;
End.





Categories
Pascal

Multiplication Table in Pascal

 In this tutorial, I will show you how to create a multiplication table 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.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod City I also accepting computer repair, networking, and Arduino Project development at a very affordable price. My website is www.jakerpomperada.blogspot.com and www.jakerpomperada.com

If you like this video please click the LIKE button,SHARE, and SUBSCRIBE to my channel.

Your support on my channel is highly appreciated.

Thank you very much.

Program Listing

(* Multiplication_Table.pas
   Mr. Jake Rodriguez Pomperada, MAED-IT, MIT
   www.jakerpomperada.blogspot.com / www.jakerpomperada.com
   jakerpomperada@gmail.com
   Bacolod City, Negros Occidental Philippines.
   November 22, 2020   Sunday  5:29 AM

*)

Program Multiplication_Table;

Uses Crt;

Var row,column : Integer;



Begin

  row := 0;  column := 0;

  Clrscr;
  Gotoxy(15,4);
  Write('Multiplication Table in Pascal');
  Gotoxy(15,6);
  For row := 1 To 12 Do
     Begin
       writeln;
      For column := 1 To 12 Do
       Begin
         write(row*column:4);
       End
   End;

  Gotoxy(20,20);
  Write('End of Program');
  Readln;
End.





Categories
Pascal

Greet a Person in Pascal

A simple program that I wrote that will ask the users name and then the program will greet the person using Pascal as my programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in 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. My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/

Program Listing

program Greet_Person;
Uses Crt;

Var person : String[100];
begin
  Clrscr;
  Gotoxy(25,2);
  Write('Greet a Person in Pascal');
  Writeln;
   Writeln;
  Write('What is your name? ');
  Readln(person);
  Writeln;
  Writeln;
  Write('Hello ',person,' How are you today?');
  Writeln;
  Readln;
end.
         
Categories
Pascal

Payroll System in Pascal

A simple payroll system that I wrote using Pascal programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in 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. My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/

Program Listing

(* Payroll_Program.Pas
   Author  : Jake Rodriguez Pomperada,MAED-IT, MIT
   Date    : July 18, 2020  Saturday    7:51 PM
   Email   : jakerpomperada@gmail.com
   Website : www.jakerpomperada.com and www.jakerpomperada.blogspot.com
*)

program Payroll_Program;
Uses Crt;

Var

 emp_name : string[100];
 rate_per_day : real;
 no_days_work : real;
 solve_salary : real;


begin
   Clrscr;
   rate_per_day := 0.00;  no_days_work := 0.00;  solve_salary := 0.00;
   Gotoxy(25,2);
   Writeln('Payroll Program in Pascal');
   Gotoxy(25,4);
   Write('Give Employees Name    :  ');
   Readln(emp_name);
   Gotoxy(25,6);
   Write('Number of Days Worked  :   ');
   Readln(no_days_work);
   Gotoxy(25,8);
   Write('Rate Per Day           : $ ');
   Readln(rate_per_day);

   solve_salary := (no_days_work * rate_per_day);

   Gotoxy(25,10);
   Write(emp_name ,' your salary is $ ',solve_salary:5:2);
   Gotoxy(25,12);
   Write('End of Program');
   Readln;
end.
Categories
Pascal

Multiplication Table in Pascal

I wrote this program to display multiplication table using Pascal programming language.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in 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. My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.

Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com

My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/

Program Listing

program multiplication_table;
Uses Crt;

 Var row,column : integer;

begin
   row := 0; column := 0;
   Clrscr;
   gotoxy(12,2);
   Write('Multiplication Table in Pascal');
   Writeln; Writeln;

    For row := 1 to 12 Do
      Begin
         For column := 1 to 12 Do
            Begin
               write(row * column:4);
            end;
            writeln;
      end;

    Writeln;
    Gotoxy(17,17);
    Write('End of Program');
    Readln;
end.
Categories
Pascal

Hello World in Pascal

A simple program that I wrote using Pascal programming language to display a hello world message on the screen. I am using Free Pascal as my Pascal compiler in writing this program and Lazarus IDE as my text editor.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in 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. My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.comMy programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.

https://www.unlimitedbooksph.com/

Program Listing

program hello_world;
Uses Crt;

begin
  Clrscr;
  Gotoxy(28,12);
  Write('Hello World in Pascal Programming Language.');
  Readln;
end.
                                  

Categories
Pascal

Ordinal Numbers Using Pascal

   As I learned computer programming my first programming language that I have learned is Pascal the compiler that I am using during those days in college in Turbo Pascal 5.0. In this program I would like to reminisce the past by writing a program using Pascal as my programming language to accept a number from the user and then convert the number into ordinal equivalent values. In this sample program I am using Turbo Pascal 5.5 that is widely available right now to download free from any charges over the Internet. This problem I encounter during my college days in our programming class.


I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, website design and development using WordPress, IT projects, school and application development, programming projects, thesis, and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in 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. My telephone number at home here in Bacolod City, Negros Occidental Philippines is +63 (034) 4335675.


Here in Bacolod City, Negros Occidental I also accepting computer repair, web development using WordPress, Computer Networking, and Arduino Project development at a very affordable price. My personal website is http://www.jakerpomperada.com


My programming website is http://www.jakerpomperada.blogspot.comI am also a book author you can purchase my books on computer programming and information technology in the following links below.https://www.unlimitedbooksph.com/

Program Listing

   
    (* Ordinal_Numbers.pas*)
    (* Written By Mr. Jake R. Pomperada, MAED-IT *)
    (* Tools : Turbo Pascal 5.5. For DOS *)
    (* Date : November 24, 2015 *)
    Program Ordinal_Numbers;
    Uses Crt;
    Var number : integer;
    message : string;
    a: integer;
    mod100 : integer;
    mod10: integer;
    begin
    a:=0; mod10:=0; mod100:=0;
    clrscr;
    textcolor(yellow);
    write('Ordinal Number Generator in Pascal');
    writeln; writeln; writeln;
    write('Enter a Number : ');
    readln(number);
    writeln; writeln;
    for a:= 1 To number Do
    Begin
    mod10 := (a mod 10);
    mod100 := (a mod 100);
    if (mod10 = 1) AND (mod100 <> 11) then
    Begin
    message := 'st';
    End
    else if (mod10 = 2) AND (mod100 <> 12) then
    Begin
    message := 'nd';
    End
    else if (mod10 = 1) AND (mod100 <> 11) then
    Begin
    message := 'rd';
    End
    else
    Begin
    message := 'th';
    End;
    write(' ',a,message,' ');
    End;
    writeln; writeln;
    write('End of Program');
    readln;
    End.