0

Why is here no output?

It looks so right,so I'm quite confused. https://code.sololearn.com/cfBt0UZioal0/?ref=app

23rd Oct 2019, 10:58 PM
Jax Young
Jax Young - avatar
4 Respostas
+ 3
Maybe the way that you input the datas is wrong. I input "5d" and the answer is OK. If you want to line feed when you input datas , you can add a blank between %d and %c.
24th Oct 2019, 12:47 AM
INSIST.
INSIST. - avatar
+ 2
Write printf("%d %c,& with, &c) ; I. e provide a space when you write%c after%d (or any other format specifier) Otherwise lexical analyzer scan whole line into one token , and It don't take character input into account.
25th Oct 2019, 10:29 AM
Pooja
Pooja - avatar
0
INSIST. You are right. Thanks very much.^_________^
24th Oct 2019, 12:53 AM
Jax Young
Jax Young - avatar
0
Vanarch It seemed like that you misunderstood me. But thank you anyway.
24th Oct 2019, 12:55 AM
Jax Young
Jax Young - avatar