[SOLVED] CSE100 Algorithm Design and Analysis lab00

30.00 $

Category: Tags: , , , , , ,
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon Lab_00-kcef0z.zip (21.9 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
đź”’ Securely Powered by:
Secure Checkout
5/5 - (1 vote)

Find Max and Min

Description This lab is indented to help you understand how you should test and submit your own code. Therefore, we provide a solution (yourid.cpp). This lab will be worth ZERO points but we still strongly encourage you to submit your code to see if you’ve completely understood how submission and grading work.

Input structure The input starts with an integer number which indicates the number of elements (integers) in the input sequence, n. Then, the elements in the sequence follow, one per line.

Output structure Output the maximum of all numbers in the sequence, followed by a semi- colon and the minimum number. There should be no white character in your output.

Examples of input and output:

Input 6 15 13 12 11 16 14

Output 16;11

See the lab guidelines for submission/grading, etc., which can be found in Files/Labs or in

the CatCourses page for this assignment.

 

  • Lab_00-kcef0z.zip