CODES: OUTPUTS: enter values of a and b: 2 3 the sum is 5.00
CODES: CODES: enter a character: B the ASCII value of character B is 66
CODES: OUTPUTS: enter three sides of triangle a,b,c:3 4 5 the area of the triangle is :6.00
CODES: OUTPUTS: enter the height of triangle:5 enter the base of triangle :3.5 the area of the triangle is:8.75
CODES: OUTPUTS: enter the length and breadth of a rectangle :2.5 1.5 the area of rectangle is :3.750000 the perimeter of rectangle is :8.000000
C program that asks name of student and marks obtained by him/her in seven subjects and display the percentage of students assuming full marks 100 for each subject
CODES: OUTPUTS: enter the name of student:gauri enter the marks in different seven subjects:90 23 56 89 65 44 65 the percentage of shyam is:61.71
CODES: OUTPUTS: enter the temperature in fahrenheit:101 the equivalent temperature in centigrade :38.33
CODES: OUTPUTS: enter the temperature in centigrade: 41 the equivalent temperature in fahrenheit is :105.80
C program to calculate area between two concentric circles having radius r1 and r2 cm by using symbolic constant for values of PI.
CODES: OUTPUTS: enter the radius of large circle:5 enter the radius of small circle:3 the area of the first circle is:78.57 the area of second circle is:28.29 the…
C++ program to define an enumerator color with various names of color as its members,read an integer from user and display color name corresponding to an integer.
Codes: OUTPUTS: enter the color number = 2 the color is green guys !!