16,016,750 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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
Member 12367441
3-Mar-16 19:45pm
View
Module Module1
Dim table(,) As Integer
Dim input_row As Integer
Dim input_columns As Integer
Dim row() As Integer
Dim columns() As Integer
Sub Main()
inputvalue()
prittable()
Console.ReadLine()
End Sub
Sub inputvalue()
Console.Write("enter row: ")
input_row = Console.ReadLine
Console.Write("Enter columns: ")
input_columns = Console.ReadLine
row = New Integer(input_row - 1) {}
columns = New Integer(input_columns - 1) {}
table = New Integer(input_row - 1, input_columns - 1) {}
End Sub
Sub prittable()
For ctr = 0 To row.GetUpperBound(0)
For ctr1 = 0 To columns.GetUpperBound(0)
Console.Write(table(ctr1, ctr))
Next
Console.WriteLine()
Next
End Sub
End Module
how can i put a value on table i dont know the formula to make it an multiplication table.....and is this right?
Member 12367441
3-Mar-16 19:26pm
View
Module Module1
Dim table(,) As Integer
Dim input_row As Integer
Dim input_columns As Integer
Dim row() As Integer
Dim columns() As Integer
Sub Main()
inputvalue()
prittable()
Console.ReadLine()
End Sub
Sub inputvalue()
Console.Write("enter row: ")
input_row = Console.ReadLine
Console.Write("Enter columns: ")
input_columns = Console.ReadLine
row = New Integer(input_row - 1) {}
columns = New Integer(input_columns - 1) {}
table = New Integer(input_row - 1, input_columns - 1) {}
End Sub
Sub prittable()
For ctr = 0 To row.GetUpperBound(0)
For ctr1 = 0 To columns.GetUpperBound(0)
Console.Write(table(ctr1, ctr))
Next
Console.WriteLine()
Next
End Sub
End Module
how can i put a value on table i dont know the formula to make it an multiplication table.....and is this rright?
Member 12367441
3-Mar-16 11:06am
View
but if i loop it i can still do the next step?
user will input multiplier and multiplicand
enter multiplier:4
enter multiplicand: 5
index:(3,4),(4,3)
....
Show More