online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
an = 0 sco = 0.0 print ('Welcome to Pokemon Test!') print("Q1:How many evolution types does Eevee have? ") a = int(input(" ")) if a == 8: print("Correct!") sco += 25.0 an += 1 else : print("NO!") print("Q2:What's the number of Pikachu? ") d = int(input(" ")) if d == 25: print("Correct!") sco += 25.0 an += 1 else : print("NO!") print("Q3:The information about Pikachu.Please choose the uncorrect one.") print("A. Gender ratio 2:1(male:female)") print("B. Rat Pokémon") print("C. There are small power bags on either side of the cheek. It discharges when it encounters danger") b = str(input("")) if b == "A": print("Correct!") sco += 25.0 an += 1 else : print("NO!") print("Q4:What isn't a pokemon's name?") print("1. Lycanroc") print("2. Pikachu") print("3. Charmander") print("4. Eaceus") c = int(input("")) if c == 4: print("Correct!") sco += 25.0 an += 1 else : print("NO!") print("Congratulations, you got "+str(an)+" answers right." "That is a score of "+str(sco)+" percent.")

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue