0

huh i tried executing this program in the code playground but it doesn't put an blank space! i've copied the code on the descrip

it works if i put endl but /n does not work why? #include<iostream> using namespace std; int main() { cout << "Hi whats your name?/n/n"; cout << "My name is Noor Mohamed"; return 0; }

7th Jul 2017, 11:53 AM
Noor Mohamed
Noor Mohamed - avatar
1 Antwort
+ 2
oh! nevermind guys i figured out the problem ive been useing /n instead of \n
7th Jul 2017, 11:55 AM
Noor Mohamed
Noor Mohamed - avatar