//#include<stdio.h>//#define praise "you are an extraordinary."//int main()//{//char name[40];//printf("what's your name?\n");//scanf("%s", &name);//printf("hello, %s.%s\n", name, praise);//return 0;//}//#include<stdio.h>//#include<string.h>//#define PRAISE "You are an extraordinary being."//int main()//{//char name[40];//printf("What'your name?\n");//scanf("%s", &name);//printf("Hello, %s. %s\n", name, PRAISE);//printf("Your name of %zd letters occupies %zd memory cells.\n", strlen(name), sizeof(name));//printf("The phrase of praise has %zd letters", strlen(PRAISE));//printf("and occupies %zd memory cells.\n", sizeof(PRAISE));//return 0;//}//#include<stdio.h>//#define PI 3.1415926//int main()//{//float area, circum, radius;//printf("What's is the radius of your pizza?\n");//scanf("%f", &radius);//area = PI * radius * radius;//circum = 2.0 * PI * radius;//printf("Your basic pizza parameter are as follows:\n");//printf("circumference=%1.2f,area=%1.2f\n", circum, area);//return 0;//}


©著作权归作者所有:来自51CTO博客作者qq5fc1f893c5efc的原创作品,如需转载,请注明出处,否则将追究法律责任

更多相关文章

  1. 联想g510电脑安装无线网卡bcm43142
  2. k8s 常用命令
  3. Checkpoint group (transaction code: SAAB)
  4. 自学第七十八天
  5. 自学第七十六天
  6. 2021.2.10
  7. 还有3天就过年了
  8. 网络管理
  9. 2020_2_5

随机推荐

  1. Android 学习成品
  2. android点击文本框之外的地方隐藏键盘
  3. Android设置振铃
  4. Android(安卓)图片的加载与保存
  5. 改变Android中默认Dialog的样式
  6. android 2.2 eclipse
  7. Android开发实践 网络通信 URL、URLConne
  8. android editText 软键盘enter键图标的设
  9. Android debug.keystore的密码
  10. Android:网络框架android-async-http 1.4