Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
~/$ ./p1 Enter x: 10 The sum of the first 3 squared numbers is 14, which is the first greater than 10 ~/$ ./p1 Enter x: 100 The sum of the first 7 squared numbers is 140, which is the first greater than 100 ~/$ ./p1 Enter x: 1000 The sum of the first 14 squared numbers is 1015, which is the first greater than 1000
Example Runs of the Program: (user input in red!)
~/$ ./p2 Enter first time: 3:12:42 Enter second time: 4:06:19 Ellapsed time is 3217 seconds
codeprint p1.cpp p2.cpp... which should also save you some paper.