2013年5月27日

C Primer Plus(四)

摘要: 第四章 字符串和格式化输入/输出4.1前导程序#include<stdio.h>#include<string.h>#define DENSITY 62.4int main(){float weight,volume;int size,letters;char name[40];scanf("%s",name);scanf("%f",&weight);size=sizeof name;letters=strlen(name);volume=weight/DENSITY;printf("Well,%s,your v 阅读全文

posted @ 2013-05-27 11:41 颓废的悠然 阅读(331) 评论(0) 推荐(0) 编辑

导航