Assignment 01A – Triangle Calculator
ALIGNMENT: The purpose of this assignment is to provide practice with variables, getting user input and displaying formatted output. You will also need to cast (convert) data types from string to float (with the input) and vice-versa (with the output).
ASSIGNMENT: In this assignment, you will write a Python 3.x program to calculate the length of the hypotenuse (side C) of a right triangle, given the lengths of the other two sides (A & B) as provided by the user. The program will also calculate the area of the triangle and the perimeter (the sum of the three sides). Other specifications:
Save your file with as “CIS156_01A_Triangle_YourLastName.py”
Print the project tile on the first line
Print the next line showing your name as the developer, followed by a blank line (remember you can use \n)
Then provide a description of what the program
The user should be prompted to enter the length of sideA and then prompted to enter
Convert the string input to float data
Write statements that use math operations to calculate the hypotenuse, area, and Remember the Pythagorean Theorem? . . . C2 = A2 + B2 …. Or….. C = square root of A2 + B2 (by the way the square root is the same as the value raised to the power of 0.5)
The area is half of sideA length * sideB length. The perimeter is the sum of the three sides.
DescriptionIn this final assignment, the students will demonstrate their ability to apply two majorconstructs of the C programming language – Fu
Path finding involves finding a path from A to B. Typically we want the path to have certain properties,such as being the shortest or to avoid going t
Develop a program to emulate a purchase transaction at a retail store. Thisprogram will have two classes, a LineItem class and a Transaction class. Th
1 Project 1 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of
1 Project 2 Introduction - the SeaPort Project series For this set of projects for the course, we wish to simulate some of the aspects of a number of