(C) Write a program to multiply all the odd and even numbers separately from a range of X
to Y, where X<Y.
3
(d) Write a program to generate all the prime numbers from 1 to n, where n is a user defined
integer value by using the concept of nested loop.
4
(e) Write a program to generate Fibonacci Series.
(f) Write a program to find the reverse of a number.
Sample Input: Enter the no: 347 Output: Reverse No: 743
(g) Write the code to generate the following pattern:
3+3
2.
1
24
2 3
3
2 4 6
4 5 6
2 4 6 8
7 8 9 10
(h) Write a program to enter your name and display it in vertically or reverse order.
Input Sample: Enter your name: SURAJ
Output Sample:
OR JARUS
S
U
R
A
J
Answers
Answered by
0
Answer:
give proper question dear
Similar questions