Computing.Net > Forums > Programming > Creating Multiplication table in C?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Creating Multiplication table in C?

Reply to Message Icon

Name: Dado
Date: December 9, 2003 at 08:55:14 Pacific
OS: Me
CPU/Ram: 256MB
Comment:

How can I create a multiplication table in C without reading the data from a keyboard or file? Help appreciated!



Sponsored Link
Ads by Google

Response Number 1
Name: Fozzie
Date: December 9, 2003 at 09:47:18 Pacific
Reply:

Use nested loops.

something like

for(int x=0; x < biggest_number; x++)
{
for (int y=0; y < biggest_number; y++)
{
// print your table or fill your
// array here using x and y
}
}


0
Reply to Message Icon

Related Posts

See More


Creating a New Data Sourc... Having problem with JSP



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Creating Multiplication table in C?

Create a table in access 2002 using VBA www.computing.net/answers/programming/create-a-table-in-access-2002-using-vba/2644.html

How to create & save Database in C www.computing.net/answers/programming/how-to-create-amp-save-database-in-c/10418.html

Create SQL table in VB www.computing.net/answers/programming/create-sql-table-in-vb/10175.html