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

List of Programs of Unit 1

Uploaded by

adis6469
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)
10 views1 page

List of Programs of Unit 1

Uploaded by

adis6469
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

G L Bajaj Institute of Technology & Management

Department of Master of Computer Applications

List of programs

Subject Code: KCA 151 Subject Name: Problem Solving Using C Lab

UNIT 1

1. Write a program to input and add two numbers


2. Write a program to convert Fahrenheit to Celsius and Celsius to Fahrenheit.
3. Write a program to calculate Area of a rectangle
4. Write a program to Calculate Area and Perimeter of a Circle
5. Write a program to determine the roots of quadratic equation
6. Write a program to Calculate Simple Interest
7. Write a program to Calculate Compound Interest
8. Write a program to swap two numbers using third variable, without using third variable, within
single statement using comma operator.
9. Write a program to input two numbers and find the greatest number using ternary operator.
10. Write a program to find odd/even number using ternary operator.
11. Write a program to Input three numbers and find greatest number using ternary operator.
12. Enter arithmetic operator from user, perform operation on two numbers according to the operator
using ternary operator.
13. Find odd/even number using bitwise operator.
14. Write a program to swap two numbers using bitwise operator.
15. Find exact power of 2 of a given number using bitwise operator.

You might also like