Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write a program that prompts the user to enter a floating point number. Read the number in as a floating-point number and print it

image text in transcribed
1. Write a program that prompts the user to enter a floating point number. Read the number in as a floating-point number and print it as a floating-point number. Also, output the number as an integer 2. Write a program that reads three numbers from the screen and computes their average 3. Write a program that computes the area of a right triangle. Prompt the user to enter the values for height and base

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server T-SQL Recipes

Authors: David Dye, Jason Brimhall

4th Edition

1484200616, 9781484200612

More Books

Students also viewed these Databases questions