blob: 1bc59afe5f6482c7fa4e3e707958cb5f4fa2fc90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
clc
// for A
Bp=300-180
Bn=60.5
IA=Bp-Bn
printf('Interior angle A = %f\n',IA)
//for B
Bp=60.5+180
Bn=122
IA=Bp-Bn
printf(' Interior angle B = %f\n',IA)
// for C
Bp=122+180
Bn=46
IA=Bp-Bn
printf(' Interior angle C = %f\n',IA)
//for D
Bp=46+180
Bn=205.5
IA=Bp-Bn
printf(' Interior angle D = %f\n',IA)
//for E
Bp=205.5-180
Bn=300-360
IA=Bp-Bn
printf(' Interior angle E = %f\n',IA)
|