Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Comments
CHill60 12-Apr-14 14:31pm    
This is homework. Post what you have tried so far and tell us what the problem is. And what is "steric" - I'm pretty sure you don't mean the "effects that arise from the fact that each atom within a molecule occupies a certain amount of space"
NoorKaximi 12-Apr-14 14:35pm    
if you don't want to answer it then kindly neglect it rather than passing comments on it..
CHill60 12-Apr-14 14:38pm    
My comment was intended to point out to you that there is not enough information here for anyone to help you. It was a serious question - what is "steric"? If this is not homework then tell us where you found this task - that might help
[no name] 12-Apr-14 14:32pm    
Did you go talk to your teacher and ask them for help with your homework?
NoorKaximi 12-Apr-14 14:35pm    
if you don't want to answer it then kindly neglect it rather than passing comments on it..

1 solution

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.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 12-Apr-14 21:38pm    
My 5.
See also my comment to the question.
—SA
Nelek 13-Apr-14 5:43am    
Thanks Sergey

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900