C Program to find large number between two numbers
write(*,*)'Input the two numbers:'
read(*,*)a,b
large=a
if(large.lt.b)then
large=b
write(*,*)'The large number is',large
else
write(*,*)'The large number is',large
end if
end
write(*,*)'Input the two numbers:'
read(*,*)a,b
large=a
if(large.lt.b)then
large=b
write(*,*)'The large number is',large
else
write(*,*)'The large number is',large
end if
end
Comments
Post a Comment