2) WAP to print multiplication table of a number taken from user (Dont use loop)? 3) If a number is input through keyboard WAP to reverse the number? 4) WAP to take number as input and display in triangular format. For ex if number is 5678 then 5678 678 78 8
5) Print Floyds triangle
1 23 456 . . 79.91
6) WAP to compute real roots of a quadratic equation. Use
following rules No sol if both a and b are zero There is only one root if a=0 There is no real roots if b2-4ac is negative Otherwise there are two real roots
7) WAP to find the prime numbers between 2 to 100
8) WAP to find factorial of a number 9) WAP to print Fibonacci Series 1 1 2 3 5 8 13 21 10) WAP to print based on user input (a)1 (b) * 22 ** 333 *** 4444 **** 11) WAP that reads a positive integer and print its binary equivalent 12) WAP to accept any number upto six digits and print that in words ex: 1265 IS one two six five
13) WAP for the following
1 1 2 1 1 3 3 1 1 4 6 4 1 1 4 ) WAP to generate all combinations of 1 2 and 3 15) WAP to print multiplication table of a number 16) WAP to print ASCII values and their equivalent char using while loop 17) WAP to print armstrong number between 1 to 500 ex: 153 = (1*1*1)+(5*5*5)+(3*3*3) .18) WAP to find the sum of divisors of a number. for example divisors of 28 are 1,2,4,7,14 1+2+4+7+14=28 If the sum of divisors is equal to number itself, the number is a perfect number
19)
WAP to evaluate the sum
Where i and n are integer variables. Take n as an input from
user. 20) WAP to evaluate y=xn where n is a non negative integer from user.