0% found this document useful (0 votes)
14 views

LAB QUESTIONS-1st Submission

Uploaded by

manjunath n
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views

LAB QUESTIONS-1st Submission

Uploaded by

manjunath n
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

LAB QUESTIONS

1. WAP to read two numbers, add them and display their sum
2. WAP to read the radius of a circle, calculate its area and display it
3. Evaluate the arithmetic expression ((a -b / c * d + e) * (f +g)) and display its solution.
Read the values of the variables from the user through console.
4. WAP to find the area of a triangle when sides a,b and c are entered by the user.

5. Write a program to express distance in cm in inches.


6. WAP to calculate the gross salary of an employee if DA is 40% and TA is 25% of
basic pay.
7. WAP to implement a 4-function calculator. It should give sum, difference, product
and quotient when 2 numbers are entered as input.
8. WAP to enter amount in paisa and count number of 50 paisa,25 paisa, 20 paisa, 10
paisa and 5 paisa coins contained in the amount.
9. WAP to read three integer values and find the largest among them.
10. WAP to find the root of quadratic equation.

You might also like