Input: abc123vcx output: abcvcx123 how to print it in Java without using inbuilt functions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Input: abc123vcx output: abcvcx123 how to print it in Java without using inbuilt functions

how to print first characters then numbers?

1st Sep 2017, 5:26 AM
Mohan
Mohan - avatar
2 Answers
0
use toCharArray() and for loop
1st Sep 2017, 5:36 AM
Javlonbek
Javlonbek - avatar
0
Why do you want to print it without the normal functions? What's wrong with System.out.println("abc123vcx"); ?
1st Sep 2017, 7:21 AM
Mark Van Wijk
Mark Van Wijk - avatar