(Solved) : Using C Please Write Code Also Make Sure Bonus Part Also Included Figure Average Scores Q42773441 . . .

Using C++, please write the code and also make sure the bonuspart is also included, where it does figure out the average of thescores.

(07CH7) Assignment Instructions Last Changed: 11/11/2018 Read and follow the directions below carefully and perform the steps

Below the comment block, type the actual C+code forthe problem described in step 3 above. Below are some functions to include

Aftercompleting your C++ program as instructed in Step 3 above, make sure to build/compile and run your program. Your output

(07CH7) Assignment Instructions Last Changed: 11/11/2018 Read and follow the directions below carefully and perform the stepsin the order listed. You will be solving one program as instructed and turning in yourwork electronicallyvia an uploaded file with in Eagle Online. Make sure and check your work priorto uploading the assignment (Print this instruction sheet if needed) Instructions Using Visual Studio, or Xcode, create a new empty project in your working drive. Name the Project: 07LastFirst 1 (NOTE: where LastFirst is youractual Lastname and Firstname. For Example, if yourname is Mary Smith then your empty projectfolderwill be named 07SmithMary) Keep the defaultfilename forthe source file: source.cppin Visual Studio, or main.cpp in Xcode 2. (NOTE:if yourfilenames are incorrect, don’t try to rename them. Either start over or leave them as is) 3. You will developa Ct+ modular program for the problem described below Write a modular program that lets a student enter 7 quiz scores into an array of integers. The program should then keep count of the number of quizzes the student failed (NOTE: passing grade is 60 and above) and print appropriate messages as follows: quiz scores to input for TEST RUN 1 // Example Display of TEST RUN 1: Enter 7 quiz scores:J60 70 80 90 90 9e 90 Congratulations ! you passed all 7 quizzes Press any key to continue Step 5a. Step 5c quiz scores to input for TEST RUN 2 //TEST RUN 2 Display Enter 7 quiz scores: 10 20 30 40 50 60 7e You failed in 5 quiz(zes) Press any key to continue 4 The first thing you should enterin your.cpp file is a comment block which includes the following: Name: Enter your full name here Lab: Chapter 7 – Arrays Description: This needs to be at least a paragraph explanation of the program (in your Own words) Page 1 of3 Below the comment block, type the actual C+code forthe problem described in step 3 above. Below are some functions to include in your program (HiINT: Snapshot below displays the sample C++ code with function prototypes and function calls thatyou can use to define the belowfunctions): 5. a. getQuizScores () Thisshould be a void function that accepts one quizArray argument, which asks the student to enter 7 quiz scores, and stores itin the quizArray (HINT: use appropriate promptfor entering quiz sco res as shown in Step 5a. in the above snapshot) b. returnFailCount ( This should be a value returning function that acce pts one quizArray argument, which determines and returns the count offailed quiz score (s) in the quizArray. displayMessage( c. This should be a void function that accepts one failCount argument, which displays appropriate messages (HINT use appropriate messagesforfailed/passed quizscores as shown in Step 5c. in the above snapshot) Make sure to use the following in your program: Include appropriate preprocessor dire ctives Define appropriate variables and CONSTANTS Within a comment block have a description priorto each function describing in your own words the purpose of thatfunction Have properindentation and line spacing for readability of your program Have enough documentation for understandabil ity of your program Make sure to test your program at least twice with inputvalues ash shown in the // Global constants const int SIZE 7; const int PASS_LIMIT 60; 12 13 14 15 1 Function prototypes void getQuizScores ( int []); int returnFailCount ( int []); void displayMessage (int); 16 17 18 19 20 aint main 21 22 int quizArray[SIZE ]; int failCount; 23 24 25 getQuizScores(quizArray) ; failCount returnFailCount (quizArray); displayMessage (failCount); 26 27 28 29 system(“pause”); return 0; | } 30 31 32 Define getQuizScore0, returnFailCount ), & displayMessage0 functions here… Aftercompleting your C++ program as instructed in Step 3 above, make sure to build/compile and run your program. Your output should look similarto snapshots shown in Step 3 above. BONUS (5 points) 6. 7. Afteryou getthe above working, for bonus points you can find the average of the 7 quizscores and display as shown in the example display be low: Enter 7 quiz scores: 10 20 30 40 50 60 70 You failed in 5 quiz(zes) Your quiz average is 21.43 Press any key to continue Average quiz score You may now proceed to upload the source.cpp or main.cpp with the C++ code created in step 2 above. 8. You may now proceed to the link within this Module to UPLOAD the assignment and then further complete the Quiz and Discussion. Show transcribed image text (07CH7) Assignment Instructions Last Changed: 11/11/2018 Read and follow the directions below carefully and perform the stepsin the order listed. You will be solving one program as instructed and turning in yourwork electronicallyvia an uploaded file with in Eagle Online. Make sure and check your work priorto uploading the assignment (Print this instruction sheet if needed) Instructions Using Visual Studio, or Xcode, create a new empty project in your working drive. Name the Project: 07LastFirst 1 (NOTE: where LastFirst is youractual Lastname and Firstname. For Example, if yourname is Mary Smith then your empty projectfolderwill be named 07SmithMary) Keep the defaultfilename forthe source file: source.cppin Visual Studio, or main.cpp in Xcode 2. (NOTE:if yourfilenames are incorrect, don’t try to rename them. Either start over or leave them as is) 3. You will developa Ct+ modular program for the problem described below Write a modular program that lets a student enter 7 quiz scores into an array of integers. The program should then keep count of the number of quizzes the student failed (NOTE: passing grade is 60 and above) and print appropriate messages as follows: quiz scores to input for TEST RUN 1 // Example Display of TEST RUN 1: Enter 7 quiz scores:J60 70 80 90 90 9e 90 Congratulations ! you passed all 7 quizzes Press any key to continue Step 5a. Step 5c quiz scores to input for TEST RUN 2 //TEST RUN 2 Display Enter 7 quiz scores: 10 20 30 40 50 60 7e You failed in 5 quiz(zes) Press any key to continue 4 The first thing you should enterin your.cpp file is a comment block which includes the following: Name: Enter your full name here Lab: Chapter 7 – Arrays Description: This needs to be at least a paragraph explanation of the program (in your Own words) Page 1 of3
Below the comment block, type the actual C+code forthe problem described in step 3 above. Below are some functions to include in your program (HiINT: Snapshot below displays the sample C++ code with function prototypes and function calls thatyou can use to define the belowfunctions): 5. a. getQuizScores () Thisshould be a void function that accepts one quizArray argument, which asks the student to enter 7 quiz scores, and stores itin the quizArray (HINT: use appropriate promptfor entering quiz sco res as shown in Step 5a. in the above snapshot) b. returnFailCount ( This should be a value returning function that acce pts one quizArray argument, which determines and returns the count offailed quiz score (s) in the quizArray. displayMessage( c. This should be a void function that accepts one failCount argument, which displays appropriate messages (HINT use appropriate messagesforfailed/passed quizscores as shown in Step 5c. in the above snapshot) Make sure to use the following in your program: Include appropriate preprocessor dire ctives Define appropriate variables and CONSTANTS Within a comment block have a description priorto each function describing in your own words the purpose of thatfunction Have properindentation and line spacing for readability of your program Have enough documentation for understandabil ity of your program Make sure to test your program at least twice with inputvalues ash shown in the // Global constants const int SIZE 7; const int PASS_LIMIT 60; 12 13 14 15 1 Function prototypes void getQuizScores ( int []); int returnFailCount ( int []); void displayMessage (int); 16 17 18 19 20 aint main 21 22 int quizArray[SIZE ]; int failCount; 23 24 25 getQuizScores(quizArray) ; failCount returnFailCount (quizArray); displayMessage (failCount); 26 27 28 29 system(“pause”); return 0; | } 30 31 32 Define getQuizScore0, returnFailCount ), & displayMessage0 functions here…
Aftercompleting your C++ program as instructed in Step 3 above, make sure to build/compile and run your program. Your output should look similarto snapshots shown in Step 3 above. BONUS (5 points) 6. 7. Afteryou getthe above working, for bonus points you can find the average of the 7 quizscores and display as shown in the example display be low: Enter 7 quiz scores: 10 20 30 40 50 60 70 You failed in 5 quiz(zes) Your quiz average is 21.43 Press any key to continue Average quiz score You may now proceed to upload the source.cpp or main.cpp with the C++ code created in step 2 above. 8. You may now proceed to the link within this Module to UPLOAD the assignment and then further complete the Quiz and Discussion.

Expert Answer


Answer to Using C++, please write the code and also make sure the bonus part is also included, where it does figure out the averag…

Leave a Comment

About

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.

Quick Links

Browse Solutions

Place Order

About Us

× How can I help you?