Click here to Skip to main content
16,016,750 members

Comments by Member 12367441 (Top 8 by date)

Member 12367441 4-Mar-16 9:53am View    
http://www.codeproject.com/Questions/1083123/Can-somone-give-me-a-clue-what-should-i-do-next
this my true homework sir what should i do next?????????
can you help me with this sir?
Member 12367441 4-Mar-16 9:14am View    
i think I got it but is this right?
Module main
Dim table(,) As Integer
Dim input_row As Integer
Dim input_columns As Integer
Dim row() As Integer
Dim sum() As Integer
Dim columns() As Integer
Dim multiplier As Integer
Dim multiplicand As Integer


Sub Main()
inputvalue()
other()
Console.ReadLine()
End Sub
Sub inputvalue()
Console.Write("enter row: ")
input_row = Console.ReadLine
Console.Write("Enter columns: ")
input_columns = Console.ReadLine




End Sub
Sub other()
For x As Integer = 1 To input_columns
For y As Integer = 0 To input_row
If y > 0 And x > 0 Then
Console.Write(x * y & vbTab)
End If
Next
Console.WriteLine()
Next
End Sub
Member 12367441 4-Mar-16 7:53am View    
yes
but using the array youll print the index.
still confuse sir?
Member 12367441 4-Mar-16 7:30am View    
im going to delete it sir sorry....
Member 12367441 4-Mar-16 7:09am View    
row: 5
columns:5
123456
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25
user input row and column
i try this code
Sub other()
For x As Integer = 1 To input_columns
For y As Integer = 0 To input_row
Console.Write(x * y)
Next
Console.WriteLine()
Next
but it make the table
0 1 2 3 4 5
0 2 4 6 8 10
0 3 6 9 12 15
0 4 8 12 16 20
0 5 10 15 20 25