Lab List
Lab List
29. If a number is input through the keyboard. WAP to reverse the number.
30. WAP to print all factors of a number.
31. WAP to print all Armstrong nu8mbers between 1 to 300. If sum of cubes of
each digit of the number is equal to the number itself. Then the number is called
an Armstrong.
32. WAP to print Fibonacci sequence.
0 1 1 2 3 5 8 13 21 34 55 89………
33. WAP to input any digit from user and find the three largest numbers in a
digit.
34. WAP to calculate area of circle using call by value.
35. WAP to swapping two values using call by reference.
36. WAP to calculate value of sine series.
37. WAP to calculate decimal number to binary.
38. WAP to print a numbered triangle.
1
1 2 1
1 2 3 2 1
39. The distance between two cities in (KM) is input through the keyboard. WAP
to convert and print this distance in meter, feet, inches and cm.
40. Write a C Program without using main() function.
41. WAP to find greatest common Divisor (GCD) two numbers.
42. WAP to find LCM of two numbers.
43. WAP to reverse a string using recursive function.
44. WAP to determine whether a number is perfect number or not using function.