How to run my c++ program?

I want to run my c++ program but it is not taking inputs from user and directly giving output

Please add more details and atleast share the code.

1 Like

You can run your program here.

ONLINE COMPILERS


OFFLINE COMPILERS FOR WINDOWS
use codeblocks or GCC compiler

OS X or Seirra
use any text editor, terminal works fine compiler is inbuilt. upgrade version using xcode.
(commands, using terminal go to the path where cpp file you have made

to compile - make filename

to get output - ./filename)

LINUX
use gcc compiler

//