SHARE
TWEET

Untitled

a guest Jun 25th, 2019 43 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.     int tab, mult, result;
  5.  
  6.     printf("Tabuada de 1 a 9.n");
  7.     tab = 1;
  8.     for (tab = 1; tab <= 9; tab++) {
  9.         mult = 0;
  10.         while (mult <= 9 && tab <= 9) {
  11.             mult++;
  12.             result = tab * mult;            
  13.             printf("%d * %d = %d n", tab, mult, result);
  14.         }
  15.         printf("n");
  16.     }
  17.     return 0;
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top