You are on page 1of 1

Homework: 1 (10-09-2019)

Solve the following problems:

1. Write an algorithm to find the factorial of a number entered by user

2. Write an algorithm to check whether a number entered by user is prime or not.

3. Write an algorithm to convert temperature Fahrenheit to Celsius

4. Write an algorithm to find the Fibonacci series till term ≤ n

5. Write an algorithm to swap two numbers

6. Determine whether a temperature is below or above the freezing point

7. Assume that students have 5 courses in the first semester and students will be pass if mark of all
courses are greater than 50, write an algorithm to determine whether a student passed or not.

You might also like