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

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

#include int main() { int i=1; while(i

#include void main() { int i=1, j=1; do { j=1; do { printf("%dx%d=%d\t",j,i,i*j); j++; }while(j

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

第一次执行完while(b

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

/*** while 输出9*9乘法表* @author syl* 2017/08/04*/public class mian { public static void display(){ int i=1,j=1; do{ j=1; System.out.println(); do{ System.out.print(" "+j+"*"+i+"="+(i*j)); j++; } while(j

很简单,几乎不用改什么。 ------------------- while ------------------- int a = 0; while (++a < 10) { int b = 0; while (++b < 10) { System.out.print(a + "*" + b + "=" + (a*b) + "\t"); } System.out.println(); } ------------------...

MultiplicationFormulas = function() { int i = 1; do{ int j = i ; do{ System.Console.WriteLine(string.Format("{0} X {1} = {2} ", i , j , i*j)); j++; } while (j

public class Util { public static void main(String[] args) { int a = 1; while(a

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

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