Categories
Perl

For Loop in Perl

Here is a simple program that I wrote in Perl to show how to declare and use For loop statement. I am learning Perl for my new book project that I am working right now in my spare time.

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.com


I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/
https://www.unlimitedbooksph.com/

Sample Program Output

Program Listing

# for_example_one.pl
# Display a series of numbers from 1 to 10 using For Loop Statement
# Author   : Jake R. Pomperada,MAED-IT,MIT
# Date     : April 5, 2020   Sunday  2:09 PM
# Location : Bacolod City, Negros Occidental
# Email    : jakerpomperada@gmail.com
# Website  : http://www.jakerpomperada.com

;
print("\n");
print("\tFor Loop Example No. 1 in Perl");
print("\n\n");
print("\t");
for ($a=1; $a<=10; $a=$a+1) {
    print(" $a ");
}
print("\n\n");
print("\tEnd of Program");
print("\n\n");
Categories
Perl

Multiplication Table in Perl

A multiplication table that I wrote using PERL programming language the code is very short and easy to understand using XAMPP.

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.com
I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output
#!D:\xampp\perl\bin
use strict;
print "\n\n\n";
print "\t\t\tMULTIPLICATION TABLE";
print "\n\n";
for$-(1..12){
 printf'%5d',$_*$-for 1..12;
 print$/
}
print "\n\n";
print "\t\t\tEnd of Program";
print "\n\n";
Categories
Perl

Leap Year Checker Using Unless Elsif Else in Perl

I wrote this simple program to ask the user a year and then the program will check if the given year is a leap year or not a leap year using Unless Elsif Else in Perl 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.com

I 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/

Sample Program Output
# leap_year_unless.elsif.pl
# Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
# Date    : March 30, 2020  9:35 AM
# Website : http://www.jakerpomperada.com
# Email   : jakerpomperada@gmail.com

print "\n\n";
print "\tLeap Year Checker Using Unless Elsif Else in Perl";
print "\n\n";
print "\tWhat is the year?  : ";
chomp($year=<>);

unless ($year % 4 != 0) {
    print "\n";
    print "\tThe given year $year is a Leap Year.";
} elsif  ($year % 4 == 0) {
    print "\n\tThe given year $year is Not a Leap Year.";
    print "\t";
} else {
    print "\n";
    print "\tThe given year $year is Not a Leap Year.";
}
print "\n\n";
print "\tEnd of the Program";
print "\n\n";
Categories
Perl

Grade Checker Using Unless Elsif Else in Perl

I wrote this program to ask the student to give their grade and then the program will check if the given grade is pass or failed using unless elsif else in Perl 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.com

I 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/

Sample Program Output
# grade_unless.elsif.pl
# Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
# Date    : March 30, 2020 10:08 AM
# Website : http://www.jakerpomperada.com
# Email   : jakerpomperada@gmail.com

print "\n\n";
print "\tGrade Checker Using Unless Elsif Else in Perl";
print "\n\n";
print "\tWhat is your grade? : ";
chomp($grade=<>);

unless ($grade < 75) {
    print "\n";
    print "\tYour given grade $grade. You Passed the Subject.";
} elsif  ($ygrade >= 75) {
    print "\n\tYour given grade $grade. You Failed the Subject.";
    print "\t";
} else {
    print "\n";
    print "\tYour given grade $grade. You Failed the Subject.";
}
print "\n\n";
print "\tEnd of the Program";
print "\n\n";
Categories
Perl

Age Checker in Perl

A simple program that I wrote to ask the user to give his or her age and then the program will check and determine if the user is still a minor, adult or already a senior citizen using Perl 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.com
I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output
# age.pl
# Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
# Date    : March 25, 2020  12:11 PM
# Website : http://www.jakerpomperada.com
# Email   : jakerpomperada@gmail.com

print "\n\n";
print "\tAge Checker in Perl";
print "\n\n";
print "\tEnter your Age : ";
chomp($age=<>);

if ($age < 18) {
    print "\n";
    print "\tAt the age of $age years old. Your are still a Minor.";
}

if ($age >=18  && $age < 60) {
print "\n";
print "\tAt the age of $age years old. You are already an Adult.";
}

if ($age >=60) {
print "\n";
print "\tAt the age of $age years old. You are already an Senior Citizen.";
}

print "\n\n";
print "\tEnd of the Program";
print "\n\n";
Categories
Perl

Grade Checker in Perl

I wrote this program using Perl programming language to ask the user to give a grade and then the program will check if the given grade by the user pass or fails using conditional statement if in Perl.

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.com
I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output
# grade.pl
# Author  : Jake Rodriguez Pomperada,MAED-IT,MIT
# Date    : March 25, 2020  11:58 AM
# Website : http://www.jakerpomperada.com
# Email   : jakerpomperada@gmail.com

print "\n\n";
print "\tGrade Checker in Perl";
print "\n\n";
print "\tEnter your Grade  : ";
chomp($grade=<>);

if ($grade >= 75) {
    print "\n";
    print "\tYour grade is $grade%. You pass the subject.";
}

if ($grade < 75) {
print "\n";
print "\tYour grade is $grade%. You fail the subject.";
}

print "\n\n";
print "\tEnd of the Program";
print "\n\n";
Categories
Perl

Odd and Even Number Checker in PERL

I simple program that I wrote to ask the user to give a number and then our program will check if the given number is an odd or even number using Perl as my programming language. The text editor that I used in writing this program is Visual Studio Code from Microsoft that is free to download and use.

I am currently accepting programming work inventory system, enrollment system, accounting system, payroll system, information system, 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.com


I am also a book author you can purchase my books on computer programming and information technology in the following links below.
https://www.mindshaperspublishing.com/

https://www.unlimitedbooksph.com/

Sample Program Output
# 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";