摘要: #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sales_price; 阅读全文
posted @ 2025-06-02 20:33 7oo 阅读(9) 评论(0) 推荐(0)
摘要: / #include <stdio.h> #include <stdlib.h> int power(int x, int n); // 函数声明 int main() { int x, n; int ans; while(printf("Enter x and n: "), scanf("%d%d 阅读全文
posted @ 2025-04-06 23:13 7oo 阅读(16) 评论(0) 推荐(0)
摘要: // 打印一个字符小人 #include <stdio.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); return 0; } // 打印一个字符小人 #include <stdio.h> #include <st 阅读全文
posted @ 2025-03-07 13:50 7oo 阅读(14) 评论(0) 推荐(0)