With the statement, With the statement, int grades[] = [70,80,90,100,50); int grades[] = [70,80,90,100,50); What is statement to change the array element 90 to 95? What is statement to assign user input to array element 50? O grades[2)=95; scanf("%d", grades[5]); O grades(3)-95; scanf("%d", &grades[4]); O grades[3]=95; scanf("%d", &grades[5]); O grades(2)-95; O scanf("%d", grades[4]);

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter8: Arrays
Section: Chapter Questions
Problem 4MQ2
icon
Related questions
Question
100%

Please choose the correct answer! I'll rate! 

With the statement,
With the statement,
int grades[) = {70,80,90,100,50};
int grades[) = {70,80,90,100,50};
What is statement to change the array element 90 to 95?
What is statement to assign user input to array element 50?
O grades[2]=95;
scanf("%d", grades[5]);
grades(3)-95:
scanf("%d", &grades[4]);
grades[3]=95;
scanf("%d", &grades[5]);
O grades(2)=95;
scanf("%d", grades[4]):
Transcribed Image Text:With the statement, With the statement, int grades[) = {70,80,90,100,50}; int grades[) = {70,80,90,100,50}; What is statement to change the array element 90 to 95? What is statement to assign user input to array element 50? O grades[2]=95; scanf("%d", grades[5]); grades(3)-95: scanf("%d", &grades[4]); grades[3]=95; scanf("%d", &grades[5]); O grades(2)=95; scanf("%d", grades[4]):
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
SQL Functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning