Answers for "c++ multiply char"

C++
0

c++ multiply char

char star = '*';  
int num = 7;
std::cout << std::string(num, star) << std::endl;
Posted by: Guest on March-30-2021

Browse Popular Code Answers by Language