Question: Create a class, call Week6Activity that holds all the program. All of your program should run one after another in the same main method. You

 Create a class, call Week6Activity that holds all the program. All

Create a class, call Week6Activity that holds all the program. All of your program should run one after another in the same main method. You are expected to implement three programs for this activity. Hint: All of these programs require you to use a loop, two of the program requires you to use a nested loop. Make sure that your output matches my output below. Printing out the perfect squares This program prints out the first one hundred squares. Each line consists of ten numbers. Use print format to help align the digits together. 1 4 9 16 25 36 49 64 81 100 121 144 169 196 225 256 289 324 361 400 441 484 529 576 625 676 729 784 841 900 961 1024 1089 1156 1225 1296 1369 1444 1521 1600 1681 1764 1849 1936 2025 2116 2209 2304 2401 2500 2601 2704 2809 2916 3025 3136 3249 3364 3481 3600 3721 3844 3969 4096 4225 4356 4489 4624 4761 4900 5041 5184 5329 5476 5625 5776 5929 6084 6241 6400 6561 6724 6889 7056 7225 7396 7569 7744 7921 8100 8281 8464 8649 8836 9025 9216 9409 9604 9801 10000 Multiplication Table This program prints out the 10 x 10 multiplication table. 10 1 2 3 4 5 6 7 8 9 6 2 4 8 10 12 14 16 20 18 27 3 6 12 15 18 21 24 30 9 12 4 8 16 24 40 20 25 10 20 5 6 7 15 18 21 30 36 28 32 35 40 42 48 36 45 54 50 60 12 49 70 14 16 24 30 28 35 32 40 36 45 8 24 56 42 48 54 60 56 63 64 72 72 81 80 90 18 63 90 9 10 27 30 20 40 50 70 100 Write an application that uses a nested iteration and switch statements to prints out all the verses in the song "The Twelve Days of Christmas." You should use two switch statements. One switch statement print out the day (first, second, third, ..., twelfth), and the other switch statement be used to determine the gift

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!