LAB 1:
Instructions
After completion of this lab students will be able to solve the problem regarding basic C programming which includes constant, variables and data types.
Draw flowchart and algorithm (only for question 1 to 4) and execute the following program and display output.
- Write a program to multiply two numbers and display products. The program should ask the user for two numbers from the keyboard.
- Write a program to calculate area and circumference of a circle having radius r. The radius should be taken from the user.
- Write a program that will convert temperature in Centigrade into Fahrenheit.
- Write a program that asks to enter the marks obtained by a student in seven subjects. Display the percentage obtained by the student, assume full marks to be 100 for each subject.
- WAP to find the ASCII value of any character from the user.