Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

#include int main() { double weight; char lane [5]; char end; printf (Please insert parcel weight: ); scanf (%lf,&weight); if (weight <5.0){ printf (Please put

#include int main() { double weight; char lane [5]; char end; printf ("Please insert parcel weight: "); scanf ("%lf",&weight); if (weight<5.0){ printf ("Please put this parcel in high place! "); } else { printf ("This parcel is very lightweight. Handle with care "); } printf ("Please put the parcel on lane 1: "); scanf ("%s",lane); if (weight >5.0){ printf ("Please put the parcel in high place! "); } else { printf("This parcel is lightweight. Handle with care "); } printf ("Please put the parcel on lane 2: "); scanf ("%s",lane); if (weight >10.0){ printf ("Please put the parcel at low place! "); } else { printf ("This parcel is heavyweight. Handle with care "); } printf ("Please put the parcel on lane 3: "); scanf ("%s",lane); if (weight >50.0){ printf ("Please put the parcel at low place! "); } else { printf("This parcel is super heavy! Handle with care "); } printf ("Please put the parcel on lane 4: "); printf ("Press 1 to end the program."); scanf("%s,end"); return 0; }

#i need to translate to flowchart diagram. i need as soon as possible!

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

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions