Dzień dobry,
Czy ktoś może mi powiedzieć, co jest nie tak z moim programem? Z góry bardzo dziękuję.
#include <iomanip>
#include <iostream>
using namespace std;
void showTable();
int main()
{
do
{
void showTable()
{
cout << "MULTICIPATION TABLE" << endl;
cout << "===================" << endl << endl;
cout << setw(5) << "n" << setw(10) << "10*n" << setw(10) << "100*n" << setw(10) << "1000*n" << endl
<< "--------------------------------------" << endl;
for (int x = 1; x <= 15; ++x)
{
cout << setw(5) << x << setw(10) << x * 10 << setw(10) << x * 100 << setw(10) << x * 1000 << endl;
}
}
}
}