Home > Software engineering >  C language, using VC programming, a freshman novices.
C language, using VC programming, a freshman novices.

Time:09-19

Input number 10 in the array is a, then enter a number x, find all the same as the x array element (there may be multiple and x the same value), the output values under all of the same element with x at the same time the output is the same as x the number of elements, if not found, No output,

Input format:
The input data has two lines, the first line of input 10 integers, with a space interval, the second line to find the number of x

The output format:
If found, there are two lines of output data, under the first line of the output values (each output values followed by a space), the second line of the output of the same element number, if can't find No output,

Input the sample:
4-3-1 5 5-2 0 9 20 10
5
The output sample:
1
22
(note that the last number of the first line followed by a space) (note that there is no space after the second row number)

CodePudding user response:

Homework or do yourself

CodePudding user response:

This is your homework

CodePudding user response:

Vc, new construction, the console

Built after the main function

CodePudding user response:

This all don't want to do your own, but also learn what xi
  • Related