0

Hi,

I created a program that makes a multiplication table, I dont know where the .txt file is located after executing the program

Im using turbo C++ :-/

```
#include<iostream.h>
#include<stdio.h>
void main(){
int multiplicand;
int multiplier;
int toprow;
int column;
int repeater;
FILE* Starter=fopen("multiplication.txt","w");
cout<<"Insert the number of repetitions: ";
cin>>repeater;
for(multiplicand=1, toprow=4; multiplicand<=repeater; multiplicand++, toprow=toprow+4){
gotoxy(toprow,10);
fprintf(Starter,"%d",multiplicand);
}
for(multiplicand=1, column=11; multiplicand<=repeater; multiplicand++,column++){
gotoxy(1,column);
fprintf(Starter,"%d",multiplicand);
for(multiplier=1, toprow=4; multiplier<=repeater; multiplier++, toprow=toprow+4){
gotoxy(toprow,column);
cout<<multiplier*multiplicand;
fprintf(Starter,"d",multiplier*multiplicand);
}
}
fclose(Starter);
}
```