Just random mumbling
Time pass to be honest,may work as a reference later,I am not sure.
Showing posts with label
Return sum of two numbers using a subroutine in perl
.
Show all posts
Showing posts with label
Return sum of two numbers using a subroutine in perl
.
Show all posts
Wednesday, October 19, 2022
Return sum of two numbers using a subroutine in perl
sub
sum
{
return
@_
[
0
]
+
@_
[
1
];
}
print
sum
(
10
,
5
);
Older Posts
Home
Subscribe to:
Posts (Atom)