Created
September 30, 2016 19:30
-
-
Save mreduar/c8e69c71db8fecd7f699065f70453cbc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int num, i; | |
char respuesta; | |
int main() | |
{ | |
do{ | |
printf("Ingrese el numero para genrar la tabla\n"); | |
scanf("%d",&num); | |
for (i = 1; i <= 10; ++i) | |
{ | |
printf("%d * %d = %d \n",num,i,num*i); | |
} | |
printf("Desea generar otra tabla de multiplicacion?.\n S para si N para no.\n"); | |
scanf("%c",&respuesta); | |
}while(respuesta='s'); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment