how to make this function to create a E with words

write a function that makes you give a caracter,c and a impar (ex:1,3,5) number between 5 and 21 (included) that designs on the monitor a E with the caracter given and where the number given its the height of the E !
need help ^^
you mean
input: a 5
output:

aaa
a
aaa
a
aaa
right?

1. Can you get a char C and an int A from console?
2. Can you print A lines with C in them?
3. If current line is 0 or A or A/2, print some more Cs.
Last edited on
1 yes u can
2 its in c++ please :D
3 yes exactly

i mean
if the number is 5
ccccc
c
c
c
ccccc
If you can do the first two, then where's the problem?
Post an attempt and I'll tell you your mistakes.
Topic archived. No new replies allowed.