KEMBAR78
WAP in C Part 1 | PDF
0% found this document useful (0 votes)
6 views1 page

WAP in C Part 1

The document is a list of programming assignments for a course on Problem Solving Using C Programming at The Bhawanipur Education Society College. It includes basic programming tasks such as arithmetic operations, temperature conversion, commission calculation, salary bonus determination, selection criteria for educational tours, discount calculations, leap year checks, quadratic equation solutions, and triangle classification. Each assignment aims to enhance students' understanding and application of C programming concepts.

Uploaded by

Aks gaming adda
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)
6 views1 page

WAP in C Part 1

The document is a list of programming assignments for a course on Problem Solving Using C Programming at The Bhawanipur Education Society College. It includes basic programming tasks such as arithmetic operations, temperature conversion, commission calculation, salary bonus determination, selection criteria for educational tours, discount calculations, leap year checks, quadratic equation solutions, and triangle classification. Each assignment aims to enhance students' understanding and application of C programming concepts.

Uploaded by

Aks gaming adda
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

The Bhawanipur Education Society College

Department of Computer Science


Problem Solving Using C Programming (DSCC-2)
Assignments List

BASIC PROGRAMS:
1. WAP in C to compute A+B*C+D/E.
2. WAP in C to swap two numbers
(a) Without using a third variable
(b) Using a third variable
3. WAP in C to compute Simple Interest.
4. WAP in C to convert temperature given in Celsius to Fahrenheit scale or vice-versa as
per user input.
5. A salesperson earns a commission of ₹200 per sale. If the total number of sales is 10 or
more, they receive an additional incentive of ₹500.Write a C program to calculate and
display the total earnings of the salesperson based on these conditions.
6. Salary Bonus Calculator: A company gives a bonus based on experience: If the
employee has worked for 5 or more years, they get a 10% bonus on salary. Otherwise,
they get no bonus.
7. WAP to select students for Educational Tour. Conditions: Attendance must be at least
75% and SGPA in the previous Sem should be 7.5 and above.
8. WAP to provide 5% discount to the senior citizens. Conditions: Age is >=60 and billing
amount at least 5000.
9. WAP to check if a given year is a leap year. Conditions
(a) It is divisible by 4 and not divisible by 100 OR
(b) It is divisible by 400
10. WAP in C to find out the roots of a quadratic equation and keep provision for
imaginary roots.
11. WAP in C to check whether a given number is odd or even.
12. WAP to take three side lengths of a triangle as input and print whether the triangle is
Equilateral, Isosceles, or Scalene.

You might also like