Writing this QBASIC code purely on the fly...; without actually testing out if it works/or, not...
CLS
FOR tablesNo%=1 TO 10
FOR timesNo%=1 TO 10
PRINT timesNo%*tablesNo%; " ";
NEXT
NEXT
END
NOTE: The numbers are not yet formatted to line up perfectly straight with one another.
Locate 6,1
Input "Your Name Please ",Nam$
LOCATE 8,1
FOR Count=1 to 10
Print TAB(5) Count " > ";Nam$
Next Count
CLS
INPUT "10"; n
FOR i = 1 TO 10
a = n * i
PRINT n; "x"; i; "="; a
NEXT i
END
====== FOR tablesNo%=1 TO 12 CLS PRINT "PROGRAM: "; tablesNo%; "X Tables:-" PRINT FOR timesNo%=1 TO 12 PRINT timesNo%; " X "; tablesNo%; " = "; timesNo%*tablesNo% NEXT PRINT PRINT "Press [SPACEBAR] key to continue..." SLEEP NEXT END
This is a homework assignment. write homework assignments for you because you need to do this yourself or you will not learn the skills that the assignment is trying to teach you. However if, while trying to do your assignment, you find a specific problem that you need help with, WikiAnswers will help you with these specific questions (e.g is this 'xxxxx' qbasic statement correct). ==== Both the above examples can be adjusted to print out the 15 x tables/or else, the 15 times tables square. HINT: A> In the first case the user types in the number 15; then, presses Enter. B> In the 2nd case you simply change both tablesNo%=/timesNo%= to say 15 instead of 12.
AnswerYou're better off using a program like Visual Basic or C++ to do that. QBasic doesn't have very many capabilities.AnswerQBasic is quite capable. It is certainly capable of solving a magic squares problem.
Not necessarily. A table of structures can store a variety of data types provided the structures themselves are of the same type.
class table{public void sMethod(){for(int a=1;a
====== FOR tablesNo%=1 TO 12 CLS PRINT "PROGRAM: "; tablesNo%; "X Tables:-" PRINT FOR timesNo%=1 TO 12 PRINT timesNo%; " X "; tablesNo%; " = "; timesNo%*tablesNo% NEXT PRINT PRINT "Press [SPACEBAR] key to continue..." SLEEP NEXT END
Learn your multiplication tables
While the multiplication tables are sometimes attributed to Pythagoras the oldest known multiplication tables were used by the Babylonians about 4000 years ago. These used a base of 60. The oldest known tables using a base of 10 are the Chinese decimal multiplication tables on bamboo strips dating to about 305 BC, during China's Warring States period.
When I was growing up, we had to memorize the full set of multiplication tables from 1 to 12. Multiplication Tables are standard 1 to 12 (not 1 to 100). Students must learn the times tables for 1 to 12, before they can apply those tables for 13 through to any number.You can find Multiplication Tables 1-12 online or as charts for sale. Or, do what we did as kids: make your own chart and color or decorate the chart.
time tables
There are many practical uses and reasons why display tables would be used. Companies wishing to display product ranges, people wishing to sell items might use a display table. Display tables are a good tool to display many items.
It isn't necessary, nor particularly useful. Once you know the multiplication tables for one-digit numbers, you can do multiplication on paper for larger numbers. The time spent to memorize such multiplication tables for larger numbers would be better spent learning more advanced math concepts.
Very carefully.
Multiplication tables
Even
Because he knew His Tables! :)
E. B. Varian has written: 'Varian's commercial multiplication tables' -- subject(s): Multiplication, Ready-reckoners, Tables