code please

i need a program to wright this
1
2345
678910
Oh I love this assignments.

1
2
3
4
5
int main()
{
    std::cout << "1\n2345\n678910\n";
    return 0;
}


There ya go, sometimes professors like to assign really easy assignments to see people overachieve. This will get you an A for sure.
Topic archived. No new replies allowed.