Question: This program should be in C language. Write a program first to ask the user input a positive integer n to show how many numbers

This program should be in C language. Write a program first to ask the user input a positive integer n to show how many numbers he/she wants to input later. Then use a loop to get the n positive integer inputs. After that, output the second maximum number.

For example:

Input the number of integers you want to input: 8

Input Integer 1:3

Input Integer 2:5

Input Integer 3:6

Input Integer 4:2

Input Integer 5:7

Input Integer 6:1

Input Integer 7:4

Input Integer 8:9

Your number is 7!

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!