answersLogoWhite

0

You should use some sort of loop. E.g.

for (i=1; i<=5; ++i) printf ("%d ", i*(i+1)/2);

User Avatar

Wiki User

14y ago

What else can I help you with?