91学习

陪伴你每一天!

for语句的使用

#include <stdio.h>


int main(){

int high=80;

int i;


for(i=0;i<6;i++){

high/=2;

printf("the height of the current is %d\n",high);

}

printf("the height of the sixth is %d\n",high);

return 0;

}

加威信18790284560免费送POS机.jpg

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。