I want to run my c++ program but it is not taking inputs from user and directly giving output
You can run your program here.
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)
use gcc compiler
Please add more details and atleast share the code.