Your condition should be
while (a != 'e' && a != 'r')
Otherwise it is always true
no matter what value of a
you enter.
6
solved Loop not doing its job
Your condition should be
while (a != 'e' && a != 'r')
Otherwise it is always true
no matter what value of a
you enter.
6
solved Loop not doing its job