how can i use "scanf" command in runtime

,

I cant use “scanf(”") " command in code run and compile section . printf is working great but it shows error whenever i try to write a program which takes input.

anybody who knows the solution, please help. Will be very thankful to you. :slight_smile:

There is a checkbox: “Custom input”. Check it, and a textbox appears, where you can provide all your input.

I think you miss something, called correct syntax for scanf is “scanf(”%format specifier (e.g d,c etc)",&name of variable)".
if you don’t provide & then you don’t get error but problem is your compiler get crash.