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