MENU
HOME
BOOTSTRAP
C
Javascript
Home
About
PROJECT
BOOTSTRAP
C
JAVASCRIP
signup
login
Content will be coming soon...
HOME
C
C
C PROGRAM
1
simple if
2
else if
3
Conditional Operator
4
Switch-Case
5
Loop
6
Pattern
7
Array
8
Array 2D
9
String
10
Function
11
Pointer
12
Structure
Simple IF
Else If
Conditional Operator
=> WAP to find out largest number from given 2 numbers
=> WAP to find out largest number from given 3 numbers
=> WAP to read 3 numbers, multiply largest number from first two numbers to third one
Switch-Case
=> WAP to print number of days in the given month
=> WAP to perform day on a week like mon,tues..
=> WAP to perform Addition, Subtraction, Multiplication and Division of 2 numbers as per user’s choice
=> WAP to perform in sign form +, -, * and / of 2 numbers as per user’s choice
Loop
BASIC WHILE LOOP
Sum of SERies
MATHS SUM
NESTED LOOP
BASIC WHILE LOOP
=> Print 10time name
=> Print 1 to 10
=> Print 1 to n
=> Print odd numbers between 1 to n
=> Print numbers between two given numbers which is divisible by 2 but not divisible by 3
SUM OF GIVEN STATEMENT
=> Sum of 1 to n numbers
=> Sum of series 1+4+9+16+25+36+…n
=> Sum of series 1–2+3–4+5–6+7… n
=> Sum of series 1+1/2+1/3+1/4+1/5+...+ 1/n
MATHS Calculation
=> Find factorial
=> Find factors
=> WAP to find out sum of first and last digit of a given number
=> Find x^y
=> WAP to check whether the given number is perfect or not.
=> WAP to print digits of given number
=> WAP to print sum of digits of given number
=> WAP to find whether the given number is prime
=> WAP to check whether the given number is Armstrong or not
=> WAP to check whether the given number is palindrome or not
=> REVERSE
SUM OF GIVEN STATEMENT
=> WAP to find the sum of 1+(1+2)+(1+2+3)+(1+2+3+4)+…+(1+2+3+4+….+n)
=> Evaluate constant 'e' value 1+1/1!+1/2!+1/3!+....
=> Evaluate e^x constant 1+x^1/1!+x^2/2!+x^3/3!+....
=> Evaluate the series 1-x + x^2/2! + x^3/3! + ... + x^9/9!
=> Table
Pattern
*****
* *
* *
* *
*****
1
1 2
1 2 3
1 2 3 4
1
2 3
4 5 6
7 8 9 10
1
2 3
3 4 5
4 5 6 7
1
0 1
1 0 1
0 1 0 1
*
* *
* * *
* * * *
*****
****
***
**
*
AAAAA
BBBB
CCC
DD
E
12345
1234
123
12
1
55555
4444
333
22
1
1
A B
2 3 4
C D E F
1
2 2
3 3 3
4 4 4 4
*
* *
* * *
* * * *
Array
Array 2D
Structure
=> WAP rollno,name & address one student
=> WAP rollno,name & address multiple student
=> WAP to find the factorial of a given number using recursion
=> WAP to enter mupltiple record of book
Function
=> WAP to find maximum number from given two numbers using function
=> WAP to count simple interest using function
=> WAP that defines a function to add first n numbers