I just started up on programming in C++ from QBASIC and i was wondering how, when entering text, can u skip lines?
When I put this in:
It come out to:Code:#include <iostream> using namespace std; int main() { int num; int num2; cout<<"Hello There!"; cout<<"What is your favorite number?"; cin>>num; cout<<"Your favorite number is: "<<num; return 0; }
"Hello There!Whats your favorite number?"
And I want it tho show:
"Hellow There!"
"Whats your favorite number?"
Yeah im a newbie but ne help would be great!