i have a task to repeat characters multiplying it for example the user should write the letter and number of repeat input 3 R output
RRR
input 6 O output
OOOOOO
and it should be one letter only i have used strings but can i use char ? and how can i do it ? why when when multiplying chars the result is number ? for example char*3 the result is 246
i am new to java