Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
#include <stdio.h>
int main()
{
int n;
int m;
int cntr;
long long product;
FILE*ark = fopen("Tablas de Multiplicar.dat","w");
printf("¿Qué tabla de multiplicar desea conocer (Registre número)\n");
scanf("&d", m);
printf("¿Hasta qué número la desea calcular? (Registe número)\n");
scanf("%d", &n);
for (cntr = 1; n=1; n++)
{
product= m*n;
printf("%d %lld\n", cntr, product);
fprintf(ark, "%d %lld\n", cntr, product);
}
return 0;
}
Advertisements
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.
AcceptLearn more