Question

*C CODE* 1. Declare an array of doubles of size 75 called scoreBonus and initialize all...

*C CODE*

1. Declare an array of doubles of size 75 called scoreBonus and initialize all the elements in the array to 10.5

2.

Declare an array of integers called studentNumbers

The array can hold 112 integers

Prompt and get a number from the user for the third element in the array

Prompt and get a number from the user for the last element in the array

0 0
Add a comment Improve this question Transcribed image text
Answer #1
1)
double scoreBonus[75];
int i;
for (i = 0; i < 75; i++)
    scoreBonus[i] = 10.5;

2)
int studentNumbers[112];
printf("Enter a number: ");
scanf("%d", studentNumbers+2);
scanf("%d", studentNumbers+111);
Add a comment
Know the answer?
Add Answer to:
*C CODE* 1. Declare an array of doubles of size 75 called scoreBonus and initialize all...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT