Can anyone tell me why the looping is not working correctly?
It was to print the table from 0 to 10, but instead it is printing numbered * 11.
Follow the code below:
#include <stdio.h>
int main(void)
{
int numero, cont=0;
printf("Digite um numero: ");
scanf("%d",&numero);
for (cont=0; cont<=10 ; cont++);
{
printf("%d x %d = %d \n",numero,cont,numero*cont);
}
return 0;
}