زبان برنامه نویسی سی/حلقه do while و while: تفاوت میان نسخه‌ها

محتوای حذف‌شده محتوای افزوده‌شده
جزبدون خلاصۀ ویرایش
جزبدون خلاصۀ ویرایش
خط ۶:
 
{{چپ‌چین}}
<sourcesyntaxhighlight lang=C#c>
do {
statement 1;
خط ۱۵:
//updating for conditional-expression
} while (conditional-expression);
</syntaxhighlight>
</source>
{{پایان چپ‌چین}}
 
خط ۲۱:
 
{{چپ‌چین}}
<sourcesyntaxhighlight lang=C#c>
while(conditional-expression)
{
خط ۳۱:
//updating for conditional-expression
}
</syntaxhighlight>
</source>
{{پایان چپ‌چین}}
 
خط ۵۵:
 
{{چپ‌چین}}
<sourcesyntaxhighlight lang=C#c>
#include<stdio.h>
 
خط ۹۱:
return 1;
}
</syntaxhighlight>
</source>
{{پایان چپ‌چین}}
 
خط ۱۰۰:
 
{{چپ‌چین}}
<sourcesyntaxhighlight lang=C#c>
#include<stdio.h>
 
خط ۱۱۵:
return 0;
}
</syntaxhighlight>
</source>
{{پایان چپ‌چین}}
 
خط ۱۲۳:
 
{{چپ‌چین}}
<sourcesyntaxhighlight lang=C#c>
#include <stdio.h>
 
خط ۱۵۶:
return 0;
}
</syntaxhighlight>
</source>
{{پایان چپ‌چین}}