Looping statements 1. WAP to check whether a number is prime or not.
2. WAP to accept a number from user and find out sum of even digits from that given number
3. . 3. WAP to print the following pattern :
4. 4. WAP to print the following pattern : a) 1 b) A 2 2 A B 3 3 3 A B C
5. 5. WAP to print the following on output screen using jumping statements
6. 1 5
7. 2 4
8. 4 2
9. 5 1
10. 6. WAP to find the factorial of a number.
11. 7. WAP to create a simple calculator for addition, subtraction, multiplication and division using switch case (Menu driven programming). If user enters operator as choice as follows a) + for Addition b) – for Subtraction c) * for Multiplication d) / for Division If user enters wrong choice appropriate message should be displayed.
-
Notifications
You must be signed in to change notification settings - Fork 0
Looping statements 1. WAP to check whether a number is prime or not. 2. WAP to accept a number from user and find out sum of even digits from that given number. 3. WAP to print the following pattern : * *** ***** ******* ********* 4. WAP to print the following pattern : a) 1 b) A 2 2 A B 3 3 3 A B C 5. WAP to print the following on output screen…
ashharal/C_Looping_Statement
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Looping statements 1. WAP to check whether a number is prime or not. 2. WAP to accept a number from user and find out sum of even digits from that given number. 3. WAP to print the following pattern : * *** ***** ******* ********* 4. WAP to print the following pattern : a) 1 b) A 2 2 A B 3 3 3 A B C 5. WAP to print the following on output screen…
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published