2203031110 黄正淳 c语言第一次作业


项目 内容
课程班级博客链接 课程班级博客链接
作业要求链接 作业要求链接
博客名称 Miles、DD
要求 每道题要求有题目,代码,和运行结果的截图
#include <stdio.h>
int  main (){
int  a,b,temp;
scanf("%d  %d",&a,&b);
temp=a;
a=b;
b=temp;
printf("%d  %d",a,b);
return  0;
}
复制代码

复制代码
#include <stdio.h>
int main()
{
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
printf("长方体的体积为%d",a*b*c);
return 0;
复制代码

posted @ 2023-03-15 14:35  Miles、DD  阅读(33)  评论(0)    收藏  举报