What is the value of discount after executing the following code fragment? float disc; char code = 'b' ; switch ( code ) { case 'a': case 'A': disc = 0.0; break; case 'b': case 'B': disc = 0.1; break;...



What is the value of discount after executing the following code fragment?


float disc; char code = 'b' ;


switch ( code )
{ case 'a': case 'A': disc = 0.0; break;
  case 'b': case 'B': disc = 0.1; break;
   case 'c': case 'C': disc = 0.2;break; default: disc = 0.3; }



Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here