贴吧用户_007JGyR🐾
-
关注数: 5
粉丝数: 1
发帖数: 249
关注贴吧数: 0
求教2个C语言的编程题,高手请指教 第一题Write a C program to do the followings:•Ask the user to print pattern 1 or 2 using switch•Ask the user to input the size of the pattern•Use for loops to generate the pattern.Pattern 1Pattern 2***** ***** **** **** *** ***** ** * * The program should follow the sample output.Which pattern do you want to print (1,2)?1Size of the pattern:4**********Which pattern do you want to print (1,2)?2Size of the pattern:4**** *** ** *Which pattern do you want to print (1,2)?6Size of the pattern:4Do not have this pattern.第二题Modify the previous program so that the program can print pattern 3 and 4. (You can also add other kinds of patterns here if you can imagine)Pattern 3Pattern 4 * * ** * *** * **** * ***** * The program should follow the sample output.Which pattern do you want to print (1,2,3,4)?3Size of the pattern:4 * ** *******Which pattern do you want to print (1,2,3,4)?4Size of the pattern:4 * * **
2月6日CCTV5要播体坛风云人物国际版,有隆隆的 电视报上看到的好象是10:05,不知道准不准,有空看看吧
为什么一发车就被超了?车有问题?Who can tell me
Why颁奖后喷香滨?请高手tell me
圆圆的小圆能否帮忙 我是北京的,你愿意帮我买点隆隆的好东东么?感激不尽,照价负费,在北京实在找不到!PS:你也是今年高考吧?咱们是同胞啊!
对于叫隆隆"疯狗"的最好解释 西方人认为狗比人好,要不怎么幸运儿叫lucky dog呢.况且疯狂才会有人爱啊!!!
1
下一页