Use C program and array,   Make a program that will input any random integer in one line. Then, it will print out all the numbers I've inputted, on separate lines.   Example: Input (The first line contains the size of the array. The next line contains the integers separated by a space.) 4 5 19 20 97   Output (Multiple lines containing integers on each) 5 19 20 97

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 11PE
icon
Related questions
Question
100%

Use C program and array,

 

Make a program that will input any random integer in one line. Then, it will print out all the numbers I've inputted, on separate lines.

 

Example:

Input (The first line contains the size of the array. The next line contains the integers separated by a space.)

4

5 19 20 97

 

Output (Multiple lines containing integers on each)

5

19

20

97

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning