Write a program that accepts a series of numbers, stores the numbers into an array, writes the numbers, square root and the cube root of the numbers, the sum of the numbers, the sum of the square root of the numbers, and the sum of the cube root of the numbers. Round off floating point numbers up to the second decimal place. The following is a sample run of the program: How many numbers will you input? 5 Input 5 numbers: 3 12 15 Square Root 1.73 2.45 Numbers Cube Root 1.44 1.82 2.08 2.29 6. 9. 3.00 3.46 3.87 14.52 12 15 2.47 Total 45 10.09 Try again [Y/N]? N Thank you.
Write a program that accepts a series of numbers, stores the numbers into an array, writes the numbers, square root and the cube root of the numbers, the sum of the numbers, the sum of the square root of the numbers, and the sum of the cube root of the numbers. Round off floating point numbers up to the second decimal place. The following is a sample run of the program: How many numbers will you input? 5 Input 5 numbers: 3 12 15 Square Root 1.73 2.45 Numbers Cube Root 1.44 1.82 2.08 2.29 6. 9. 3.00 3.46 3.87 14.52 12 15 2.47 Total 45 10.09 Try again [Y/N]? N Thank you.
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 11PE
Related questions
Question
Problem 29 - Arrays
C++ program pls
![Write a program that accepts a series of numbers, stores the numbers into an array, writes the numbers,
square root and the cube root of the numbers, the sum of the numbers, the sum of the square root of the
numbers, and the sum of the cube root of the numbers. Round off floating point numbers up to the
second decimal place. The following is a sample run of the program:
How many numbers will you input? 5
Input 5 numbers:
9
12
15
Square Root
1.73
2.45
3.00
3.46
3.87
Numbers
Cube Root
3
6.
1.44
1.82
2.08
2.29
12
15
45
2.47
10.09
Total
14.52
Try again [Y/N]? N
Thank you.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F9de5964c-247f-4faa-b3fa-5410d242dc5a%2F4c620d62-7175-4faf-ad09-e8e4b0ab19d3%2F6onjpwa_processed.jpeg&w=3840&q=75)
Transcribed Image Text:Write a program that accepts a series of numbers, stores the numbers into an array, writes the numbers,
square root and the cube root of the numbers, the sum of the numbers, the sum of the square root of the
numbers, and the sum of the cube root of the numbers. Round off floating point numbers up to the
second decimal place. The following is a sample run of the program:
How many numbers will you input? 5
Input 5 numbers:
9
12
15
Square Root
1.73
2.45
3.00
3.46
3.87
Numbers
Cube Root
3
6.
1.44
1.82
2.08
2.29
12
15
45
2.47
10.09
Total
14.52
Try again [Y/N]? N
Thank you.
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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.Recommended textbooks for you
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning