• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
0

I don't understand why is wrong

https://code.sololearn.com/cQbSf6QqTxyW/?ref=app

c++
8th May 2020, 7:10 PM
Emanuel MartĂ­nez Mendoza
Emanuel MartĂ­nez Mendoza - avatar
2 Answers
+ 2
at first glance you need to replace if else with else if
8th May 2020, 7:16 PM
Gabriel Ilie
Gabriel Ilie - avatar
+ 2
Use elif
8th May 2020, 11:37 PM
SùñtÎsh
SùñtÎsh - avatar

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
Which is easier to learn first between python and JS?
0 Votes
Does sololearn teaches on how to create games
0 Votes
Excuse me, why do they always ask us to input without telling us what it is for in python.
2 Votes
Sockets, etc
0 Votes
Quiz
0 Votes
I HAVE A PROBLEM I CANNOT ABLE TO SEND MESSAGE ANYONE AND ALSO MY MESSAGE SECTION NOT AVAILABLE "PLEASE ACTIVATE YOUR ACCOUNT
0 Votes
NecesitĂł ayuda
1 Votes
Any Sololearn Chat Groups that I could Join?
0 Votes
Controls issue
0 Votes
can't understand an error
0 Votes