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

Programme For Problem Solving Assignment

The document outlines an assignment for the course Programming for Problem Solving (ES-CS291) for the year 2022. It includes a list of programming problems that students must solve using the C programming language, focusing on various algorithms and calculations. The learning outcome emphasizes the ability to translate algorithms into functioning programs.

Uploaded by

cscience424
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)
1 views1 page

Programme For Problem Solving Assignment

The document outlines an assignment for the course Programming for Problem Solving (ES-CS291) for the year 2022. It includes a list of programming problems that students must solve using the C programming language, focusing on various algorithms and calculations. The learning outcome emphasizes the ability to translate algorithms into functioning programs.

Uploaded by

cscience424
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

Programming for Problem Solving (ES-CS291)

2022
ROLL
NAME

Learning outcome: Students will be able to To translate given


algorithms to a working and correct program

ASSIGNMENT: I

Sl. Problem Listing Date Signature


No
1. Write a C program to convert temperature from degree
Celsius to degree Fahrenheit.
2. Write a program in C to check whether a given year is
leap year or not.
3. Write a program in C to calculate the roots of a quadratic
equation ax2 + bx + c = 0.
4. Write a program in C to find out the maximum of three
numbers.
5. Write a program in C to find out the area and the
circumference of a circle where the radius is given.
6. Write a program in C to compute simple interest and
compound interest.
7. An electric power distribution company charges its
domestic consumers as follows:
Consumption Units Rate of Charge
0 - 200 ₹ 0.50 per unit
201 - 400 ₹ 100 plus ₹ 0.65 per unit
excess of 200
401 - 600 ₹ 230 plus ₹0.80 per unit
excess of 400
601 and above ₹ 390 plus ₹1.00 per unit
excess of 600
Write a program in C to read the customer number and
power consumed and prints the amount to be paid by the
customer.

SIGNATURE OF STUDENT........................................................

SIGNATURE OF FACULTY........................................................

You might also like