CSE 202: Computer Science II, Winter 2018
Lab 1
  1. Create a program that reads 2 numbers entered by the user and displays the largest of the 2 numbers. The program should not display anything if no numbers where entered. If the numbers are equal, then display one of them.

    Solution

  2. Create a program that reads all numbers entered by the user and displays the largest number entered. The program should not display anything if no numbers where entered. Do not use vectors or arrays in your program.

    Solution

  3. Create a program that finds and displays the maximum values for your computer's unsigned short int, unsigned int, and unsigned long int types. The following restrictions apply to your source code:

    Solution