Question: Could someone please help with this simple c program. Why won't the printf that calculates the area show? The program stops at Width of the

Could someone please help with this simple c program. Why won't the printf that calculates the area show? The program stops at "Width of the rectangle"
 Could someone please help with this simple c program. Why won't
the printf that calculates the area show? The program stops at "Width

case : float length, width, area; 8 9 nile) printfC scanfC f,8width) if(width ) 12 13 114 115 116 printf continue; 118 printf scanfC f , &length) ifClength printfC 128 else 131 133 2fn, length); printfC Length of the Rectangis te printFC-width of the Rectangle ts %2fn, width); areo- length width; 139 140 141 42 printfC Area of the rectangle is xzfn, area); break; 145 146 147 148 149 default: printfC Incorrect cholcen): 152 153 return 8 154 1 155 156 157 159 e-lob3. 159L, 4183C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!