Question: (USING VISUAL STUDIOS) Multiplication Table Write a program that uses a nested loop to print out a 10x10 multiplication table. Make sure the columns are
(USING VISUAL STUDIOS)
Multiplication Table Write a program that uses a nested loop to print out a 10x10 multiplication table. Make sure the columns are right-aligned.
Hint: print out (row+1)*(col+1) while your loop indices row & col go from 0 to 9
-------------------------------------------------------------------------------------------------------------------------------
PE 1 Loops & Arrays (Enhanced) Write a program that creates a char array with 26 elements. Then use a while() loop to put the 26 lowercase letters in it, and a for() loop to print the array contents, as shown below:
}The array contents:
}array[0]=a
}array[1]=b
}array[2]=c
}array[3]=d
}
}array[25]=z
}Hint: to fill the array, note that the alphabetical char values are numerically adjacent, so
} a+ 1 == b
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
