Gymnasts Gymnast and Medal: Jaimey Gold Jessica Bronze Georgia Gold Jaden Gold Percentage for Gold: 75% got gold OK Program has two arrays, namely, name and mark array. Array values have been hard- coded. Output must be displayed via a message box that has two message variables, namely, message1, which will have all names within it, and message2, which will show the percentage of gymnasts who won gold (thus accumulation is required as to how many won gold?). int x; string] names ={"Jaimey", "Jess", "Georgia", "Jaden" %3D }; string] medals = { "Gold", "Bronze", "Gold", "Gold" }; ; double totalGold = 0, percGold; %3D string message1 = "Gymnast and Medal: "+ "\n";

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section7.1: One-dimensional Arrays
Problem 10E: (Electrical eng.) Write a program that specifies three one-dimensional arrays named current,...
icon
Related questions
Question

Programming language is C#

4G
MTN-SAO
10:26
Gymnasts
Gymnast and Medal:
Jaimey Gold
Jessica Bronze
Georgia Gold
Jaden Gold
Percentage for Gold:
75% got gold
OK
Program has two arrays, namely, name and
mark array. Array values have been hard-
coded.
Output must be displayed via a message box
that has two message variables, namely,
message1, which will have all names within it,
and
message2, which will show the percentage of
gymnasts who won gold (thus accumulation
is required as to how many won gold?).
int X;
string] names ={"Jaimey", "Jess", "Georgia", "Jaden"
%D
};
string medals = { "Gold", "Bronze", "Gold", "Gold" }; ;
double totalGold = 0, percGold;
%3D
%3D
string message1 = "Gymnast and Medal: " + "\n";
string message2 = "Percentage for Gold: " + "\n";
Transcribed Image Text:4G MTN-SAO 10:26 Gymnasts Gymnast and Medal: Jaimey Gold Jessica Bronze Georgia Gold Jaden Gold Percentage for Gold: 75% got gold OK Program has two arrays, namely, name and mark array. Array values have been hard- coded. Output must be displayed via a message box that has two message variables, namely, message1, which will have all names within it, and message2, which will show the percentage of gymnasts who won gold (thus accumulation is required as to how many won gold?). int X; string] names ={"Jaimey", "Jess", "Georgia", "Jaden" %D }; string medals = { "Gold", "Bronze", "Gold", "Gold" }; ; double totalGold = 0, percGold; %3D %3D string message1 = "Gymnast and Medal: " + "\n"; string message2 = "Percentage for Gold: " + "\n";
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Introduction to computer system
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
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning