MIPI_BaseC_WebinarFRTK/05_Lecture05/08_number_p29.c
2024-11-13 09:22:28 +03:00

20 lines
291 B
C

#include <stdio.h>
int main(int argc, char **argv)
{
int i, a=1;
for(i=1; i<4; i++)
a++;
printf("%d\n",a);
int s, b=1;
for(s=1; s<4; s++)
b = b+s;
printf("%d\n",b);
int e, k=1, l=2;
for(e=3; e>=1; e--)
k+=l;
printf("%d\n",k);
}