You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update code to not use older c style and makes the code more readable.
The char length in name was not need. Told pc to ask for a name then spit out to the user. pretty simple stuff. Also updated main to take an int type. Added <stdio.h> and as well as standard namespace.
`#include <stdio.h>
#include
using namespace std;
int main(void)
{
string name;
cout << "What is your name" << endl;;
cin >> name;
cout << "Hello! " << name;
return 0;
}`
Go through HelloYou.c and complete that TODO part.
The text was updated successfully, but these errors were encountered: