Chapter 1 - Practice Set PDF
Document Details
Uploaded by Deleted User
Tags
Related
Summary
This document contains practice questions on programming in C. The exercises cover various topics including area calculations (rectangles and circles), volume calculations (cylinders), temperature conversion (Celsius to Fahrenheit), and simple interest calculations, all implemented in C. It includes programming exercises.
Full Transcript
# Chapter 1 - Practice Set ## Q1 Write a C program to calculate area of a rectangle. - Using hard coded inputs - Using inputs supplied by the user ## Q2 Calculate the area of a circle and modify the same program to calculate the volume of a cylinder given it's radius and height. ## Q3 Write...
# Chapter 1 - Practice Set ## Q1 Write a C program to calculate area of a rectangle. - Using hard coded inputs - Using inputs supplied by the user ## Q2 Calculate the area of a circle and modify the same program to calculate the volume of a cylinder given it's radius and height. ## Q3 Write a program to convert Celsius (Centigrade) degrees temperature to Fahrenheit. ## Q4 Write a program to calculate simple interest for a set of values representing principal, no of years and rate of interest.