Additional Midterm Practice Problems

 

1.)  Write a program to display a 5 x 5 multiplication table like so:

 

1          2          3          4          5

2          4          6          8          10

3          6          9          12         15

4          8          12         16         20

5          10         15         20         25

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2.) Write a program that reads in a word as input, and then prints it out in reverse.