logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Georgee BlackbridgeData mining
(5/5)

910 Answers

Hire Me
expert
Rob RouseData mining
(5/5)

723 Answers

Hire Me
expert
Seth PowelllEngineering
(5/5)

813 Answers

Hire Me
expert
Samuel BarberaMathematics
(5/5)

890 Answers

Hire Me
Python Programming

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.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

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.

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme