Posted in All Posts, Semester 1

Sem 1 – PSCP Unit 1 Programs

PSCP – Problem Solving & C Programming

Unit 1 : Using I/O Statements & Operators

1. Program to find Simple Interest.
Download

2. Program to find area and perimeter of square and rectangle.
Download

3. Program to find square and cube of three numbers.
Download

4. Program to enter temperature in Fahrenheit and convert it to Celsius.
Download

5. Program to store and swap two float variables.
Download

6. Program to input an integer and display it in octal & hexadecimal formats.
Download

7. Program to input text with gets() and display it using printf() statement, and also find the length of text.
P.S. : This program should be in Unit 4, but is given in Unit 1.
Download

8. Program to input two numbers and find smallest out of them using conditional operator.
Download

9. Program to input a number and carry out modular division by 2, 3 & 4.
Download

10. Program to find average temperature of five days, take temperature in Celsius.
Download

11. Program to enter two numbers and make comparison with conditional operator. If the 1st number is greater than 2nd, perform multiplication otherwise division.
Download

12. Program to display numbers from 0 to 9. Use ASCII range 49 to 59 and control string %c.
Download

13. Program to accept number of seconds and display corresponding hours, minutes and seconds.
Download

Download All

I hope that you found this article to be helpful.
Please share your thoughts in the Comments Section.

If you liked this article, then please like our Facebook page.

Suggested Reading

Comment your thoughts