ECE 1574 Practice Test

ECE 1574 Practice Test - 5-The user should be able to...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ECE 1574 Practice Test Name:____________________________________________ Spring 2008 Develop a program that meets the following requirements. 1-Calculates and outputs the sum of an unknown number of numbers that are entered by a user 2-Calculates and outputs the square root of the sum of an unknown number of numbers that are entered by a user (same as (1) above except calculates the square root) 3-The user initiates the calculation of (1) above by entering the word “sum” in all lower case 4-The user initiates the calculation of (2) above by entering the word “sqrt” in all lower case
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 5-The user should be able to continue to execute either (1) or (2) above without leaving the program 6-The user exits the program by entering the word “exit” in all lower case Upload your cpp file solution to the Practice Test link on Blackboard Honor Code Statement: I have neither given nor received aid on this test. Signature: ________________________________________________________...
View Full Document

This note was uploaded on 03/31/2008 for the course ECE 1574 taught by Professor Rpbroadwater during the Fall '08 term at Virginia Tech.

Ask a homework question - tutors are online