Professional Documents
Culture Documents
Electrical & Computer Engineering Dept - Computer Skills II First Exam
Electrical & Computer Engineering Dept - Computer Skills II First Exam
:Q1) Write a program to calculate and print the result of the following sequence
4 6 02
y= 1+ + +…
3 5 21
Q2) Write a program that reads a number ranged from 0 to 4, then print odd if the
number is odd and print even if the number is even. Use switch statement only.
Q3) write a program that reads a tempreture of the day, then print the following: