1. Engineering
  2. Computer Science
  3. part ii programming the following problems will be collected and...

Question: part ii programming the following problems will be collected and...

Question details

Part II: Programming. The following problems will be collected and three of them graded. Read instructions carefully! (1) Maximum and minimum Write a program that reads in a list of integer numbers and prints the largest and the smallest number You can assume that the the users input is always valid . You can assume that the numbers in the list are separated by one space character and that the character following the last number in the list is the newline character n . Implement a loop in which the above actions are repeated until the user requests to quit . Submit the solution as hmw 2.1.cpp . Sample input-output: C:Windowslsystem321cmd.exe Enter a 11st of integers: -1 3 45 ?8-56 ? 2 67 ininun integer in the list is-56 naxinun integer in the list is 78 Continue? <y/ y Enter a list of integers:-1 2 3-4 6 9 nin inun integer in the list is -4 xinun integer in the list is 9 ntinue? <y/n> n Press any key to continue .. .
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution