>> |
Anonymous
you see fortran on 4chan? PROGRAM area REAL base, height, area PRINT *,'Enter the values for the base and height of a triangle.' READ *, base, height area = (1.0/2.0) * base * height PRINT *,'The area of a triangle with base ', base PRINT *,'and height ', height,' is ', area STOP END
|