hi,
Given A = 1, B = 2, C = 3, D = 4 ?? Z = 26, write a logic of java standalone
program to encode the word ? india ? into numbers.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Surbhi NahtaPosted Jun 22, 2022, 6:18 AM
Significant's Java preparing contains learning significant parts of Java like Java 8, Core Java, Java EE, Spring, Hibernate and Spring Boot Frameworks, JDBC Architecture, and numerous others points". It is a finished learning bundle to assist you with turning into a complete Java proficient!
DarilPosted Nov 20, 2021, 5:47 AM
I used toLowerCase() to make the uppercase and the lowercase the same.
The output will be.
VulpesPosted Nov 1, 2011, 5:10 PM
Javeed M ShaikhPosted Nov 1, 2011, 5:07 PM
VulpesPosted Nov 1, 2011, 5:03 PM
Notice that you need to precede the numbers for the letters A to I by '0' so that each number is 2 digits long and could therefore be decoded back to the original string.