Question: c++ Programming Language Problem Statement: The following formula gives the area of a triangle. A= s(s - a)(s - b)(-) where s = (a+b+c)/2 Given

c++ Programming Languagec++ Programming Language Problem Statement: The following formula gives the area of

Problem Statement: The following formula gives the area of a triangle. A= s(s - a)(s - b)(-) where s = (a+b+c)/2 Given a triangular floor with sides of lengths a, b and c (in meters) is going to be carpeted which costs P950.00 per square meter. How much will the carpet cost? Write a program that prompts the user to enter the lengths of the sides a, b and c. The program should then output the value of s, the area of the triangle and the cost of the carpet. Required Output: EDP 101 - First Examination Enter value for a: Enter value for b: Enter value for c: The value of S The area of the triangle is The cost of the carpet is Developed by: (your answer) (your answer) P (your answer) Part 1: Construct a flowchart and write the corresponding algorithm of this program. Rubrics: Parameters 1 Specifications (20%) Syntax (10%) Readability (10%) Ratings 3 2 Source code contains the Source code lacks necessary Source code is not enough to complete details to run the details to run the program run the program correctly. program correctly. correctly. Source code contains no Source code contains 1 to 5 Source code contains more error in syntax. errors in syntax than 5 errors in syntax. Source code is well Minor issues such as variable Major issues are causing the organized and easy to naming, variable utilization, codes to be not readable. understand. etc. are observed. Source code allows the Source code allows the Source code does not meet required screen output to be required screen output to be the required screen output displayed correctly. displayed correctly with to be displayed correctly. some errors found. Shows and uses correct Shows and uses a somehow Does not entirely show the symbols that represents the incorrect symbols and is correct program flow and flow of the program. incomplete. symbols are misused. Screen Output (30%) Flowchart (30%)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!