Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cstdlib>
- #include <ctime>
- #include <fstream>
- using namespace std;
- int a,b,c;
- int main()
- {
- ofstream zapis_pliku ("tabliczka.txt");
- for(int a=1;a<11;a++)
- {
- for(int b=1;b<11;b++)
- {
- c=a*b;
- zapis_pliku<<c<<" ";
- }
- zapis_pliku<< endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement