C - 1 PDF
C - 1 PDF
SECTION 2
NO CONTENT PAGE
1.0 INTRODUCTION 1
1.2 OBJECTIVE 3
1.3 ALGORITHM
1.3.1 PSEUDOCODE 3
1.3.2 FLOWCHART 4
3.0 CONCLUSION 12
4.0 APPENDICES 13
Civil Engineering is the father of all other engineering, moreover they are also known
as specialist in structures. There are 4 main categories in civil engineering where a student need
to choose one to further their knowledge in it. They are hydraulics, geo technics, building
constructions and road and railway constructions. Therefore as the days goes by more upgraded
technology keeps pouring in that help daily jobs easier and C++ is one of it.
In that case, our team would like to be one of the contributors of life made easy. We
would like to propose a programme made from C++ that is able to calculate the volume of
concrete of a structure accurately without purpose wastage or excessive. As we all know
concrete volume applied are very important during construction sites, therefore we would like
to minimize the problem like miscalculations that could cause critical problems.
Let us brief you on our programme, first as we all know there are several methods to
calculate the quantity of concrete. Based on the drawing, the size and dimension of structures
are usually given but the quantity of concrete usage must be calculated manually by a
supervisor or an engineer or a quantity surveyor. To make the process easier, we include
following information into our C++ programming such as the volume of the structure, the
budget given and the grade of Ordinary Portland Cement (OPC) and this will calculate the
assumption whether it (volume) suitable or not with the provided budget.
1
1.1 Description of the project
1) Rectangular
2) Cylinder
2
1.2 Objective
1.3 Algorithm
1. Start
5. Calculate result
6. Display result
7. End
3
1.3.2 Flowchart
4
2.0 DESCRIPTION OF THE PROGRAM
This program is made to calculate the assumption whether it (volume) suitable or not
with the provided budget based on the volume of the structure, the budget given and a grade of
Ordinary Portland Cement (OPC).
5
All the variable need to be declared. In this program, we are using several variables which is;
Rectangle:
a = Length
b = width
c = height
d = sum
Cylinder:
a = pi = 3.142
b = radius
c = height
d = sum
Body:
6
Firstly, the user should enter budget estimation in Ringgit Malaysia (RM). Then, the
user is ask to choose an orientation either: 1) rectangular or 2) cylinder. For an example, if the
user choose 1) rectangular, the user will ask to enter length, width and height for the volume
of rectangular. Next, the user is ask to choose the grade of Ordinary Portland Cement (OPC).
Figure 2.4: ask user to enter the budget and choose the orientation
7
If the budget is suitable, the outcome of calculation will continue and shown the budget, the
volume and the price but if the budget is over budget from the estimation budget, the user have
to 1) modify the budget or 2) set another orientation but with the same budget (programming
will be looping).
8
After compiling the file, the program is run.
Figure 2.8: show the command prompt for the program (suitable)
9
Figure 2.9: show the command prompt for the program (not suitable)
10
2.1 Calculation in a program
11
3.0 CONCLUSION
From the programming class, you should now have a basic idea of what computer
programming is, how it works and what it looks like. With the rate that technology advances,
the only limitation to what you can do with programming, is your imagination.
From our programming project, we will know the budget estimation of the volume of
concrete based on given grade either it suitable with the budget estimation or not. Not only
that, we also can understand more about the programming, how to do a coding, flowchart and
pseudo code. As we can conclude that we believe through this programming the problem of
excessive or wastage can be reduced at the construction site. Hence, this method can also save
the time or energy and also the cost of developers effectively.
12
4.0 APPENDICES
13
4.1 Minute of meeting
MINUTE OF MEETING 1
BFC 20802 COMPUTER PROGRAMMING
FACULTY OF CIVIL & ENVIRONMENT ENGINEERING
Members Present:
1. Inda Lastari Binti Ismail (CF150080)
2. Kavimaran A/L Arumugam (CF160217)
3. Mazima Ahmad Zaidi (CF160215)
4. Patrick Wee Sung Ho (CF160079)
5. Thiruvarasu A/L Pakiyanathan (CF160229)
___________________ ___________________
(Mazima Ahmad Zaidi) (Inda Lastari Binti Ismail)
14
MINUTE OF MEETING 2
BFC 20802 COMPUTER PROGRAMMING
FACULTY OF CIVIL & ENVIRONMENT ENGINEERING
Members Present:
1. Inda Lastari Binti Ismail (CF150080)
2. Kavimaran A/L Arumugam (CF160217)
3. Mazima Ahmad Zaidi (CF160215)
4. Patrick Wee Sung Ho (CF160079)
5. Thiruvarasu A/L Pakiyanathan (CF160229)
Divided every part of our report Group members From the members
2
___________________ ___________________
(Mazima Ahmad Zaidi) (Inda Lastari Binti Ismail)
15
MINUTE OF MEETING 3
BFC 20802 COMPUTER PROGRAMMING
FACULTY OF CIVIL & ENVIRONMENT ENGINEERING
Members Present:
1. Inda Lastari Binti Ismail (CF150080)
2. Kavimaran A/L Arumugam (CF160217)
3. Mazima Ahmad Zaidi (CF160215)
4. Patrick Wee Sung Ho (CF160079)
5. Thiruvarasu A/L Pakiyanathan (CF160229)
___________________ ___________________
(Mazima Ahmad Zaidi) (Inda Lastari Binti Ismail)
16