Computer Science, asked by yoteshmishra1853, 1 month ago

9
4 class Main {
5 static void column(string inputstring)
6 {
int answer = 0;
8
int strlength=input_from_question.length();
if(strLength<=5 && strLength>=1)
for(int i =0; i<strlength;i++){
11
answer-answer*26;
12
answer=answer+input_from_question.charAt(i)- 'A' +1;
System.out.println(answer):
14 )
I
16
public static void main(String args[] ) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamRead
// read the name from the input
String inputstring br.readLine():
column(inputstning):​

Answers

Answered by nintughosh63
0

Answer:

please mark me as a brainlist

Similar questions