hi
i'm saudi student

FRESHMEN IN MIS =)

i have an assignment and i can't get it =(

the Q IS

given the following array
int [] array={10,19,5,1,7};
write a java program using array to display its data graphically by plotting each numeric value as abar of asterisks (*) as shown in the diagram

element value histogram
0 10 **********
1 19 *******************
2 5 *****
3 1 *
4 7 *******

I Understand that i need to declare and use for loop
but i don't know how to convert the value to *

i want some help please =)
regard ..