Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I wrote a cprogram, but the output is always 0.000000, Im using 2017visual Studio community version( its a c program Team Tools Test Analyze Window

I wrote a cprogram, but the output is always 0.000000, Im using 2017visual Studio community version( its a c program
image text in transcribed
image text in transcribed
Team Tools Test Analyze Window Help Debug x86 Local Windows Debugger B, ? ude lab -(Global Scope) sprogram: Altitude Lab 4programer: victor Jesus"/ spurpose: calculate at how many miles away from airport pilot should start to desce 6 date: 2/18/19 7* 9 edefine _CRT_SECURE_NO_WARNINGS e "include 11 int main() int descentrate see.ee; //the plane descends see ft per minute double planealtitude; I/ the plane's altitude in ft double planespeed;//the plane's speed in mph double answer; // answer that will be displayed to the pilot 14 16 17 28 19 28 21 printf( Enter the plane's altitude in ft:"); scanf( 11, &planealtitude); printf( nEnter the plane's speed in niles per hour:")i scanf(lf, &planespeed); double descentTime planealtitude / descentrate;//this gives descend time in minut planespeed planespeed 68.ee answer descenttine planespeed; printfC please start descending at xIf miles avay from the airportin', Sanswer); 23 25 26 27 28 systes("pause")i return e 30 32 0% Microsoft Visual Studio View Project Build Debug Team Tools Test Analyze Window Help x86 CAUsers\Victor'source.repos altitude lab Debug altitude lad eve Enter the plane' s altitude in ft:500 Enter the plane's speed in miles per hour:200 lease start descending at 0.eeeee0 miles away from the airport ress any key to continue

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

Step: 3

blur-text-image

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

Transact SQL Cookbook Help For Database Programmers

Authors: Ales Spetic, Jonathan Gennick

1st Edition

1565927567, 978-1565927568

More Books

Students also viewed these Databases questions