Please i need help with Fortran problems - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Please i need help with Fortran problems

Am new to programming. how do i write a fortran program to output the squares and square roots of the first 40 integers and a fortran program to print values between 1 and 100 which are divisible by 5. thanks


  • Pelle-48Pelle-48 Posts: 43Member
    Fortran 77 or Fortran 90?
    The first is very much like the old Fortran from before 1960 but the later is more like newer languages with better structure. Google for "Rosetta Code" and for "John Burkardt's Home Page". You will get a lot of both fortran 77 and fortran 90. Look for the most simple tasks! Remember that if anything like n is divisible with 5 it means n mod 5 = 0
    Good luck!
Sign In or Register to comment.