vba编程 输出图案
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/11 16:57:57
?1!这有什么值?没明白.longsum=0;for(inti=1;i
#include<stdio.h>void main(){int i,j;for(i=0;i<4;i++){for(j=0;j<4;j++){printf(
最简单的:publicclassHelloJava{publicstaticvoidmain(String[]args){System.out.println("*******************
#include <stdio.h>int main(){ int i,n,j; //这个for循环输出上半个三角形 for&n
你hi我吧,你的图形是星号塔吧 做好了是用C++写了,如果需要C语言写的请hi我,我修改一下就可以#include <iostream>using names
public static void main(String[] args) { System.out.printl
Subaa()Fori=1To100IfiMod30andiMod70AndiMod20Thenn=n+iNextMsgBoxnEndSu
CLSINPUTni=1:s=40FORk=1TOnPRINTTAB(i+s);FORj=1TOiPRINT"*";NEXTjPRINTi=i+2:s=s-3NEXTkFORi=1TOnPRINTTA
//程序执行时请输入星号的行数,回车.#includeintmain(){inti,j;intn;scanf("%d",&n);for(i=0;i
G=0H=0J=1fori=1to20fort=1to7ifi/3=tthentext1,text=text1&","&iG=G+1H=H+iJ=J*iendifnextnexttext2.text=
C语言如下#includeintmain(void){inti,j;printf("123456789\n-------------------------\n");for(i=1;i
#include<stdio.h>int arr[10] = {0,1,2,3,4,5,6,7,8,9};int main(){ &nbs
Subtest()DimNumAsLong,Arr(1To5)Forn=1ToUBound(Arr)Num=Application.InputBox("请输入第:"&n&"个数字:","数字输入窗口"
#include"stdio.h"voidmain(){inti,j;for(i=0;i
PrivateSubCommand1_Click()Fori=1To15Step2IfiPrintSpace((7-i));String(i,"*")ElsePrintSpace(i-9);Strin
c语言写的,希望对你有用#includevoidmain(){inti=0;intj=0;intk=0;for(i=0;i
#includeintmain(){inti,j,n=4;for(i=0;ifor(j=0;j
varn,i,j,k:integer;beginreadln(n);fori:=1tondobeginforj:=1to3dobeginwrite('':n-i+1);fork:=1toi+i-1do
PrivateSubUserForm_Click()DimiAsInteger,jAsInteger,nAsInteger,rAsIntegern=Val(InputBox("n=","输入行数"))
public class app15 {\x05public static void main(String[] args)&nb