西瓜编程A3A4,比如要输出a34代码是怎么样的呢

1,比如要输出a34代码是怎么样的呢其实完全可以不指定宽度,直接输出就行了.printf("%d",a[3][4]);
2,会编程的都来一下Private Sub Timer1_Timer()Label1.FontSize = 30Label1.FontName = "宋体"Label1.Caption = Format(Now, "HH:MM:SS")if 现在的时间=设定的时间 then播放音乐或者打开文档endifEnd Sub时间走动是有一个事件的,在这个事件里加一个判断 。如果e.DataTime.Now==你输入的时间再做处理 。用API函数playSound 或者其他声音控件
3,C语言循环题求解#include <stdio.h>void main() int sum=0; for(int i=0;;i++) if((i%3==2)&&(i%5==3)&&(i%7==4)) printf("%d\n",i); sum++; } if(sum==10) break; }}#include <iostream.h>void main()}i++;}}#include int main(void){ int total = 10; int count = 11; int num[10] ,index =0; while(index < 10) { if((count%3== 2 ) && (count%5 == 3) && (count%7 == 4) ) num[index++] = count; count++; } for(index = 0 ; index < 10 ; index++){ pirntf("num[%d] = %d\n",index+1,num[index]);} return 0;}【西瓜编程A3A4,比如要输出a34代码是怎么样的呢】
4,遍历数组取出所有可能的排列组合using System;class arithmetic{public static void Main(){string[] a ={ "a1", "a2", "a3", "a4" };int L = a.Length;//Console.WriteLine(L.ToString());for (int i1 = 0; i1 < L; i1++)Console.Write(a[i1]+",");for (int i2 = 0; i2 < L; i2++)for (int j2 = i2 + 1; j2 < L; j2++)Console.Write(a[i2]+a[j2]+",");for (int i3 = 0; i3 < L; i3++)for (int j3 = i3 + 1; j3 < L;j3++ )for (int k3 = j3 + 1; k3 < L; k3++)Console.Write(a[i3] + a[j3] + a[k3] + ",");Console.ReadLine();}}

    推荐阅读