Found error in String C++ inputs

Bug description:
line 11, i gave output to print the enter the string but it bypass the code

Expected vs Current Behavior:

Steps to reproduce:

Bug appears at this link:

Screenshot(s)/Screen Recording:

Browser/OS/Device: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36 Edg/114.0.1823.58

Replit Profile:

This category only needs Replit Editor.


What do you mean “bypass the code”?

@QwertyQwerty88 can you change the tag to C++?

1 Like

@BALAKUMAR14 change getline (cin,str); to cin>>str;

1 Like