Question: Lab2: Write a program that prompts the user to enter six integers and store in a array Then to find and show the followings: 1.

 Lab2: Write a program that prompts the user to enter six

Lab2: Write a program that prompts the user to enter six integers and store in a array Then to find and show the followings: 1. the largest number 2. the largest index of the smallest element Output-Lab2-2018F (run) runi Enter 6 integers: 83563 the largest number: the smalleat element: 3 eal the largest index: BUILD SUCCESSFUL (Cotal time: 12 seconda)

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!