Home > Back-end >  Pta title 7-2 find the maximum number of the elements in an array, and points out its location
Pta title 7-2 find the maximum number of the elements in an array, and points out its location

Time:06-04

7-2 find the maximum number of the elements in an array, and pointed out its position in the PTA for help!!!!
Input format:
From the keyboard to 10 integer array element assignment, separated by a space between,

The output format:
The first largest m number, maximum number is: x,

Input the sample:
Given a set of input here, for example:

24 69 June 8, 687-123-5, 78-900
The output sample:
Here is given the corresponding output, for example:

Several of the biggest eighth position, maximum number is: 687

CodePudding user response:

You feel difficult in where

CodePudding user response:

I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10581430.html
I hope it can help you: https://blog.csdn.net/it_xiangqiang/category_10768339.html
  • Related