please use fortran 95 and geanny programm ENGR2216 ortran Programmn Test 1 Durat
ID: 3856945 • Letter: P
Question
please use fortran 95
and geanny programm
Explanation / Answer
program check
Print *, "Enter an integer number n"
integer::n
read *, n
if(n==0) then
Print *, "zero"
else if (n>0 .AND. n%2==0) then
Print *, "Positive and even "
else if (n>0 .AND. n%2!=0) then
Print *, "Positive and odd "
else if (n<0 .AND. n%2==0) then
Print *, "Negative and even "
else if(n<0 .AND. n%2!=0) then
Print *, "Negative and odd "
end if
end program check
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.