Lab 2
Lab 2
Programming Fundamentals
Lab Manual
RESULT
Lab Task 2: Write a C++ code which get three numbers from
user and find their average.
CODE WRITTEN:
RESULT
LAB TASK 3: Write a program which get distance
and time from user and calculate the velocity
Code WRITTEN:
RESULT:
Lab Task 4: Write a program that prompts the user to
input a length expressed in centimeters. The program
should then convert the length to inches (to the nearest
inch) and output the length expressed in yards, feet, and
inches, in that order.
CODE WRITTEN:
RESULT: