Showing posts with label multiplication table in perl. Show all posts
Showing posts with label multiplication table in perl. Show all posts

Tuesday, August 30, 2016

Multiplication Table in Perl

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

Add me at Facebook my address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com.
 
My mobile number here in the Philippines is 09173084360.
  



Sample Program Output


Program Listing

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