CP Lab-1

Post date: Oct 17, 2017 10:23:08 AM

Q1. Write a C program to accept 2 integer , 2 float numbers from the user and perform The following:- 1. Find the sum of 2 integer number. 2. Find the difference between the Float numbers. Print the same. Q2. Write a C Program to accept a character from user and print it’s equivalent ASCII value. 3. Write a C program to accept the radius of circle and find the area & perimeter of circle: for example constant for pi=3.14 Area=pi r*r; and perimeter =2*pi*r;