Advertisement
Guest User

Untitled

a guest
Apr 27th, 2015
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. void abertura(int m) {
  4. printf("Tabuada do %d\n\n", m);
  5. }
  6.  
  7. int main() {
  8.  
  9.  
  10. int multiplicador = 2;
  11.  
  12. abertura(multiplicador);
  13.  
  14. for(int i = 1; i <= 10; i++) {
  15. printf("%d x %d = %d\n", multiplicador, i, multiplicador * i);
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement