Académique Documents
Professionnel Documents
Culture Documents
ShoubraFacultyofEngineering
SurveyingDepartment
FirstTerm,2016/2017
ComputerApplications
FourthYear
1
2
3
4
5
7
8
Assignment(1)
Writeacompletec++programtocomputetheareaatrianglefromitsthreesides?
Writeacompletec++programtocomputethevolumeofaspherefromitsradius?
Ifa1anda2aretheareaoftwosuccessivecrosssectionsinaroad,determinethe
volumeofearthworkbetweenthesesectionswherethedistancebetweenthemis
d?
Writeacompletec++programtocomputethesumandtheaverageofnfloating
numbersusingFORloop?
Writeacompletec++programtoconvertnnumberofanglesfromdegreesystem
toradiansystemusing:
i
Whileloop
ii
Dowhileloop
Writeacompletec++programtocomputethesumandtheaverageofnfloating
pointnumbersusing
a. Whileloop
b. Dowhileloop
Writeacompletec++programtocomputethesummationofnnumberofinternal
anglesofaclosedtraverseusingWhileloop?
Foraclosedtraverseofnnumberofinternalangles,writeacompletec++program
to:
icomputethetheoreticalsummationofthisnumberofangles
iicomputethecorrespondingsummationoftheobservedanglesofthe
sametraverse
iii
computetheangularclosingerror
iv
computethecorrectedangles