Changing a string to match an integer length in c++
I'm trying to output a line of "x"'s depending on a length inputted by the user.

For example:

If a user inputs "4" and "4" is saved in an int declared as "numOfXs" the console would output "XXXX". However, if the user inputs "6" the console would output "XXXXXX".

sorry for a lack of code but I'm in a hurry to get to class on time. If you have any ideas please let me know!

Thanks,
Panda

Changing a string to match an integer length in c++
===

I'm trying to output a line of "x"'s depending on a length inputted by the user.

For example:

If a user inputs "4" and "4" is saved in an int declared as "numOfXs" the console would output "XXXX". However, if the user inputs "6" the console would output "XXXXXX".

sorry for a lack of code but I'm in a hurry to get to class on time. If you have any ideas please let me know!

Thanks,
Panda
