0% found this document useful (0 votes)
0 views1 page

C Lab Assignment 2

This document outlines a C programming lab assignment consisting of 12 tasks. The tasks include calculations such as power, product of floating-point numbers, size of variables, and operations like division, increment/decrement, and digit manipulation. Additionally, it covers topics like simple interest calculation, quadratic equations, and ASCII value determination.

Uploaded by

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

C Lab Assignment 2

This document outlines a C programming lab assignment consisting of 12 tasks. The tasks include calculations such as power, product of floating-point numbers, size of variables, and operations like division, increment/decrement, and digit manipulation. Additionally, it covers topics like simple interest calculation, quadratic equations, and ASCII value determination.

Uploaded by

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

C Programming Lab (Assignment 2)

1. WAP to find 5 power 10.

2. Find the product of two floating point numbers.

3. WAP to print the size of variables like int, float etc

4. WAP to find the quotent and remainder in a division.

5. WAP to show the result of pre increment, post increment, pre decrement and

post decrement

6. If a five digit number is input through keyboard, write a program to find the sum

of its digits.

7. WAP to take input a three digit number from key board and reverse it.

8. Total selling price of 15 items and total profit input through keyboard. WAP to find

cost price of one item.

9. WAP to find the sum of first and last digit of a three digit number.

10. Write a program to find the simple interest where amount, rate percentage and

year is given as key board input.

11. Write a program to obtain solution of second order quadratic equation.

12. Write a program to Find ASCII Value of a Character.

You might also like