1. Write a pseudo code and draw a flowchart to accept a value in degrees Celsius and to convert it into Fahrenheit. [Hint: C/5 = (F-32)/9].
Begin
Input CF = 9/5*C + 32
Output F
End
2. Write a pseudo code and flowchart to accept a student’s marks in Physics, Chemistry, and Biology. The total of these marks as well as the average should be displayed.
Begin
Input: P,C,BTB = (P+C+B)/3
Output TB
End
No comments:
Post a Comment