Odpowiedź :
#include <iostream>
int main()
{
for (int i = 1; i < 21; i++)
{
std::cout << i << " ";
}
std::cout << std::endl;
for (int i = 20; i > 0; i--)
{
std::cout << i << " ";
}
}
#include <iostream>
int main()
{
for (int i = 1; i < 21; i++)
{
std::cout << i << " ";
}
std::cout << std::endl;
for (int i = 20; i > 0; i--)
{
std::cout << i << " ";
}
}