摘要:
大圆盘减去扇形和小圆盘: #include <math.h> #include <stdio.h> int main() { double x, y; for (y = 1; y >= -1; y -= 0.05, putchar('\n')) for (x = -1; x <= 1; x += 0 阅读全文
摘要:
#include<stdio.h> int volume(int a, int b,int c)/*定义函数*/ { int p; p = a * b * c; return p; } int main() { int a, b, c,v; printf("请输入长方体的长、宽和高:\n"); sc 阅读全文
摘要:
#include<stdio.h> int max(int a, int b)/*定义函数*/ { if (a > b) return a; else return b; } int main() { int a, b, c, maxvalue; printf("请输入三个数:\n"); scanf 阅读全文