procedure with loop [message #621193] |
Mon, 11 August 2014 08:55 |
tuckersuz
Messages: 26 Registered: July 2009
|
Junior Member |
|
|
I need to write a procedure that uses a numeric For Loop with 10 iterations.
The first five iterations should assign the variables school_yr and semester to 2010 and SPRING respectively.
The second five iterations should assign the variables school_yr and semester to 2012 and FALL respectively.
Each iteration should print out school_yr and semester on one line.
The output should look like this:
2010/SPRING
2010/SPRING
2010/SPRING
2010/SPRING
2010/SPRING
2012/FALL
2012/FALL
2012/FALL
2012/FALL
2012/FALL
How can I do this?
thanks
|
|
|
|
|
|
|
|
Re: procedure with loop [message #621200 is a reply to message #621198] |
Mon, 11 August 2014 09:32 |
Lalit Kumar B
Messages: 3174 Registered: May 2013 Location: World Wide on the Web
|
Senior Member |
|
|
Feedback? Cross-post doesn't help to gain attention in getting answers quickly, rather, it annoys the folks willing to help.
You apologized, ok, now feedback please.
|
|
|