Posted: April 27th, 2015
Assignment Brief
Task 1
Scenario
You are working for a software development company as a junior software developer. The company currently uses various methods when developing solutions. The senior manager has asked you to review the development procedures that are currently being used and recommend a common approach to be used when developing solutions. The company has experience with a number of programming languages and would like your help in producing a summary sheet to:
Task 2
Produce a programme that can calculate the perimeter of the triangle, the area of the triangle and the height of the triangle from the length of the three sides of a triangle. If the three lengths of the sides of the triangle do not define a valid triangle, a message should be displayed stating that this is not a valid calculation and the process should be terminated.
Required maths formula
Heron’s formula:
Area of triangle = SQRT(s(s-a)(s-b)(s-c))
where a, b, c are the three sides, s = (a + b + c)/2 and c is the base of the triangle
Height of the triangle = (Area of triangle)*2/c
Perimeter of triangle = a + b + c
Triangle types:
Scalene – all sides unequal
Isosceles – two sides only equal
Equilateral – all sides equal
Right Angled – one angle of 90 degrees
For a custom paper on any of the above topic, place your order now!
What We Offer
• On-time delivery guarantee
• PhD-level professionals
• Automatic plagiarism check
• 100% money-back guarantee
• 100% Privacy and Confidentiality
• High Quality custom-written papers
Place an order in 3 easy steps. Takes less than 5 mins.