Question: solve it please with explain Write a complete C++ program that contains a main function. a) Allow the user to enter his/her name then display
Write a complete C++ program that contains a main function. a) Allow the user to enter his/her name then display it in capital case. b) Allow the user to enter the size and elements of an array. c) Sort the array using bubble sort technique. d) Display the array. e) Find the array's range. (The Range of Elements = Largest Number - Smallest Number) f) Check if there is an element which its value is equal to the range. Sample run 1: Enter your name: sara Your name in capital case is: SARA SARA Enter the array size: 5 SARA Enter 5 elements: 621051 Your sorted Array: 125610 The range of your array: 9 There is no item equal to the range
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
