Re: Help needed
- From: mecej4@xxxxxxxxx
- Date: 30 Oct 2006 08:42:46 -0800
LordOfNoldor wrote:
First of all I want to sat hello to everybody. I'm a newbie (for both
the group and f programming:) and I need your help. I am studying
mechanical engineering and i heard that learning f programming is
necessary for the future. I am studying f myself at home and I'm using
"Programmer's Guide to F" from Brainerd et al. as reference book. I got
stuck at question 4 on page 75. I need to print out the numbers from 1
to 100 that are not perfect squares. I know "do loop" "select case" and
"if" structures but I couldn't combine what I know to reach the answer.
I need someone to show me the way:) Any help would be appreciated....
Several people have already responded, and some have even given you
complete solutions. However, from your postings, I gather that your
difficulties have more to do with what algorithm to use rather than how
to express an algorithm in Fortran.
In any beginner's exercise such as this, the first prerequisite to
writing a program is an understanding an algorithm to solve the
problem, The programming language is only a vehicle to communicate that
understanding to the computer.
Rethink your problem, develop/obtain an algorithm and _then_ come to
this forum with questions.
.
- References:
- Help needed
- From: LordOfNoldor
- Help needed
- Prev by Date: Re: io-unit has been opened
- Next by Date: Re: io-unit has been opened
- Previous by thread: Re: Help needed
- Next by thread: Short records on unformatted reads
- Index(es):
Relevant Pages
|