You should use some sort of loop. E.g.
for (i=1; i<=5; ++i) printf ("%d ", i*(i+1)/2);
Yes, I can.
Do write, but before you start, please explain what does swapping a number mean.
int a = 5; int b = 10; a = a + b; // a = 5 + 10 = 15 b = a - b; // b = 15 - 10 = 5 a = a - b; // a = 15 - 5 = 10
It is: 15 and 3/10
It is: 15/10 = 1.5 as a decimal
divide 10 and 15 by their GCF, 5
10.15
10-15
In the United States, the standard way would be 10:15 A.M., or alternatively 10:15 a.m., 10:15 AM, or 10:15a. However, in some other parts of the world, you would write 10.15 a.m., using a period instead of a colon.
Fox Business - TV program - was created on 2007-10-15.
15/10 + 7/100 = 1.57
The Jack Benny Program - 1950 Jack Hires a Cook 15-10 was released on: USA: 27 November 1964