You are on page 1of 5

 Problem 1

Write a C++ program to convert Celsius to Fahrenheit.

 Source Code

 Output
 Problem 2

Write a C++ program that swaps two numbers.

 Source Code

 Output
 Problem 3

Write a C++ program to print even and odd numbers.

 Source code

 Output
 Problem 4

Write a program that asks for student marks for six subjects and if the marks are above 50
on each subject. Then print the student is passed otherwise the student is failed. Also,
print the total marks.

 Source Code
 Output

END

You might also like