Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

im teying to build and run but it jeeps daying those errors but i dont know where exactly fix it Debug mainint . CSC vg

im teying to build and run but it jeeps daying those errors but i dont know where exactly fix it
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
Debug mainint . CSC vg main.cx 5 6 7 8 9 #include #include 10 11 12 13 14 15 16 17 18 19 int main() BI 1/declare float variables Fahrenheit, celsius, pounds, kilograma, miles and float fahrenheit, celsius, pounds, kilograms,miles, kilometers; W/ declare integer variable choice int choice; //display menu printf(" M) printf(" - Convert fahrenheit to Celsius"); printf (" 2 Convert pounds to Kilograms"); printf(" 3 Convert miles to Kilometers"); Debugger Day Logs & the Code:Blocks X Search results 2 Coccluild log Build menage ppcheck/Vex CopCheckers messages scope File tan CISCO Yangor att Teto Windows (CHELEWINDOWS-1252 Line 72. Coll. Pes 1670 Witted LE ING GOP earch tufan with food at Dons Sdn OOD WHO DO OSC 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 printf("n //prompt uber to enter choice printf(" Enter your choice: "); V/tend choice scanf("s",&choico) Vswitch() statement compare value of choice with each case values. If any Watch is found, then statement asociated with that came will be executed switch(choice We can then do Erheenhet to cela conversion CASO 1 //prompt user to enter temperature in forenheit printf("enter temperature in fahrenheit: "); Wread fahrenheit seant("". Stahrenheit) le 2 O 2 C CH 2 O CE Whe 21 7 Debug w Tool to Pugns wys og Help 5:29:00 OOD D DODQISC 35 36 37 39 40 41 42 43 44 45 16 47 48 if (Fahrenheit o fahrenheit>212.2) fahrenheit=212.2; V Ido conversion celsius-fahrenheit-32*579; //display tonult printf(" Temperature in celaius: 5f",celsius); break: Wif cane 2, then do pounds to kilogram conversion case 2 // prompt user to enter weight in pounds printf("Enter weight in pounds: "); / rend pounds scant ("*", pounds); af pounda is not in the specific range, then set the value to (pounds300) mile=3003 /d conversion kilometers miles 1.60934; //display result print(" Distance in kilometers". kilometers): break Wat no match found, then intorm unor about Invalid Input default: print(" You did not enter 1, 2 OF 3."): 70 73 return 75 76 AGREG an U B 4

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

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions