DotNet Technology - BCA 5th Semester
Write a program for the following questions.
Conditional Statement
WAP to input the number and display their sum.
WAP to input a number and display it as even or odd.
WAP to input 3 numbers and display the largest among the numbers.
For Loop
WAP to input 10 numbers and display their sum.
WAP to input a number and display Its factorial.
Display the following series.
1, 2, 3, 4, …………, 100
1, 3, 5, 7, …………, 100
1, 4, 9, 16, ……….., 100
4. WAP to input a number and display whether it is a prime number or not.
While Loop
WAP to input a number and display the sum of digits.
WAP to input a number and show its reverse.
WAP to input a number and display whether it is palindrome or not.
WAP to input a number and display whether it is Armstrong or not.
WAP to input a number and display the number of a digit in it.
0 Comments
If you have any doubts, please let me know.