I was thinking I have 4 button test box for input and going to use the LCD for outputing menu
would select case be the best way what get's me about C is the using printf
would select case be the best way what get's me about C is the using printf
Code:
nt a = 1;
int b = 2;
int c = 3;
switch ( a ) {
case b:
/* Code */
break;
case c:
/* Code */
break;
default:
/* Code */
break;
}