Find the maximum
value of the following numbers 4,5,2,3
Solution:
print*, 'enter the value of m,n,p,and P'
read*, i,j,l,m
k=max(i,j,l,m)
print*, 'the maximum value is', k
end
hints: here we
put i= 4,j=5, l=2 and m=3 then we automatically find out the maximum value by
the given formula.
No comments:
Post a Comment