Question: In VBA, Write a program that will be given all sides (a, b, c) of a triangle and will test to see if these values

In VBA,

In VBA, Write a program that will be given all sides (a,

Write a program that will be given all sides (a, b, c) of a triangle and will test to see if these values realy do represent a triangle and if so, do they represent a right triangle. The program will ask the user to enter the three sides that will be tested using the following information. You should testthe numbers the user enters to see if they are appropriate (not zero or negative). Three numbers represent a triangle only if the largest side sum of the other two sides. It is a right triangle only if (largest sideY (sum of the squares of the other two sides). Include a Command Button in your document that executes the VBA code needed to solve the problem, You need ta hand in a print out of your document but also submit your document electronically following instructions given in class. Presentation requirements You need a complete solution: Problem Statement, Assumptions. Theory, Solution and Discussion The solution will be done in Word and must include: a flowchart of your program, a copy out of the computer code pasted on to the front of the document, a copy of your message boxes and a Command Button to use to run the program. The message boxes must include the entered values (a, b, c) and clearly state what was determined about the values (i,e, what is the largest side, do they form a triangle, is it a right triangle) Your flowchart and your computer code should be well documented Lhat means use appropriate comments in both to explain steps and define variables) Given Data (use the following sets af values to test your program) a 3, b 4, and c 5. 8, b 5, and c 2 7, b 3, and c m 6 1, b 2, and c 5

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!