# Computer - Programming

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

1. 👍 0
2. 👎 0
3. 👁 157

## Similar Questions

1. ### Computer - Programming

Please how can I use WATFOR 77 software to code and run the following Fortran program: INTEGER SUM SUM = 0 DO 10 D = 1,7 IF (K.GT.3) THEN SUM = SUM + K ELSE SUM = SUM * K ENDIF PRINT* , SUM 10 CONTINUE END Oh My!!!! Tell me where

asked by Febby on April 12, 2007
2. ### MATH

WRITE A SIMPLE BUT A COMPLETE FORTRAN PROGRAM TO COMPUTE THE AVERAGE OF SIX NUMBERS AND DISPLAY THE NUMBERS, SUM AND AVVERAGE. THE PROGRAM SHOULD TERMINATE WHEN ZERO IS ENTERED AS A NUMBER. THE PROGRAM SHOULD BE EDUCATIVE

asked by EDWIN on June 15, 2011
3. ### Computer - Programming

Please waht are meaning of the following functions when using Fortran i) DSIN ii) AMOD iii) IDIM iv) CABS Thanks Search on Google, each term like this: fortran idim fortran cabs fortran amod fortran DSIN

asked by Sola on April 19, 2007
4. ### computer programming

Write a fortran program to compute the geometric information for a kite. The program should read the a, c and p lengths and compute the q length

asked by Anonymous on March 5, 2015
5. ### Programming

write a fortran program to store scores of five courses of three students

asked by Obioha on November 28, 2019
6. ### MATH

WRITE A SIMPLE BUT A COMPLETE FORTRAN PROGRAM TO CALCULATE THE AREA OF A TRIANGLE

asked by EDWIN on June 15, 2011
7. ### computer science

write a fortran program to read in the scores of 120 students using an array

asked by wizzylion on September 4, 2016
8. ### computer science

write a fortran program to read in the scores of 120 students in a class using an array

asked by wizzy on September 4, 2016
9. ### TI-83 CALC PROGRAM

Please can anyone help me with this or any part of it? Be very grateful as left it too late... Write a program for ti-83 calculator which generates and displays integer values for A, B and C between 1 and 10; • requests the

asked by Jo on June 14, 2010
10. ### Maths

Write a fortran 77 program that can display the score and the average score of 50 student

asked by Chijioke on June 3, 2010

More Similar Questions