Computer Science, asked by student22235, 7 months ago

write a statement for each of the following
1) store and number 333 as a string..
2) convert it to a numeric value..
java..
ANSWER FAST..​​

Answers

Answered by mdsarafuddinsk
2

Answer:

Input : GEEKSFORGEEKS

Output : 4333355777733366677743333557777

For obtaining a number, we need to press a

number corresponding to that character for

number of times equal to position of the

character. For example, for character C,

we press number 2 three times and accordingly.

Input : HELLO WORLD

Output : 4433555555666096667775553

Similar questions