刘华世的官方博客
摘要: #include <stdio.h>main(){ printf("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n "); printf(" 欢迎光临C语言世界\n"); printf("$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$\n ");}////////////////////////////0#include <stdio.h>main(){ printf("表达式1的值:%f\n",99.7*0.26+4.25); printf("表达 阅读全文
posted @ 2013-01-04 17:52 pythonschool 阅读(904) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h>/*C语言 结构体的应用*/typedef struct{ char bookname[40]; //书名 char author[20]; //作者 float price; //价格} BOOK;int main(int argc, char* argv[]){ BOOK b1, b2, b; scanf("%s %s %f", b1.bookname, b1.author, &b1.price); scanf("%s %s %f", b2.bookname, b2.author, &b 阅读全文
posted @ 2013-01-04 17:52 pythonschool 阅读(2025) 评论(0) 推荐(0) 编辑
刘华世的官方博客