Computer Science, asked by kajal344715, 9 months ago

int main()
{
int a=1 ;
switch(a)
{
case I cout <<"one"
case 2: cout <<"two".
case 3: cout <e" three".
Default :
cout <<" default":
}
Return o;
}​

Answers

Answered by tumatimahitha152
0

Answer:

your program is wrong

In c language cout function will not be include that particular function belongs to c++

and also one thing should be noted u will always have break statements when using the swith().

Explanation:

ur program is:

int main()

{

int a=1;

switch(a)

{

case 1:

    printf("one");

    break;

case 2:

   printf("two");

   break;

case 3:

   printf("three");

   break;

default:

   printf("default");

}

}

Similar questions