programming C++
This is the wrong subject.
So wat do u need @johnwregt ?? @♪Chibiterasu its not rong C++ functions is related to math
cout<<"Multiple Choice: Which of the following is not an operation system\?\n"; //question #1 cout<<" A: Windows 8\n B: iPhone\n C: Linux\n D: Android\n"; cout<<"Enter your choice : "; cin>> choice1; string choice1; while (i < choice1.length()) { choice1[i] = toupper(choice1[i]); i++; if (choice1 == "b" || choice1 == "B" || choice1 == "iPhone" || choice1 =="iphone"); { cout<<endl; cout<<"correct!\n";score++; cout<<endl; } if (!(choice1 == "b" || choice1 == "B" || choice1 == "iPhone" || choice1 =="iphone")); { cout<<endl; cout<<"Sorry that was incorrect"<<endl; cout<<endl; } }
thi is a basic sample per question and everything is initialized earlier on, but there are like 4-5 problems/warning per question
Join our real-time social learning platform and learn together with your friends!