Modify Activity 2 to create an array of 3 students. Use a loop to fill the array with information, then use a loop to print the information.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter8: Arrays
Section: Chapter Questions
Problem 9PE
icon
Related questions
Question

C++

Modify Activity 2 to create an array of 3 students. Use a loop to fill the array with information, then use a
loop to print the information.
Transcribed Image Text:Modify Activity 2 to create an array of 3 students. Use a loop to fill the array with information, then use a loop to print the information.
void main()
{
}
Student S;
S.name =
S.age = 40;
S.GPA = 3.4;
S.PrintInfo();
"Toni";
Transcribed Image Text:void main() { } Student S; S.name = S.age = 40; S.GPA = 3.4; S.PrintInfo(); "Toni";
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Arrays
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT