Question: In this lab, students will practics how to use recursive subroutines in Fortran 90 programs Write and test a recursive subroutine PrintReverse that accepts an
In this lab, students will practics how to use recursive subroutines in Fortran 90 programs Write and test a recursive subroutine PrintReverse that accepts an integer and displays it in reverse order. The program is as follows, but the subroutine is missing. Hint: For an integer n, we can print the reverse order of n as follows. First print the last digit of n and then print other digits (which is n/10) in reverse order
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
