You are on page 1of 1

Laboratory Exercise

One-Dimensional Array
Machine Problem 6 Date
Name Log in Username
File Name: Surname_MP6.cpp
LES
Laboratory Exercise Score Sheet
Criteria Score
1 Proper program indention.
! Program contains the prescribed comments
" #ariables $ constants are descripti%e o& 'hat it holds
( Program is running 'ithout errors 1)
Displa* the number o& e%en numbers !)
6 Displa* the +rra* bac,'ard !)
- Proper +rra* declaration and initiali.ation !)
/ 0rgani.e Screen La*out 1)
1 Sa%ed to prescribed &older and correct &ilename
Total 100
2ngr. 3her*l Mari M. 4sip
Instructor Date: _______________
Problem Statement:
5rite a program that 'ill as, the user to enter 1) numbers and store the numbers in an arra*.
6he program should onl* accept numbers &rom !) 7 -) onl*. 6he program should displa* the numbers in
ascending order8 descending order8 the sum8 and the a%erage o& the 1) numbers.

You might also like