mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Merge pull request #1407 from Pa1sathvik/master
Update RomanToInteger.java
This commit is contained in:
@@ -29,6 +29,7 @@ public class RomanToInteger {
|
||||
*/
|
||||
public static int romanToInt(String A) {
|
||||
|
||||
A = A.toUpperCase();
|
||||
char prev = ' ';
|
||||
|
||||
int sum = 0;
|
||||
|
||||
Reference in New Issue
Block a user