Dear student, if you are facing problem in compiling and executing code then please send it via email. Here you are asking about assignment, its solution will only be provided after due date. You also need to explore the DEV C++ properly in order to understand use of different functionalities in it. When you run it on prompt then program behaves accordingly they way you have programmed it. If you have asked for input then prompt will be there with blinking curser to enter some value. Prompt also shows the output of your code you have written.