What is the main difference between posttest and pretest loops?
Give examples of cases, when you will use each of them?
Can you code the same functionality using any of them?
To which of these two categories would you place the "for loop"?
Write a pseudocode statement that generates a random number in the range of 1 through 100 and assigns it to a variable named rand.
Design a function named timesTen that accepts an Integer argument. When the function is called, it should return the value of its argument multiplied times 10.
Design a function named getFirst
Looking up a word in a dictionary can be a complicated process. For example, assume you want to look up "logic." You might open the dictionary to a random page and see "juice." You know this word comes alphabetically before "logic," so you flip forward and see "lamb." That is still not far enough, so you flip forward and see "mo
Develop the logic for a program that gives you the following menu options:
(1) Child Movie Ticket 3.00
(2) Twilight Movie Ticket 4.00
(3) Adult Movie Ticket 6.25
(4) Senior Movie Ticket 4.00
(5) End order
You should be allowed to keep ordering from the menu until you press 5 f
Write pseudocode for the Citron Car rental policy below:
Saving a cent on Citron Car Rental
Citron Car rental has 5 sizes of cars that are listed as A through E:
Standard transmission is available only for A, B, and C. Automatic transmission is available for a