1.
Write an algorithm to calculate the area of a rectangle when length
and breadth are given.
2. Write an algorithm to input a student's marks and print:
"Pass" if marks ≥ 40
"Fail" if marks < 40
3. Write an algorithm to calculate the simple interest when principal,
rate, and time are given.
4. Write an algorithm to determine if a person is eligible to vote (age ≥
18) and also check if they are a senior citizen (age ≥ 60).
5. Write an algorithm to print the multiplication table of a number.
6. Write an algorithm to find the sum of digits of a number.
7. Write an algorithm to check if a number is a palindrome.
8. Write an algorithm to generate the Fibonacci series up to n terms.
9. Write an algorithm to find the square root of a number.
10. Write an algorithm to find the HCF and LCM of two numbers.