Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,149,966 members, 7,806,799 topics. Date: Wednesday, 24 April 2024 at 12:42 AM

Please Help With This Fortran Assignment - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Please Help With This Fortran Assignment (1926 Views)

Fortran / Anybody Remember COBOL And FORTRAN? / How Can I Create Multiplication Table Using Qbasic And Fortran? PLS HELP! (2) (3) (4)

(1) (Reply) (Go Down)

Please Help With This Fortran Assignment by Voned(f): 8:52pm On Feb 26, 2013
plz help with this assignment, someone asked me to help, but i have no knowledge on fortran... Question 1. Write a fortran program to calculate the total and average score in 5 subjects taken by each of 10 students of a university. The scores of the 10 students should be read from the keyboard.
Question 2. write a fortran program to construct a simple time table from 1 to 20. . . Please programmers in the house, help, it is urgent.
Re: Please Help With This Fortran Assignment by MrAnoTi(m): 11:57pm On Feb 26, 2013
shocked Fortran!!!
So it still exists
Re: Please Help With This Fortran Assignment by Mannylex(m): 12:04am On Feb 28, 2013
.
Re: Please Help With This Fortran Assignment by kingdamix(m): 6:59am On Mar 02, 2013
Program average
Integer I, N
Real sum, a, ave
Write(*,1)
1 format('enter n')
Read(*,2) n
2 format(13)
Sum=0.0
do 25 I = 1, n
Read(*,3) a
3 format (f5.2)
Sum = sum+a
25 continue
Ave=sum/float(n)
Write(*,11) ave
11 format ('average =',f8.2)
Stop
End



Hope it's not too late

1 Like 1 Share

Re: Please Help With This Fortran Assignment by Mannylex(m): 12:21pm On Mar 07, 2013
Never too late, someone else might need it.

1 Like

(1) (Reply)

MMM Calculator (mavro) - Android App / I Have Been A Programmer For Some Years Now / Going Into Programming

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 6
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.