Question: (Marks 10) Q3: Write a C++ code that takes input from the user and store it in an array. Prints the array in reverse order.

 (Marks 10) Q3: Write a C++ code that takes input from

the user and store it in an array. Prints the array in

(Marks 10) Q3: Write a C++ code that takes input from the user and store it in an array. Prints the array in reverse order. Use bubble sort and print the output. The output should be as Output: Enter the values for array named Yourname[]: Yourname[0]: 1 Yourname[1]: 3 Yourname[2]: 6 Yourname[3): 4 Yourname[4]: 5 The array in reverse order is Yourname[4]: 5 Yourname[3]: 4 Yourname[2]: 6 Yourname[1]: 3 Yourname[0]: 1 The array after bubble sort Yourname[0]: 1 Yourname[1]: 3 Yourname[2]: 4 Yourname[3]: 5 Yourname[4]: 6 Q4: Write a C++ calculator program using functions. The program should take two values from the user and performs the operation on the values by user choice. (Marks 10) (Marks 10) Q2: Describe the code below line by line? Also write the output Code 1 Code 2 #include #include #include #include void main() void main() { int x,a,b,c; int x,i; a=2; i=10; b-4; c = 5; cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!