Posted by **Febby-1** on Thursday, April 12, 2007 at 12:53pm.

Please do help in providing solution to this question, thanks:

Write a Fortran program that requests for three numbers from the keyboard, subtracts 48 from their sum and then divides the result by 6 before sending the output to the screen.In the input statement, let the program use the following specification for the three numbers: length is 8, decimal places are 3. The output should be unformatted.

This should be fairly straight forward.

Your program will do the following steps:

1) Ask the user to type in 3 numbers. It would be easier to have them enter them in 3 different input fields.

2) Add the numbers together to get the sum.

3) Subtract 48 from the number. Enter that amount as the new variable.

4) Divide the variable by 6 then use the Print command to show it on the screen and use those length and decimal place restrictions on it...however that is done in Fortran.

Matt

## Answer This Question

## Related Questions

- Computer - Programming - Please how can I use WATFOR 77 software to code and run...
- Computer - Programming - Please waht are meaning of the following functions when...
- computer programming - Write a fortran program to compute the geometric ...
- MATH - WRITE A SIMPLE BUT A COMPLETE FORTRAN PROGRAM TO COMPUTE THE AVERAGE OF ...
- computer science programming - Elements – sequence-series outputting Write a ...
- Programming - Read two numbers from the keyboard Display the menu options as ...
- Java programming - Need help here how to do this program write the definition of...
- Programming - Write a pseudocode for the following scenario. You are to continue...
- Computer Programming - Java Programming Question: basically want to keep the ...
- C programming, not C++ - design and implement such a function and use it in a ...

More Related Questions