Coder's point

## Triangle pattern

for(\$i=1;\$i<=5;\$i=\$i+1){ for(\$j=1;\$j<=5-\$i;\$j=\$j+1){ print" "; } while(\$k!=2*\$i-1){ print&q...
June 09, 2019

## Find area using subroutine

sub area { print "Enter the side "; \$side=<> ; return (\$side * \$side); } \$totalArea = area(...
June 09, 2019

## Strings operation in perl

my \$s = "CODERSPOINT"; print(length(\$s),"\n"); print("To lower case: "); print(lc(\$s),"\n...
June 09, 2019

## multiplication table

print "Enter the number:"; \$n = <> ; print"\nMultiplication Table Of \$n>>"; for(\$i=1;\$i<=10;...
June 09, 2019

## To demonstrate basic arithmetic operators

#!/usr/local/bin/perl print "Enter first number : "; \$a = <>; print "Enter second Number : "; \$b =...
June 09, 2019

## Prime number in perl

#!/usr/local/bin/perl print "Enter a number : "; \$num = <>; for(\$i=2;\$i<=\$num-1;\$i++) { if(\$num%\$...
June 09, 2019

## Even/Odd program in perl

#!/usr/local/bin/perl print "Enter a number"; \$num = <>; \$d=\$num%2; if(\$d==0) { print "Even numbe...
June 09, 2019