Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int main() {
- int tab, mult, result;
- printf("Tabuada de 1 a 9.n");
- tab = 1;
- for (tab = 1; tab <= 9; tab++) {
- mult = 0;
- while (mult <= 9 && tab <= 9) {
- mult++;
- result = tab * mult;
- printf("%d * %d = %d n", tab, mult, result);
- }
- printf("n");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement