Assignment No 3
Assignment No 3
2. Write a program to find the largest of three numbers using if-else statements.
3. Write a program to print the multiplication table of a number using a for loop.
4. Write a program to print the Fibonacci series up to n terms using a while loop.
5. Write a program to count the number of digits in a given number using a while loop.
6. Write a program to check whether a number is prime or not using a for loop.
7. Write a program to print all the prime numbers between n1 and n2 using a for loop.
9. Write a program to implement a switch-case structure to print the corresponding day of the week
based on the input (1 for Sunday, 2 for Monday, etc.).