Question: Users/kailyn.davls avIS/U What are three general methods of implementing a programming languge . What are syntax and semantics of a programming language? 4. Given the
Users/kailyn.davls avIS/U What are three general methods of implementing a programming languge . What are syntax and semantics of a programming language? 4. Given the follow FORTRAN program, explain what this program does program test implicit none luse of a simple menu real:: x, y,answer integer: choice !set up the menu the user may enter 1, 2 or 3 print *, 'Choose an option' print '1 Multiply' print 2 Divide' print *3 Add' read *, choice x 3.4 y 2.9 !the following line has 2 consecutive lequals signs (no spaces in between) if (choice.= 1) then answerx*y print *, 'result ,answer end if if (choice2) then answer-x/y print ,'resulta nswer end if if (choice3) then answer-xty print *,'result ',answer = end if end program test Give the following FORTRAN program above, write a JA VA program that equivalent. 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
