For a one-dimensional array of numbers (use 1 to 10, in ascending order), write a function that displays the array elements in reverse order.C++ Programming

Problem 1

 

For a one-dimensional array of numbers (use 1 to 10, in ascending order), write a function that displays the array elements in reverse order.

  • Please note that, for simplicity, you can have the in-order numbers in your program rather than entering as part of the program

 

Problem 2

 Write a program which accepts a string of content and then replaces every occurrence of the letter e with the letter x.

  • For example, if you entered the expression For example, the output would be For xxamplx

 

Problem 3

 Write a program which accepts a traditional name entry of first name followed by last name and then displays the name as last name, first name.

  • For example, if you entered the name Michael Smith, the output would be Smith, Michael

 

Problem 4 (optional, for 10 bonus points)

 Modify the program you wrote for Problem 3 to include an array of 5 names.

Attachments:

Instructions Files

C++ Programming Experts

expert
Dinh Hong P.
C++ Programming

20 Answers

expert
Eric Bell
C++ Programming

88 Answers

View More Experts
Disclaimer

The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.

Get Free Quote!

264 Experts Online