Display a prompt on the command line


Discuss the below:

Q1. Display a prompt on the command line and accept one interger as input

Q2. Call a function tha outputs seven sequential intergers, with the input interger as the middle item on the command line below the input prompt.

Q3. If the lowest of the seven intergers is greater than zero, output the line "all non-negative intergers" on the next line after the list of numners

Q4. If the lowest of the seven intergers is greater then zero, out put the line "all postive intergers" on the next line

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Display a prompt on the command line
Reference No:- TGS01937124

Now Priced at $20 (50% Discount)

Recommended (92%)

Rated (4.4/5)