摘要:
#include<stdio.h> //文件包含//#define PI 3.14 //宏定义//void main() { float r,s; scanf("%f",&r); //输入半径r的值// s=PI*r*r; //求圆面积值// printf("%f\n",s); //输出圆面积值// 阅读全文
posted @ 2019-12-10 18:27
张德明
阅读(16618)
评论(0)
推荐(0)
摘要:
#include<stdio.h>void main(){ int yw,sx,sum; //定义3个整形变量// printf("Input two numbers:"); //显示提示信息// scanf("%d%d",&yw,&sx); //输入yw,sx值// sum=yw+sx; //求出 阅读全文
posted @ 2019-12-10 18:27
张德明
阅读(262)
评论(1)
推荐(0)
摘要:
#include <stdio.h>void main(){ int x,y,z; int max(int a, int b); printf("Input tow number:"); //输出字符串 scanf("%d%d", &x, &y); //输入两个变量 z = max(x, y); / 阅读全文
posted @ 2019-12-10 18:27
张德明
阅读(197)
评论(0)
推荐(0)
浙公网安备 33010602011771号