CISY 125 - In-Class Lab #11
Arrays
Overview: Write a program that will use an array, called Temperature, to store 5 numbers entered from the user. Display the numbers from the Array.
Use a For loop for the Input. Make sure you input into the array.
Use a separate For loop to display the numbers from the array.
Sample Run
Enter Temp? 95
Enter Temp? 85
Enter Temp? 80
Enter Temp? 90
Enter Temp? 70
The numbers entered are:
1 - 95
2 - 85
3 - 80
4 - 90
5 - 70
Save the file as InLab11.BAS
Submitting the program
- Submit the QBasic code electronically (either hand in the In-Class Floppy, or e-mail the QBasic code)
- Submit the QBasic code on paper.