摘要:
#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("表达 阅读全文
摘要:
#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 阅读全文