求长方形面积-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(void){ int a,b; scanf("%d%d",&a,&b); printf("C:%d\n",2*a+2*…… 题解列表 2020年08月03日 0 点赞 0 评论 260 浏览 评分:0.0
求长方形面积-题解(Java代码) 摘要:# MarkDown编辑器基本使用说明 **如果这是您第一次使用MarkDown编辑器,建议先阅读这篇文章了解一下Markdown的基本使用方法。** ## 实时预览、全屏显示 ![…… 题解列表 2019年12月18日 0 点赞 0 评论 1145 浏览 评分:0.0
求长方形面积-题解(C++代码) 摘要:``` cpp #include using namespace std; int rectangle() { int w = 0; int h = 0; c…… 题解列表 2020年06月16日 0 点赞 0 评论 434 浏览 评分:2.0
求长方形面积-题解(C++代码) 摘要:简单题1952:求长方形的面积和周长 输出格式 s: c: s=A*B; c=(A+B)*2; 代码如下: #include using …… 题解列表 2019年10月16日 0 点赞 0 评论 1031 浏览 评分:3.3
求长方形面积-题解(C语言代码) 摘要:```c #include int main(void) { int a,b; scanf("%d%d",&a, &b); printf("C:%d\n", 2*(a+b)); …… 题解列表 2020年02月29日 0 点赞 0 评论 583 浏览 评分:5.0
求长方形面积 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main(){ int k,n,C,S; scanf("%d %d",&k,&n); C=2*k+2*n; …… 题解列表 2019年01月08日 0 点赞 0 评论 2878 浏览 评分:5.9
求长方形面积-题解(Python代码) 摘要:简单的求长方形面积和周长 主要要用占位符输出C:周长 如果不使用会出错 ``` a,b=map(int,input().split()) print("C:%d"%((a+b)*2)) pr…… 题解列表 2019年11月12日 1 点赞 0 评论 1270 浏览 评分:6.0
求长方形面积-题解(C语言代码)~\(≧▽≦)/~啦啦啦 摘要:按题目要求来就行啦~~~~\(≧▽≦)/~啦啦啦 以下附上代码啦~ ```c #include int main(){ int a,b,C,S; scanf("%d %d",&…… 题解列表 2019年10月20日 0 点赞 0 评论 842 浏览 评分:6.0
求长方形面积 摘要:参考代码:#include<stdio.h>int main(){ int a,b; int C=0,S=0; scanf("%d%d",&a,&b); C=2*(a+b); S=a*b; print…… 题解列表 2024年05月24日 0 点赞 1 评论 697 浏览 评分:6.0
求矩形面积 摘要:解题思路:通过输入矩形边长,带入公式,计算矩形面积注意事项:输入为数参考代码:#include<stdio.h>int main(){ int a,b,c; scanf("%d%d",&a…… 题解列表 2024年06月21日 0 点赞 0 评论 338 浏览 评分:6.0