CJCoding With Joseph
15free / daySign inCreate account

Boxed Heading

Print a three-line boxed heading: a line of equals signs as long as the declared width, then the declared title, then the same line of equals signs again. Make each ruler line by multiplying a one-character string by the width rather than typing the signs. Input: none; the values are fixed in the code.

Expected Output:

=============
Weekly Report
=============

= newline. The output ends with a newline — print one after the last line.

Hints3 available
Topics:
PrintingOperators
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.