I have an assignment on currency I turned it in, and it is not right by no menas. I had no loops in any module, can anyone explain how to do a loop?
twgood
0
Light Poster
Recommended Answers
Jump to PostFOR or WHILE
as in,
for (count=1; count<= MAX; count++) { <stuff> } ... while(count <= MAX) { <stuff> }
the FOR loop will perform <stuff> MAX number of times before continuing with the rest of the program. note that the variable "count" is incremented once …
Jump to Postum... yes?
Jump to PostIt's correct, the pseudocode. It's very VBish, but it's correct.
All 10 Replies
jephthah
1,888
Posting Maven
twgood
0
Light Poster
jephthah
1,888
Posting Maven
twgood
0
Light Poster
InfernalDrake
0
Newbie Poster
twgood
0
Light Poster
Clockowl
56
Posting Whiz
jephthah
1,888
Posting Maven
varsha0702
0
Newbie Poster
allen.jes
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.