Enter N: 5 Factorial = 120
Enter N: 5 5 * 1 = 5 5 * 2 = 10 5 * 3 = 15 5 * 4 = 20 5 * 5 = 25 5 * 6 = 30 5 * 7 = 35 5 * 8 = 40 5 * 9 = 45 5 * 10 = 50
Enter N:3 1 -> 1 1 2 -> 4 8 3 -> 9 27
Enter Products: 3 Enter Price of 1 Product:500 Enter Price of 2 Product:700 Enter Price of 3 Product:900 Total price : 2100 Avg Price : 700
Enter N: 4 Sum of evens = 6 Sum of odds = 4
1 4 2 3 3 2 4 1
* * * * * * * * * *
65 66 67 68 65 66 67 65 66 65
A B C D A B C A B A
1 2 3 4 5 6 7 8 9 10
* * * 1 * * 1 2 * 1 2 3 1 2 3 4
* * * * * * * * * *
Enter N : 40 Palindrome :11 Palindrome :22 Palindrome :33 Palindrome Numbers Found : 3
Enter any Number : 154 Four Five One
Enter any value : 12567 No. of odd digits : 3 No of even digits : 2