C PROGRAMMING
MULTIPLE CHOICE QUESTION
OLD QUESTION BANK
SAMPLE QUESTION 2080 AND SOLUTION

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.

  1. Write a program to multiply two numbers and display products. The program should ask the user for two numbers from the keyboard. 
  2. Write a program to calculate area and circumference of a circle having radius r. The radius should be taken from the user.
  3. Write a program that will convert temperature in Centigrade into Fahrenheit. 
  4. 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. 
  5. WAP to find the ASCII value of any character from the user.