b36 PDF
b36 PDF
TECHNOLOGY
(BUET)
ASSIGNMENT NO: 01
1.1 Code:
1|P age
1.2 Input & output:
2|P age
2 Program for determine perimeter and area of a triangle.
2.1 Code:
3|P age
2.2 Input & output:
4|P age
3 Program for calculating area & volume of a box using implicit statement.
3.1 Code:
5|P age
3.2 Input & output:
6|P age
4 Program for calculating area & volume of a box using explicit statement.
4.1 Code:
7|P age
4.2 Input & output:
8|P age
5 Program for finding average by taking value from an input file.
5.1 Code:
9|P age
5.2 Input file:
10 | P a g e
5.3 Output file:
11 | P a g e
6 Program for temperature conversion (Celsius to Fahrenheit) by taking
6.1 Code:
12 | P a g e
6.2 Input file:
13 | P a g e
6.3 Output file:
14 | P a g e
7 Program for determine average number (interactive input with goto
statement)
7.1 Code:
15 | P a g e
7.2 Input & output:
16 | P a g e
8 Program for calculating sectional area ( interactive input & formatted
input)
8.1 Interactive input program code:
17 | P a g e
8.2 Input & output of interactive program:
18 | P a g e
8.3 Formatted input program code:
19 | P a g e
8.4 Input file of formatted input program:
20 | P a g e
8.5 output file of formatted input program:
21 | P a g e
8.6 comparison of result obtained from both program:
sectional area obtained from both programs are same.
22 | P a g e