Hi there i have some problem in this question . anyone help me on thaT? i don't know how to do the loop part. Thx.

user has to enter 3 value and draws corresponding bar graphs using an ASCII character.
For example, if the user entered 18,4,5, that program will draw :

$$$$$$$$$$$$$$$$$$
$$$$
$$$$$

Recommended Answers

All 3 Replies

  1. Read user input
  2. Split input on some deliminator and attempt to convert it to number
  3. Store each valid value in ArrayList or Vector
  4. Call a method that will go through your stored values and print appropriate number of a ASCII character on new line for each of them
  5. You done

can anyone show me the coding please??
Thanks alot

No, but I can correct mistakes in your code if you provide one

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.