Question: Using matlab write original code Program 4: (CozaLozaWoza): Write a program called CozaLozaWoza which prints the numbers 1 to 110, 11 numbers per line. The
Program 4: (CozaLozaWoza): Write a program called CozaLozaWoza which prints the numbers 1 to 110, 11 numbers per line. The program shall print "Coza" in place of the numbers which are multiples of 3, "Loza" for multiples of 5, "Woza" for multiples of 7, "CozaLoza" for multiples of 3 and 5, and so on. The output shall look like: (11 points) 1 2 Coza 4 Loza Coza Woza 8 Coza Loza 11 Coza 13 Woza CozaLoza 16 17 Coza 19 Loza CozaWoza 22 23 Coza Loza 26 Coza Woza 29 CozaLoza 31 32 Coza Hint: You should use loops and conditionals
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
