No changes between revisions
/programy/C/ix86/cykly/cykly.c |
0,0 → 1,47 |
#include <stdio.h> |
#include <math.h> |
|
int main (void) |
{ |
float i; |
int b,x,y; |
|
printf("for: \n "); |
for(i=1.1;i<10;i+=1.1) |
{ |
printf("%2.1f ",i); |
} |
|
printf("\nwhile: \n "); |
i=1.1; |
while(i<10) |
{ |
printf("%2.1f ",i); |
i+=1.1; |
} |
|
printf("\ndowhile: \n "); |
i=1.1; |
do |
{ |
printf("%2.1f ",i); |
i+=1.1; |
} |
while (i<10); |
|
printf("\nAbeceda: \n "); |
for(b='a';b<='z';b++) |
{ |
printf("%c ",b); |
} |
|
printf("\nNasobilka: \n "); |
for(y=1;y<=10;y++) |
{ |
for(x=1;x<=10;x++) |
{ |
printf("%4d ",(x*y)); |
} |
printf("\n "); |
} |
} |
/programy/C/ix86/cykly/cykly.exe |
Cannot display: file marked as a binary type. |
svn:mime-type = application/octet-stream |
Property changes: |
Added: svn:mime-type |
+application/octet-stream |
\ No newline at end of property |