Showing posts with label Year Level Determiner in PERL. Show all posts
Showing posts with label Year Level Determiner in PERL. Show all posts

Thursday, October 31, 2019

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";