# Fifth Chapter Lesson-13 Basic Mathematical problem related program

## At the end of this lesson-

• 1. You will be able to write a program for adding two numbers.
• 2. You will be able to write a program for subtracting two numbers.
• 3. You will be able to write a program for multiplying two numbers.
• 4. You will be able to write a program for dividing two numbers.
• 5. You will be able to write a program for converting temperature from Celsius to Fahrenheit.
• 6. You will be able to write a program for converting temperature from Fahrenheit to Celsius.
• 7. You will be able to write a program for determining area of a triangle where base and height have been given.
• 8. You will be able to write a program for determining area of a triangle where three arms have been given.
• 9. You will be able to write a program for determining area of a rectangle.
• 10. You will be able to write a program for determining area of a circle.

1. A program for adding two numbers.

Practice: Write a program for adding five integer numbers.

2. A program for subtracting two numbers.

3. A program for multiplying two numbers.

Practice: Write a program for multiplying five integer numbers.

4. A program for dividing two numbers.

Practice: Write a program for determining average of five integer numbers.

5. A program for converting temperature from Celsius to Fahrenheit.

Relation among different temperature scale C/5 = F-32 / 9 = K-273 / 5

Practice: Write a programt for converting temperature from Celsius to Kelvin.

6. A program for converting temperature from Fahrenheit to Celsius.

Relation among different temperature scale C/5 = F-32 / 9 = K-273 / 5

Practice: Write a program for converting temperature from Fahrenheit to Kelvin.

7. A program for determining area of a triangle where base and height have been given.

Theory for determining the area of a triangle where base and height of triangle have been given,  Area=1/2×base×height

8. A program for determining area of a triangle where three arms have been given.

Theory for determining the area of a triangle where three arms of triangle are a, b and c,                           Area= √(s(s-a)(s-b)(s-c))   [ s= half of perimeter]

half of perimeter, s=(a+b+c)/2

9. A program for determining area of a rectangle.

Theory for determining area of rectangle where length and width have been given, Area=length×width

Practice: Write a program for determining area of a parallelogram.

Practice: Write a program for determining area of a square.

10. A program for determining area of a circle.

Theory for determining area of a circle where radius r, Area=πr2

## Lesson Evaluation-

Knowledge Based Questions:

Comprehension Based Questions:

Creative Questions:

Multiple Choice Questions:

Written by,