RosettaCodeData/Task/Repeat-a-string/C++/repeat-a-string-2.cpp

8 lines
122 B
C++
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
#include <string>
#include <iostream>
int main( ) {
std::cout << std::string( 5, '*' ) << std::endl ;
return 0 ;
}