Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSCI1411-Lab09-Pointers and dynamic allocation (Compatibility Mode]-Word LE HOME INSERT DESION PAGE LAYOUT REFERENCES MATUNGSREVEW VISWFORMAT PICTURE TOOLS Thon TNormal 1No Spac.. Heading 1 board G

image text in transcribed
CSCI1411-Lab09-Pointers and dynamic allocation (Compatibility Mode]-Word LE HOME INSERT DESION PAGE LAYOUT REFERENCES MATUNGSREVEW VISWFORMAT PICTURE TOOLS Thon TNormal 1No Spac.. Heading 1 board G Font Paragraph Styles Please try this on your own in future programs, especially those dealing with pointers and addresses memory Part II Average Scores.(15 pts) Use a single file (yourlastnamelab@b.cpp) Write a main function that dynamically allocates an array large enough to hold a user defined number of test scores Input all of those scores and add to the dynamic array. Pass that dynamic array function that calculates and returns the Page 4 of 5 average score. The program should display list of scores and the average. Run the program and take a screenshot of the output. Place it belovw How many scores to enter?3 Enter the test scores Test 1: 4 Test 2: 5e Test 3: 100 Test scores in ascending orderi 4.00 50.00 100.00 Averaoe: 51.33 . Turn in yourlastnametabo9b.cpp to canvas along with this lab with 2 screenshots PAGE 4 OF S 729 WORDs 100 PM

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Mining Concepts And Techniques

Authors: Jiawei Han, Micheline Kamber, Jian Pei

3rd Edition

0123814790, 9780123814791

More Books

Students also viewed these Databases questions

Question

Compute the derivative of f(x)cos(-4/5x)

Answered: 1 week ago

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

Differentiate tan(7x+9x-2.5)

Answered: 1 week ago

Question

Explain the sources of recruitment.

Answered: 1 week ago

Question

What is typically covered in the work plan for a report? [LO-1]

Answered: 1 week ago