You are on page 1of 2

1 ‫المشكلة‬

Program to compute and output the perimeter and are of a rectangle.

Length = 6.0
Width = 4.0
Perimeter = 20.0
Area = 24.0

1. Yes.
2. Yes.

2 ‫المشكلة‬
2+5=7
13 + 89 = 102
34 – 20 = 14
45 – 90 = -45
2 * 7 = 14
5/2=2
14 / 7 = 2
34 % 5 = 4.25
4 % 6 = 1.02

5.0 + 3.5 = 8.5


3.0 + 9.4 = 12.4
16.3 - 5.2 = 10.1
4.2 * 2.5 = 10.5
5.0 / 2.0 = 2.0
34.5 / 6.0 = 5.0
34.5 / 6.5 = 5.0

3 ‫المشكلة‬

1.
2.

Enter firstname, lastname, age, and weight, separated by spaces.

Name : firstName lastName !!!

Age :age !!!


Weight : weight !!!
…………………………………………………………………………………………………………………….............................

You might also like