Cpp | Sololearn: Learn to code for FREE!

0

Cpp

Can we write if elif else instead of multiple if

7/10/2020 1:24:44 PM

vishal pawar

2 Answers

New Answer

+9

Your question is unclear. I am assuming that you are trying to say that "Can we use switch instead of multiple if elseif". Yes, you can. https://www.sololearn.com/learn/CPlusPlus/1618/

0

Ok bro thanks