+ 6
When i press run it didnt show a[5] at the output
2 Réponses
+ 5
Oh, it's not C++, but may be this:
elif(id==5):
name=a[4]
sould be like:
elif(id==5):
name=a[5]
at first?
Sorry if not :)
+ 2
check the length of a .
length of a is 7
you didn't written any code regarding a[6].
add it.