CS110
Introduction to Programming
ASSIGNMENT 1
Due Date: 27th Jan. 1999
-
1.
-
Implement a program that given the temperature in fahrenheit, prints the
temperature in celsius and vice-versa.
-
2.
-
Implement a program to evaluate the following polynomial ax3
+ bx2 + cx + d. First the co-efficients
are input followed by the value of x.
-
3.
-
Grade Classification: Grades in a course are classified as "A", "B" , "C"
or "D" depending on ranges decided by the instructor. Write a program which
takes as input the ranges from the instructor and then for a given input
prints the corresponding grade. This process may be repeated by the instructor
until he gives a halt input.