# [Video Link](https://youtu.be/TAtrPoaJ7gc) ## Write Java programs for the following: 1. Write a program to print factorial of a number, also take input. 2. Write a program to print whether a number is even or odd, also take input. 3. Take name as input and print a greeting message for that name. 4. Write a program to input principle, time and rate (P, T, R) from user and find Simple Interest. 5. Take in two numbers and an operator (+, -, *, /) and calculate the value. (Use if conditions) 6. Take 2 numbers as input and print the largest number. 7. Input a number and print all the factors of that number (use loops). 8. Input currency in rupee and output in dollar. 9. Take integer inputs till the user enters 0 and print the sum of all numbers (HINT: while loop) 10. Take integer inputs till the user enters 0 and print the largest number from all.