p4_14 Subroutine

public subroutine p4_14()

Write a Fortran program to evaluate the function y(x) = ln(1/1-x) for any user-specified value of x, where ln is the natural logarithm. Write the program with a while loop, so that the program repeats the calculation for each legal value of x entered into the program. When an illegal value of x is entered, terminate the program.

Arguments

None

Contents

None