0
Multiple if else c++
Ok, I'm trying to learn c++ and the first thing I wanna try is a simple Quiz. I wanna have "do you want to start" as my first question, if you write yes you'll get the next question and if not the quiz ends. I have done all above but now I would need more if and else's so I can get a response if the next question is answered wrong or right. Like : "Is 10 bigger than 20?" 1. Answer: "no" then it says Right and you'll get the next question 2. Answer: "yes" then you'll get a wrong and then continue with the next question. So can anyone explain to me how I can do that? And I'm sry for my grammar and stuff, English is not my first language and I'm writing from my phone.
1 ответ
+ 1
You can check C++ tutorial for that in learning section..And kindly provide your efforts for making program..so that we can help you with bugs and error..If we will give you logic or whole code then how will you learn??