1.) you are going to ask the values of the rows and column respectively. And for each row the larger number will be displayed first then so on (or in descending fashion). For which the output will look like this:
Results:
How many rows: 3
How many columns: 5
The output is as follows:
Row 1: 5 4 3 2 1
Row 2: 5 4 3 2 1
Row 3: 5 4 3 2 1
--------------------------------------------------
2.) you are going to input an integer number between 1 to 100. In which the output will look like this:
Results:
Enter an integer between 1 and 100: 15
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15
The sum is: 120
2007-03-23
20:41:24
·
3 answers
·
asked by
auray l
1
in
Computers & Internet
➔ Programming & Design