103k views
0 votes
Write a string constant consisting of exactly 5 exclamation marks.

User SnapJag
by
8.0k points

1 Answer

3 votes
Please specify a language when asking for programming help, otherwise you aren't going to get reliable results.


It tends to be:

const string str = "!!!!!";


Though other languages may use something different such as Java:

final const String = "!!!!!";
User Kasas
by
8.6k points