| |||||
| <BLOCKQUOTE> <font> كود: </font> <div align="ltr"> <center> <table border="0" width="80%" dir="ltr" bgcolor=="#000000"> <tr> <td width="100%"> <pre> <font color="#ffffff"> #include <stdio.h> main() { int a =-1; do{ a++; print a; }while(a); } </font> </pre> </td> </tr> </table> </center> </div> </BLOCKQUOTE> ------------------ أخوكم أبو ماجد الصارم azzozhsn@hotmail.com www.azzozhsn.com | |||||
|
| |||||
|
Thanks, Yes the program while not print any thing because a = -1 the after a++; Statement a=0 then the do loop end (Sory Ican'nt Speak English very will) ------------------ أخوكم أبو ماجد الصارم azzozhsn@hotmail.com www.azzozhsn.com | |||||
|
![]() |
| أدوات الموضوع | |
| |