Question: Intro to Programming in C - Program must be in C 1. Declare an array of doubles of size 145 called bonusPoints and initialize all

Intro to Programming in C - Program must be in C

1.

Declare an array of doubles of size 145 called bonusPoints and initialize all the elements in the array to 1.5 (HINT: use a loop)

2.

Declare an integer and an array of doubles called scores The array can hold 145 doubles Ask the user how many scores they want to enter (up to 145) Get the number from the user Fill the array with with user input (HINT: use a loop and prompt for input) For example if the user entered 100 you would write a loop to have the user enter the 100 scores one by one

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!