Computer Science 361.01
Fall 2003
Homework 1
Due Thursday, September 4th
1. (15 points) Write a Level 3 VSC-32 program to read in values into two memory locations x and y,
and to output the result x + 2y.
2. (15 points) Write a Level 5 VSC-32 program to read in values into two memory locations x and y,
and to output the result x + 2y.
3. (20 points) Write a Level
6 program (in C++ or Java) that reads in 10
integers and reports both the largest and the second largest. Your program should not do any sorting.