#include<stdio.h>
#include<conio.h>
int main()
{
int i, n;
long s;
printf("\Nhap n: ");
scanf("\n%d", &n);
s = 0;
i = 1;
while(i <= n)
{
s = s + i;
i = i + 1;
}
printf("\n%ld", s);
getch();
return 0;
}
Nếu bạn có thắc mắc hoặc có cách giải hay hơn vui lòng chia sẻ với mọi người bằng cách bình luận bên dưới nhé.Những tin mới hơn
cialis buy I started Clomid in August, got pregnant on my third round and was also using progesterone suppositories but at 6 weeks had a miscarriage and there was what appeared to be a large chorionic bump or clot type thing in my uterus