Ask Your Question

Revision history [back]

Switch-Case Structure

is there any other way to call int a, int b and int c simultaneously? not by switch it but together at the same time.

int a = 10; int b = 10; int c = 20;

switch ( a ) { case b: // Code break; case c: // Code break; default: // Code break; }

Switch-Case Structure

is there any other way to call int a, int b and int c simultaneously? not by switch it but together at the same time.

int a = 10; int b = 10; int c = 20;

switch ( a ) { case b: // Code break; case c: // Code break; default: // Code break; }