For example, a 3x3 board contains nine 1x1 squares, four 2x2 squares, and one 3x3 square, for a grand total of fourteen squares of any size. Your program should loop continuously until zero is entered as the board size. N will be no larger than 30. A 3x3 board contains 14 squares of any size. A 4x4 board contains 30 squares of any size.
Some notes have other common names.
Most music includes chords, or groups of notes played at the same time. Many of these chords are given standard names. For example, the notes C, E, and G sounded together are called a C Major chord. While the particular C, E and G in the chord are frequently close together on the keyboard, for our purposes here, any C, E, and G played at the same time will constitute a C Major chord. It is the spacing between the notes on the keyboard that distinguishes a Major chord from others.