1)"Hello World!" Program
Code: |
---|
|
2)Program to Add Two Numbers
Code: |
---|
|
3)Program to Find Quotient and Remainder
Code: |
---|
|
4)Program to Find Size of int, float, double and char in Your System
Code: |
---|
|
5)rogram to Swap Two Numbers
Using Temporary Variable: |
---|
|
Without Using Temporary Variables: |
|
6)Program to Check Whether Number is Even or Odd
Check Whether Number is Even or Odd using if else: |
---|
|
Check Whether Number is Even or Odd using ternary operators: |
|
7)Program to Check Whether a character is Vowel or Consonant
Code: |
---|
|
8)Program to Find ASCII Value of a Character
Code: |
---|
|
9)Program to Find Largest Number Among Three Numbers
Find Largest Number Using if Statement: |
---|
|
Find Largest Number Using if...else Statement: |
|
Find Largest Number Using Nested if...else statement: |
|
10)Program to Calculate Sum of Natural Numbers
Code: |
---|
|
More Questions Coming Soon...
Tags:
C plusplus Programs