Question: CHALLENGE ACTIVITY 12.2.3: If-else statement: Fix errors. Start Find and fix the error in the if-else statement. 1 #include 2 using namespace std; 3 4

 CHALLENGE ACTIVITY 12.2.3: If-else statement: Fix errors. Start Find and fix

CHALLENGE ACTIVITY 12.2.3: If-else statement: Fix errors. Start Find and fix the error in the if-else statement. 1 #include 2 using namespace std; 3 4 int main() { 5 int user Num; 6 7 cin >> userNum; // Program will be tested with values: 1, 2, 3, 4. 8 9 if (userNum = 2) { 10 cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!