Program questions.. for ARRAYS


1. Using one-dimensional array, make and run a program that will allow a user to input 15 numbers and sort them from highest to lowest.
Sample Output:
What are the 20 numbers?
5 9 6 1 0 2 11 15 16 78 52 3 4 7 10 8 12 0 13 14
The highest to lowest order will be:
0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 78 52

2. Make and run a program that will let the user to input two numbers. Display a multiplication table using the entered numbers as its size. Set maximum size to 20.
Sample Output:
I will create a multiplication table for you!!
How many row and column do you want? 2 3
1 2 3
1 1 2 3
2 2 4 6

3. Make and run a program that will allow the 2 users that will act as a player to participate in XOX game
Sample Output:


      COL / ROW 
                1	2	3
          1	X	O	O
          2	O	X	X
          3	O	X	X


Player 1 (X) – 3 3
Player 2 (O) – 3 1
Player 1 with X symbol wins!!!
Please, show what you have done at this point. We are willing to help you with problems you encountered, but we won't do your homework for you.
in your example output you contradict yourself.

The highest to lowest order will be:
0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 78 52
Topic archived. No new replies allowed.