No products in the cart.

Rewrite the following code using switch …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

Rewrite the following code using switch if(ch=='A') || (ch=='1') System. out. print("one"); else if(ch=='B') || (ch=='2') System. out. println("two"); else System. out. println("none");
  • 2 answers

Raghuvansh Singh Rajawat 5 years, 7 months ago

switch(ch) { Case 'a': Case 'i': Sop(); Break; } .........this is right

Raghuvansh Singh Rajawat 5 years, 7 months ago

I m confused but ya kal tak surely bta dunga...Kya h na 2 conditions h so thrda confusion h baki solve toh kr liya h
http://mycbseguide.com/examin8/

Related Questions

Founder of python
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App