Question: 6th. Answer. @num =(51,20,30,40,50); # sample number taken we can take number as per our choice it depends on problem. my $max=0; for my $
6th. Answer. @num =(51,20,30,40,50); \# sample number taken we can take number as per our choice it depends on problem. my $max=0; for my $ num(@num)\{ $max=$ num if $ num >$max; 3 print \$max; \#printing largest number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
