cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
how to make this function to create a E
how to make this function to create a E with words
Nov 18, 2010 at 4:52pm UTC
dibzyo
(2)
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 ^^
Nov 18, 2010 at 5:03pm UTC
hamsterman
(4538)
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
Nov 18, 2010 at 5:03pm UTC
Nov 18, 2010 at 5:08pm UTC
dibzyo
(2)
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
Nov 18, 2010 at 6:09pm UTC
hamsterman
(4538)
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.