读取和显示int值的C源代码示例

#include <stdio.h> 
int main(void) 
{ 
    int dogs; /*from w w w  .y  iib  ai . c  om*/

    printf(How many dogs do you have?\n); 
    scanf(%d, &dogs); 
    printf(So you have %d dog(s)!\n, dogs); 

    return 0; 
}

相关文章

for遍历数组
。。。
声明一个计数循环
咕咕咕
#include <stdio.h> int main (void) { printf (&quo...