Smart Education
Learning and Knowing in Smart Way!
Saturday, July 22, 2017
How to write a function that takes two value in perl language
#Alamgir, CSE, JUST
sub function
{
($x,$y) = @_;
return ((2*$x)+23+$y);
}
$res = &function(20,10);
print "Resulr is : $res";
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment