Hello,
I am trying to write a program that allows the user to enter a letter and using seven different methods to print out the letters.
This display should look like this
CCCCCCCCCC
CCCCCCCCCC
CCCCCCCCCC
CCC
CCC
CCC
CCCCCCCCCC
CCCCCCCCCC
CCCCCCCCCC
The method printBlock should accept a character and two integers.
For example , the call printBlock('*',5,3) would output
***
***
***
***
***
This is in java..can someone please help
Thanks,
jayjay
jayjaysam0441 -2 Newbie Poster
javaAddict 900 Nearly a Senior Poster Team Colleague Featured Poster
stultuske commented: why make it harder if it indeed is this easy? +3
jasimp 427 Senior Poster Featured Poster
Alex Edwards 321 Posting Shark
stultuske 1,116 Posting Maven Featured Poster
jasimp 427 Senior Poster Featured Poster
stultuske 1,116 Posting Maven Featured Poster
Alex Edwards 321 Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.