C++ Programm Practicals Lists
1) To perform arithmetical operation (+,*,-,/,%)
2) To find area and circumference of circle.
3) To find simple interest.
4) a) To swap the two numbers using third variable.
4) b) To swap the two numbers without using third variable.
5) To convert the temperature in Fahrenheit to temperature in celsius.
6) To find input number is positive or negative.
7) To find input number is even or odd.
8) To find the greatest number among two variable.
9) To find input year is leap year or not leap year.
10) To find input age is eligible for vote or not.
11) To display days of week of given input numbers.
12) To find input character is vowel or consonant.
13) To find marks obtained and percentage of five subject and display grade.
Percentage | Grade
>=80 | A+
>=60 | A
>=45 | B
<45 | C
14) To find the factorial of given number.
15) To find the sum of series:-
a) 1 + a + a2 + a3 + a4 + ....+an
b) 1 + 2 + 3 + 4 + .... + n
c) 1 + 1/2 + 1/3 + 1/4 + .... + 1/n
16) To display the pattern :-
a) // for Solution Click
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
b) // for Solution Click
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
c) // for Solution Click
1
2 3
4 5 6
7 8
9
17) To find minimum or smallest number of given arrays values.
No comments:
Post a Comment