Lab 3: Selection Structures Objective Equipment Personal Computer With C Program Pre-Installed Questions
Lab 3: Selection Structures Objective Equipment Personal Computer With C Program Pre-Installed Questions
Objective To write, compile and execute a program that uses floating point numbers.
Questions
Enter number 1:
Enter number 2:
….
Enter Number 5:
b. Find the minimum and maximum values among these 5 numbers using if
statements
Quadrant II Quadrant I
Fig. 3.1
2. Write a program that takes the x-y coordinates of a point in the Cartesian
coordinate system and displays the points entered while informing the user in
which quadrant (refer to Fig. 3.1) the point lies in.