c++ In this program ask the user what name they prefer for their file, and make a...

80.2K

Verified Solution

Question

Programming

c++

In this program ask the user what name they prefer for theirfile, and make a file, the file name should za file.

Get a number from the user and save it into the create file.should be more than 20 number in any order.

print out all 20 numbers in a sorted array by using for loop,last print out its total and average.

At last create a function in which you will call it from mainand swap all the numbers in that function, only one function.

Answer & Explanation Solved by verified expert
4.5 Ratings (718 Votes)
Below is your required    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students