Please do it by the Visual Studio without using any parameters,
thanks.
std::string getRepString()
Inside the main() function, prompt for an int n and string: Assume the int and string are separated by white space; and the string is a single word with no embedded white space. Then call getRepString() to read n and the string from the console. getRepString() should return the string repeated n times. If n < 0, then the empty string should be returned; if n = 1, then the string should be returned; if n = 2, then the string should be concatenated with itself. Finally, main() should display what is returned by getRepString(). After completing this assignment, be sure to commit and push your solution followed by confirmation with the browser.