rpct.net
当前位置:首页 >> 用whilE循环语句编程输出九九乘法口诀表 >>

用whilE循环语句编程输出九九乘法口诀表

方法一: 1 i = 1 2 while i < 10: 3 k = 1 4 while k 0: 3 i = 1 4 while i

//--------------------------------------------------------------------------- #pragma hdrstop #include #include //--------------------------------------------------------------------------- #pragma argsused int main(int argc, c...

#include void main() { int i,j; for(i=1;i

while循环 DECLARE @i INT SET @i=1 DECLARE @result NVARCHAR(1000) DECLARE @j INT WHILE(@i

第一次执行完while(b

for(int i=1;i

#includevoid main(){ int i=1,j=1;for(i=1;i

PROGRAM BIAO; VAR a,b:integer; BEGIN for a:=1 to 9 do BEGIN for b:=1 to a do write(a,'*',b,'=',a*b,' ':3); writeln; end; readln; end.

#include void main() { int i,j,k; for(i=1;i

#include void main(){ int i,j,k; for ( i=1;i

网站首页 | 网站地图
All rights reserved Powered by www.rpct.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com