递归练习(3)含答案(共6页).doc

上传人:晟*** 文档编号:11291121 上传时间:2022-02-18 格式:DOC 页数:6 大小:45.50KB
下载 相关 举报
递归练习(3)含答案(共6页).doc_第1页
第1页 / 共6页
递归练习(3)含答案(共6页).doc_第2页
第2页 / 共6页
递归练习(3)含答案(共6页).doc_第3页
第3页 / 共6页
递归练习(3)含答案(共6页).doc_第4页
第4页 / 共6页
递归练习(3)含答案(共6页).doc_第5页
第5页 / 共6页
点击查看更多>>
资源描述

精选优质文档-倾情为你奉上1 写出下列程序的输出结果。program ex1(input,output); var a,b,c,d:integer; procedure p(a:integer;var b:integer);var c:integer;begin a:=a+1; b:=b+1; c:=2; d:=d+1; writeln(m,a,b,c,d); if a3 then p(a,b); writeln(n,a,b,c,d)end; begina:=1;b:=1;c:=1;d:=1;writeln(x,a,b,c,d);p(a,b);writeln(y,a,b,c,d) end.2. program ex2(input,output); var total:integer; procedure move(n,a,b,c:int

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 实用文档资料库 > 公文范文

Copyright © 2018-2021 Wenke99.com All rights reserved

工信部备案号浙ICP备20026746号-2  

公安局备案号:浙公网安备33038302330469号

本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。