Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* 24) Escreva um programa em C que imprima a tabuada (de 1 a 10) para os números
- de 1 a 10. */
- #include "stdio.h"
- int main(){
- for(int i=1; i<=10; i++) {
- printf("Tabuada do %d:\n", i);
- for(int j=1; j<=10; j++){
- printf("%d x %d = %d\n", i, j, i*j);
- }
- printf("\n");
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement