Thursday, October 31, 2019

Swap Two Numbers in PERL

Year Level Determiner in PERL

Year Level Determiner in PERL

I wrote this simple program that will ask the year level of the student whether the student belongs to freshmen, sophomore, juniors or seniors using PERL as my 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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output


Program Listing

# year_level.pl
# Author : Jake Rodriguez Pomperada, MAED-IT
# Date   : October 31, 2019  5:09 AM Thursday

print "\n\n";
print "\tYear Level Determiner in PERL";
print "\n\n";
print "\tWhat is Your Year Level? ";
chomp ($year_level =<>);

print "\n\n";

if  ($year_level == 1) {
    print "\tYou belong to Freshmen.";
}
elsif  ($year_level == 2) {
    print "\tYou belong to Sophomore.";
}
 elsif ($year_level == 3) {
    print "\tYou belong to Juniors.";
}
 elsif ($year_level == 4) {
    print "\tYou belong to Seniors.";
}
else {
    print "\tNot a Valid Year Level. Try Again";
}
print "\n\n";
print "\tEnd of Program";


Swap Two Numbers in PERL

I wrote this program that will ask two numbers and then the program swap the arrangement of the two numbers before and after using PERL as my 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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output


Program Listing

# swap.pl
# Author : Jake Rodriguez Pomperada, MAED-IT
# Date   : October 31, 2019    5:45 AM   Thursday

print "\n\n";
print "\tSwap Two Numbers in PERL";
print "\n\n";
print "\tGive First Value  : ";
chomp($a =<>);
print "\tGive Second Value : ";
chomp($b =<>);

print "\n\n";
print "\tBefore Swapping a = $a  b = $b";
print "\n\n";

$temp = $a;
$a = $b;
$b = $temp;

print "\tAfter Swapping a = $a  b = $b";
print "\n\n";
print "\tEnd of Program";


Positive and Negative Number Checker in PERL

Positive and Negative Number Checker in PERL

I wrote this program to ask the user to give an integer number and then the program check if the given number is a positive or negative number. Let us assume that zero is also a positive number 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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output



Program Listing

# number_checker.pl
# Author : Jake Rodriguez Pomperada, MAED-IT
# Date   : October 31, 2019   5:23 AM   Thursday


print "\n\n";
print "\tPositive and Negative Number Checker in PERL";
print "\n\n";
print "\tGive a Number : ";
chomp ($num_val =<>);

print "\n\n";

if ($num_val >=0) {
    print "\tThe given number $num_val is a POSITIVE number.";
}
else {
    print "\tThe given number $num_val is a NEGATIVE number.";
}
print "\n\n";
print "\tEnd of the Program";



Legal Age Determiner in PERL

Legal Age Determiner in PERL

I wrote this simple program using if-else statement in PERL programming language that will ask the user to give the age the person and then the program will check and determine if the given age by the user is already adult or still a minor.

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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output


Program Listing

# legal.pl
# Author : Jake Rodriguez Pomperada, MAED-IT
# Date   : October 31, 2019  Thursday   5:58 AM

print "\n\n";
print "\tLegal Age Determiner in  PERL";
print "\n\n";
print "\tWhat is your age?";
chomp ($age =<>);
print "\n\n";
if ($age >= 18) {
    print "\tYour given age is $age you are already an Adult.";
} else {
    print "\tYour given age is $age you are still a Minor."
}
print "\n\n";
print "\tEnd of Program";


Factorial Solver in PERL

Factorial Solver in PERL

I wrote this program that will ask the user to give a number and then the program will compute the factorial value of the given number using PERL as my 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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output


Program Listing

# factorial.pl
# Author : Jake Rodriguez Pomperada,MAED-IT
# Date   : October 31, 2019    4:54 AM Thursday
print "\n\n";
print "\tFactorial Solver in PERL";
print "\n\n";
print "\tEnter a Number : ";
chomp($n =<>);
$i = 1; 
$fact = 1;
for ($i=1; $i<=$n; $i++) {
   $fact = $fact * $i;
}
print "\n";
print "\t$n! = $fact";
print "\n\n";
print "\tEnd of Program";



Wednesday, October 30, 2019

Product of Two Numbers in PERL

Product of Two Numbers in PERL

A simple program that I wrote that will ask the user to give two numbers and the program will compute the product of two numbers 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 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 website is http://www.jakerpomperada.com

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.


Sample Program Output


Program Listing

# product.pl
# Accepts two numbers from the user and multiply the two numbers and 
# display the results on the screen.
# Author : Jake Rodriguez Pomperada
# Date   : October 29, 2019

print "\n\n";
print "\tProduct of Two Numbers in PERL";
print "\n\n";
print "\tGive First Value : ";
chomp ($a = <>);
print "\tGive Second Value : ";
chomp ($b = <>);

$product = ($a * $b);

print "\n\n";
print "\tThe Product of $a and $b is $product.";
print "\n\n";
print "\tEnd of Program";



Odd and Even Number Checker in PERL

Odd and Even Number Checker in PERL

I wrote this program that will ask the user to give a number and then the program will check if the given number is an odd or even number using PERL 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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output


Program Listing

# odd_even.pl
# Author : Jake Rodriguez Pomperada,MAED-IT
# Date   : October 30, 2019   5:21 AM  Wednesday


print "\n\n";
print "\tOdd and Even Number Checker in PERL";
print "\n\n";
print "\tGive a Number : ";
chomp($num_val =<>);

if ($num_val % 2 == 0) {
    print "\n";
    print "\tThe given number $num_val is an EVEN number.";
}
else {
    print "\n";
    print "\tThe given number $num_val is an ODD number.";
}
print "\n\n";
print "\tEnd of the Program";



Leap Year Checker in PERL

Circumference of the Circle Solver in PERL

Average Grade Solver in PERL

Average Grade Solver in PERL

I wrote this program to ask the subject, prelim, midterm, and final grade and then the program will compute the average grade of the student using Perl as my 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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output


Program Listing

# average_grade.pl
# Author : Jake Rodriguez Pomperada,MAED-IT
# Date   : October 30, 2019  5:32 AM   Wednesday

print "\n\n";
print "\tAverage Grade Solver in PERL";
print "\n\n";
print "\tEnter Subject : ";
chomp($subject =<>);
print "\tEnter Prelim Grade : ";
chomp($prelim =<>);
print "\tEnter Midterm Grade : ";
chomp($midterm =<>);
print "\tEnter Final Grade : ";
chomp($final =<>);

$solve = ($prelim * 0.2) + ($midterm * 0.3) + ($final * 0.5);

$result = sprintf("%2.0f",$solve);

print "\n\n";
print "\tDISPLAY GRADE";
print "\n\n";
print "\tSubject       : $subject";
print "\n";
print "\tAverage Grade : $result ";

print "\n\n";
print "\tEnd of Program";




Area of the Circle in Perl

Tuesday, October 29, 2019

Leap Year Checker in PERL

I wrote this program that will ask the user to give a year and then the program will check if the given year is a leap year or not a leap year using PERL as my 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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output


Program Listing


# leap_year.pl
# Leap year checker in PERL

print "\n\n";
print "\tLeap Year Checker in PERL";
print "\n\n";
print "\tEnter Year  : ";
chomp($year =<>);

print "\n";

if ((0 == $year % 4) && (0 != $year % 100) || (0 == $year % 400)) 
    {
print "\tThe given $year is a LEAP YEAR.";
}
else{
print "\tThe given $year is NOT a LEAP YEAR.";
}
print "\n\n";
print "\tEnd of Program";
print "\n\n";



Circumference of the Circle Solver in PERL

I wrote this program that will ask the user to give a value of a radius and then the program will compute the circumference of the circle using PERL as my 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 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 website is http://www.jakerpomperada.com

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.


Sample Program Output


Program Listing


# circumference.pl
# circumference of the circle solver

$PI = 3.14159265358979323846;

print "\n\n";
print "\tCircumference of the Circle Solver in PERL";
print "\n\n";
print "\tEnter Radius Value : ";
chomp($radius =<>);

$circumference = 2 * $PI * $radius;
$display = sprintf("%2.2f", $circumference); 

print "\n\n";
print "\tThe circumference of the circle is $display.";
print "\n\n";
print "\tEnd of Program";
print "\n\n";


Area of the Circle Solver in PERL

I wrote this program that will ask the user to give a value of a radius and then the program will compute the area of the circle using PERL as my 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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output


Program Listing


# area_circle.pl
# area of the circle solver

$PI = 3.14159265358979323846;

print "\n\n";
print "\tArea of the Circle Solver in PERL";
print "\n\n";
print "\tEnter Radius Value : ";
chomp($radius =<>);

$area = $PI * $radius * $radius;
$display = sprintf("%2.2f", $area); 

print "\n\n";
print "\tThe area of the circle area $display.";
print "\n\n";
print "\tEnd of Program";
print "\n\n";

Addition of Three Numbers in PERL

Addition of Three Numbers in PERL

I wrote a program that will ask the user to give three numbers and then the program will compute the sum of three numbers and display the results on the screen using PERL as my 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 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 website is http://www.jakerpomperada.com

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.



Sample Program Output


Program Listing

addition.pl


# addition.pl
# Author : Jake Rodriguez Pomperada,MAED-IT
# Date    : October 30, 2019

print "\n";
print "\tAddition of Three Numbers in PERL";
print "\n";
print "\tEnter First Value : ";
chomp ($a = <>);
print "\tEnter First Value : ";
chomp ($a = <>);
print "\tEnter Second Value : ";
chomp ($b = <>);
print "\tEnter Third Value : ";
chomp ($c = <>);


$total_sum = ($a + $b + $c);

print "\n";
print "\tTe sum of $a, $b and $c is $total_sum.";
print "\n";
print "\tEnd of the Program";