To view this notification widget you need to have JavaScript enabled. This notification widget was easily created with NotifySnack.
  Loading... Please wait...

1. Change the code to average 20 integers as opposed to 10. Support your experimentation with screen captures of executing the new code.

Price:
$12.99


Product Description

 

1. Change the code to average 20 integers as opposed to 10. Support your experimentation with screen captures of executing the new code.

 

2. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the code you created after step 1.

 

3. What happens if you entered a value other than an integer? (For example a float or even a string). Support your experimentation with screen captures of executing the code.

4. Modify the code to allow the user to enter an unspecified number of positive integers and calculate the average. In other words, the user could enter number of positive integers. (Hint: You can prompt the user for how many they want to enter. Or; you could use a sentinel value to trigger when the user has completed entering values). You may need to conduct some research on your own to solve this problem. Prepare a new test table with at least 3 distinct test cases listing input and expected output for the code you created. Support your experimentation with screen captures of executing the new code.

Products by Category

Add to Wish List

Click the button below to add the 1. Change the code to average 20 integers as opposed to 10. Support your experimentation with screen captures of executing the new code. to your wish list.

You Recently Viewed...