0

I need help!!! !I am just starting a programming class but teacher hasn't taught anything about writing pseduocode, yet she expects us to be able to do so. Here is what she wants me to do, but the book doesn't elaborate much on this.
Any help will be appreciated even if its just a little bit.

1. Write a pseudocode algorithm that will print out the numbers one through one hundred. You must use a loop (repetition) to do this.


2. Write a pseudocode algorithm that reads in the variables Score1 and Score2 calculates which of the two values entered is the lowest value. Print out the lowest of the two scores entered.

3
Contributors
3
Replies
4
Views
8 Years
Discussion Span
Last Post by Grn Xtrm
0

This is a pretty simple task.
For part one you need to use a for loop.
For part two use an if statement to see which value is larger.

0

A while loop would work just find and is easier to understand.

Not sure about easier to understand but yes a while loop can be used to accomplish part one. For loops aren't all that complicated. ;)

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.