Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

I need someone to explain to me about the while loop menu option

I need someone to explain to me about the while loop menu option in the following code; I dont understand.

change code to (menu ==5);.png

change code to (menu ==5);.png
File Edit Format View Help*
verification of answer :*
Why is the number of X’s different in the printf statements in the functions ?"
the compiler substitutes the X’s with the numbers being input by the user . I don’t understand what this question is
Question 18 : What would have to be changed in the code if the while statement were changed to :
while ( menu = = 5 ) ;
[ code
# include < studio . he
void printHelp ( ) {
printf ( " In " ) ;
printf ( " a : a ( x ) = * # x In " ) ;
printf ( " b : 6 ( x ) = ** * * * In " ) ;
printf ( " C : ( ( x ) = X x 2 + 2* * + 7In " ) ;
printf ( " q : quitin " ) ;
void a ( float x ) [
Float V = * * X’;`
printf ( " a ( %6 . 2 F ) = %6 . 2 FAZ = % . 2 fin " , X , X , V ) ;
$ 1 1 end function a
void b ( float x ) [
Float V = ** ** X ;
printf ( " a ( %6 . 2 F ) = 8 . 2 FA3 = 8 . 2 fin " , X x X , V ) ;
$ 1 1 end function b
void ( ( float x ) {
Float V = * * * + 2* * + 7 ;
printf ( " ( ( %6 . 2 F ) = % . 2 FAZ + 2* % . 2 f + 7 = % . 2 fin " ,
X , X , X , V ) ;
$ / / end function c
int menu ( ) [
char selection ;
Float X ;]
printHelp ( ) ;
scanf ( " $65 " , &selection ) ;
if ( selection = = ‘ 9 ‘ ) return 1 ;
scanf ( " 76 f " , &x X ) ;
if ( selection = = " ?
= ‘ a ‘ ) a ( X ) ;
if ( selection = = ‘ D ‘ ) b ( x ) ;
if ( selection = = ‘ C ‘ ) ( ( X ) ;
return O ;
$ 1/ end function menu
int main ( ) [
while ( menu ( ) = = 8 ) ;
printf ( " … bye … In " ) ;
r
 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"