Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please i need help with this and the language is c++ but the IDE is cloud 9 thank you Write a C++ program in this

image text in transcribed
please i need help with this and the language is c++ but the IDE is cloud 9 thank you
Write a C++ program in this new file. Hint: you can use helloworld.cpp as a template. In this new file, write a program that does the following: 1. (4 points) Accepts 10 integers from the user using an array and a loop. The user will type the input on the console. 2. (4 points) Prints the numbers entered by the user in reverse order from the order in which they were entered. This output is displayed on the console. 3. (8 points) Sorts the contents of the array from lowest to highest number and displays the numbers in this new, sorted order. o Note: You are allowed to use any existing sorting algorithm. However, you are NOT allowed to use a library implementation of the algorithm. You must implement the algorithm from scratch. o Two simple algorithms that could be used for this task are Bubble Sorte (url: https://en.wikipedia.org/wiki/Bubble s 2) and Insertion Sorte (url: https://en.wikipedia.org/wiki/Insertion c). You may implement either one or choose another one if you prefer

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

Advances In Spatial And Temporal Databases 10th International Symposium Sstd 2007 Boston Ma Usa July 2007 Proceedings Lncs 4605

Authors: Dimitris Papadias ,Donghui Zhang ,George Kollios

2007th Edition

3540735399, 978-3540735397

More Books

Students also viewed these Databases questions

Question

c. What were the reasons for their move? Did they come voluntarily?

Answered: 1 week ago

Question

5. How do economic situations affect intergroup relations?

Answered: 1 week ago