Professional Documents
Culture Documents
Program 2
Program 3
Program 4
Program 5
Problem 8 Write a program that accepts length in inches(integer value) and convert
them into feet and yards.
Program 9 Write a program to compute area of a triangle whose sides a,b,c are given.
[later on pre assume that the length given as inputs are valid lengths. Later on, you need
to perform a check whether
a+b>c, b+c>a and c+a >b are true before finding the area.]
Program10 Write a program that accept two integer number from user, and swap two
given numbers with and without using third variable ( +, - operator).