酷代码
AI
首页
AI工具箱
在线工具
证件照自拍
证件照换底色
关于
设置
登录/注册
菜单
全部AI
/
热门
/ AI写代码神器
服务商
DeepSeek
字节豆包
阿里通义
讯飞星火
百度文心
GPT
开启上下文联想
更多选项
快捷项
语言方向:不限
语言方向:Java
语言方向:C#
语言方向:Python
语言方向:C++
语言方向:C
语言方向:JavaScript
语言方向:Go
语言方向:Ruby
语言方向:Swift
语言方向:R
语言方向:PHP
语言方向:CSS
语言方向:TypeScript
语言方向:Shell
语言方向:Scala
语言方向:Maxscript
语言方向:html
系统环境:不限
系统环境:Windows
系统环境:Linux
系统环境:Mac
其他AI
AI写代码神器
AI问答
AI新闻评论
AI摘要生成
AI高端主持词
AI工作总结报告
AI爆文标题助手
证件照自拍
证件照换底色
问AI
c语言中用于结构化程序设计的3种基本结构是( ) a. 顺序结构、选择结构、循环结构 b. if、switch、break c. for、while、do-while d. if、for、continue
a. 顺序结构、选择结构、循环结构 [2024-05-28 19:45:05 | AI写代码神器 | 21点数解答]
相关提问
如何隐藏我的提问?
AI写代码神器
c语言中用于结构化程序设计的3种基本结构是( ) a. 顺序结构、选择结构、循环结构 b. if、switch、break c. for、while、do-while d. if、for、continue(21点数解答 | 2024-05-28 19:45:05)
123
AI写代码神器
// 主函数功能菜单 void menu() { printf("二叉树操作菜单:\n"); printf("1. 按顺序法创建二叉树的链式存储结构\n"); printf("2. 前序遍历二叉树\n"); printf("3. 中序遍历二叉树\n"); printf("4. 后序遍历二叉树\n"); printf("5. 退出\n"); } int main() { treenode *root = null; int choice; do { menu(); printf("请输入你的选择:"); scanf("%d", &choice); switch (choice) { case 1: root = createtreebysequence(); break; case 2: printf("前序遍历结果:"); preordertraversal(root); printf("\n"); break; case 3: printf("中序遍历结果:"); inordertraversal(root); printf("\n"); break; case 4: prin(132点数解答 | 2024-11-13 09:28:34)
76
AI写代码神器
给以下代码进行注释: for i=0 to selection.count do ( if i!=0 then ( if superclassof selection[i]==geometryclass do ( tomesh = snapshotasmesh selection[i]; if tomesh.numverts!=0 then ( sz=calculatevolumeandcenterofmass selection[i]; for j=1 to cdsz.count do ( xlc = xlx.application.cells (i+1) j; cdsy=finditem quansz cdsz[j];--菜单索引 xlc.value=sz[cdsy]; ) ) ) ) else( for j=1 to cdsz.count do ( xlc = xlx.application(386点数解答 | 2024-10-16 19:29:32)
110
AI写代码神器
给以下代码进行注释: for i=0 to selection.count do ( if i!=0 then ( if superclassof selection[i]==geometryclass do ( tomesh = snapshotasmesh selection[i]; if tomesh.numverts!=0 then ( sz=calculatevolumeandcenterofmass selection[i]; for j=1 to cdsz.count do ( xlc = xlx.application.cells (i+1) j; cdsy=finditem quansz cdsz[j];--菜单索引 xlc.value=sz[cdsy]; ) ) ) ) else( for j=1 to cdsz.count do ( xlc = xlx.application(698点数解答 | 2024-10-16 19:33:34)
145
AI写代码神器
rollout arcFilletRollout "弧形编辑器" width:300 height:150 ( local obj local activeSegment = 0 spinner spn_radius "弧线高度: " type:#float range:[-10000,10000,10] scale:0.1 button btn_apply "应用修改" width:100 height:30 on spn_radius changed val do ( if activeSegment == 0 do return undo "Adjust Arc" on ( try ( -- 增强对象验证 if not (isValidNode obj) do throw "对象无效或已被删除" if classOf obj != Editable_Spline do t(656点数解答 | 2025-02-24 21:43:38)
47
AI写代码神器
<script> let currentStage = 1; let btnSequence = []; function check(stage) { let correct = false; switch(stage) { case 1: correct = [...document.getElementById('input1').value].reverse().join('') === '3168'; break; case 3: correct = document.getElementById('input3').value === '②'; break; case 4: correct = document.getElementById('input4').value === "不存在的时间"; break; case 5: (207点数解答 | 2025-03-05 11:16:49)
48
AI写代码神器
#include<stdio.h> int copystring(int str1[], int str2[], int n); int main() { int str1[100],str2[100]; int i=0,num,n=0; // 使用 getchar() 来读取字符,检查是否是换行符 while (i < 100) { if (scanf_s("%d", &num) != 1) { while (getchar() != '\n'); break; } str1[i] = num; i++; if (getchar() == '\n') { n = i; break; } } int m = copystring(str1, str2, n); for(i=0;i<m;i++) printf("%d", str2[i]); return 0; } int copystring(int str1[], int str2[], int n) { int j,i; int count = 0; f(392点数解答 | 2024-12-08 15:18:09)
74
AI写代码神器
#include<stdio.h> void get_char(); int position(char ch); int main() { get_char(); return 0; } void get_char() { char ch; printf("请输入字符:"); while((ch=getchar())!=EOF) { if((ch=getchar())=='\n') { continue; } if((ch=getchar())!=-1) { printf("%c在字母表中的位置是%d\n",ch,position(ch)); } else printf("%c不是字母表中的",ch); } } int position(char ch) { if(ch>='A'&&ch<='Z') return ch-'A'+1; if(ch>='a'&&ch<='z') return ch-'a'+1; else return -1; } 查错 (519点数解答 | 2025-02-07 12:41:36)
56
AI写代码神器
以下代码的运行结果是()。 for numberin range(5): if number ==2: continue 答题卡819 if number ==3: break print(number)(277点数解答 | 2024-05-13 22:03:56)
153
AI写代码神器
#include<easyx.h> #include <stdio.h> #include <graphics.h> int main() { initgraph(800, 600); setbkcolor(WHITE); cleardevice(); ExMessage msg; while (1) { msg = getmessage(EX_MOUSE); switch (msg.message) { case WM_MOUSEMOVE://鼠标移动,半径2黑色圆点 setfillcolor(BLACK); solidcircle(msg.x, msg.y, 2); break; case WM_LBUTTONDOWN://鼠标左键,半径10红色圆点 setfillcolor(RED); solidcircle(msg.x, msg.y, 10); //if (GetKeyState(VK_CONTROL) < 0) { //solidrectangle(msg.x, msg.y, 20); //}(770点数解答 | 2025-04-22 21:45:53)
19
AI写代码神器
double findnum(string _a,string _b) { int c = -1, d = -1; double _c = -1, _d = -1; for (int i = 0; i < 21; i++) { if (_a == word1[i]) { c = i; _c = num[i]; break; } } for (int i = 0; i < 10; i++) { if (_b == word1[i]) { d = i; _d = num[i]; break; } } double result = _c + _d / 10.0 ; return result; } string translate(int n) { if (n < 21) { return wor(1329点数解答 | 2024-05-24 11:12:45)
179
AI写代码神器
改写“jdk是sun公司java应用程序和组件的开发环境,是编译和测试工具,也是提供java程序的java虚拟机平台,是调试和运行jsp所不可缺少的工具。 首先在安装前先要下载jdk,这可以从sun公司的网站上下载,到http://java.sun.com/products/jdk/1.8这个页面下载jdk1.8.2-001-win.exe或jdk 1.3-win.exe,由于笔者n.exe为例。下载后,双击jdk1.8.2-001-win.exe就可以开始安装了,在安装过程中有很多选项,按个人需求正确选择,这里我们以第一次安装为例,全部选择默认配制即可,安装的默认路径为[windows所在的根目录(以下设为c:)]\jdk1.8.2,安装完毕后就可以重新启动了。 启动时要更新环境变量,在开机时要自动调用jdk系统,因此要设置一些环境变量,我们以windows2000 server版系统为例进行系统环境变量设置(在windows 9x系统中可在autoexe.txt中进行设置)。设置方法如下: 在桌面上,用鼠标右键单击[我的电脑]图标,选择[属性]按钮,弹出[系统特性]对话匡,选择[高(376点数解答 | 2024-03-06 17:27:29)
183
发送