Problem 6
Write an input validation loop that asks the user to enter "Yes" or "No".
Problem 13
Write a for loop that repeats seven times, asking the user to enter a number. The loop should also calculate the sum of the numbers entered.
Problem 15
Why should you be careful when choosing a sentinel value?
Problem 16
What is the difference between an input file and an output file?
Problem 20
What classes do you use to read data from a file?
Problem 24
Assume \(x\) is an int variable, and rand references a Random object. What does the following statement do? \(x=\) rand \(.\) next \(\operatorname{Int}(1)\)