"Write a program to find the numerological value for a given name." Code Answer's
You're definitely familiar with the best coding language Whatever that developers use to develop their projects and they get all their queries like "Write a program to find the numerological value for a given name." answered properly. Developers are finding an appropriate answer about Write a program to find the numerological value for a given name. related to the Whatever coding language. By visiting this online portal developers get answers concerning Whatever codes question like Write a program to find the numerological value for a given name.. Enter your desired code related query in the search bar and get every piece of information about Whatever code related question on Write a program to find the numerological value for a given name..
Write a program to find the numerological value for a given name.
int arr[][]={{65,1},{66,2},{67,3},{68,4},{69,5},{70,8},{71,3},{72,5},{73,1},{74,1},{75,2},{76,3},{77,4},{78,5},{79,7},{80,8},{81,1},{82,2},{83,3},{84,4},{85,6},{86,6},{87,6},{88,5},{89,1},{90,7}};
String name=sc.nextLine();
String pattern="[A-Z]+";
if(name.matches(pattern)){
int score=0;
for(int i=0;i<name.length();i++){
char ch=name.charAt(i);
score+=arr[(int)ch -65][1];
}
System.out.println("Your numerology no is:"+score);
}
else System.out.println("Invalid name");
All those coders who are working on the Whatever based application and are stuck on Write a program to find the numerological value for a given name. can get a collection of related answers to their query. Programmers need to enter their query on Write a program to find the numerological value for a given name. related to Whatever code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about Write a program to find the numerological value for a given name. for the programmers working on Whatever code while coding their module. Coders are also allowed to rectify already present answers of Write a program to find the numerological value for a given name. while working on the Whatever language code. Developers can add up suggestions if they deem fit any other answer relating to "Write a program to find the numerological value for a given name.". Visit this developer's friendly online web community, CodeProZone, and get your queries like Write a program to find the numerological value for a given name. resolved professionally and stay updated to the latest Whatever updates.