- The activities of this week are not to be discussed outside
of lab. The quiz is open book but nothing else. You are two write complete
programs. Templates for them are available:
- Write and submit a complete program Multiply.java that
separately prompts its user for three integer values. The program extracts
(reads) and echoes the
inputs and displays their product. Submit the program using
multiply submission.
|
- Write and submit a complete program GoWahoos.java that
prompts its user to supply a line of text. The program extracts (reads)
and echoes the text
and also displays the index of the second occurrence of the
string "Go Wahoos" in the line. Submit the program using
wahoo submission.
You are guaranteed that there will be at least two occurrences of "Go
Wahoos".
- The lab assistants may not help you design, write, or debug the programs.
- To maximize your points, make sure your programs compile successfully. If
things are going bad near the end, you might want to try commenting out errant
statements (i.e., put a // in front of them)