I have only just started to learn C++ and i really would like some help please.
I typed out a multiple expression and ended it with endl but the correct answer appeared but it also had danny@ubuntu:~ along it. How can i separate the two?
BTW, you only need to use endl if it is important to make sure your output is properly flushed (to file) at the end of every write. In almost all cases, a simple newline is enough.