使用空间制作游戏标志 [英] Make play sign using steric
本文介绍了使用空间制作游戏标志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮助我,我无法完成以下任务...
使用C程序
TAsk(1)
使用空间制作Play Sign的反面
任务(2)
用C语言编写这个输出的代码!
用于两个任务的循环。
EEEEE
DDDD
CCC
BB
A
BB
CCC
DDDD
解决方案
首先,建议:不要对人们粗鲁并阅读以下链接。他们将在以后的问题中帮助您:
你有什么尝试? [ ^ ]
如何问一个问题? [ ^ ]
在论坛中发布问题的一些指导方针 [ ^ ]
发布代码段的最佳方式 [ ^ ]
第二..并且提出你的问题:
任务1:不知道你想要/需要做什么
任务2:有几种选择,但最简单的选择是:
- 要一封信
- 得到这封信并找出它的数值
- 一个用于从给定字母的数值变为A(十进制65),减少一个
- 另一个用相同索引嵌套的,写出你需要的字母数量
- 回到第一个,给一个新行
- 其他用于从字母A到给定字母 - 1
- 二级嵌套用于打印出您需要的字母数
- 给新行\ n并再次循环
祝你好运。
Please help me i m unable to do the following task...
Using C program
TAsk (1)
using steric make an opposite of Play Sign
Task(2)
write a code for this output in C language!
use for loop for both tasks.
EEEEE
DDDD
CCC
BB
A
BB
CCC
DDDD
解决方案
First thing, an advice: Don't be rude to the people and read following links. They will help you in future questions:
What have you tried?[^]
How to ask a question?[^]
Some guidelines for posting questions in the forums[^]
best way to post code snippets[^]
Second... and coming to your question:
Task 1: No idea what you want / need to do there
Task 2: There are several options, but the easiest one would be:
- ask for a letter
- get the letter and find out its numeric value
- one for going from the numeric value of the given letter, to "A" (65 in decimal), decreasing by one
- another nested for with the same index, to write out the number of letters you need to
- coming back to the first for, give a new line
- other for going from the letter "A" to "Given letter - 1"
- secondary nested for to print out the number of letters you need
- giving a new line "\n" and looping again
good luck.
这篇关于使用空间制作游戏标志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文