When you say the "hardcoded values," do you mean the int num1 = Integer.parseInt(input.substring(1,2);? Isn't num1 considered a variable?
Type: Posts; User: ckwhatnow
When you say the "hardcoded values," do you mean the int num1 = Integer.parseInt(input.substring(1,2);? Isn't num1 considered a variable?
See, my prof. taught us nested if statements and told me to do it that way.. I honestly don't know the correct format in nested switch statements.. I have a Java book but really isn't helpful for...
Can anyone explain why this code isn't working.. It's supposed to take a year and convert it to roman numerals.. I can't use returns.. "not allowed"..
import java.util.Scanner;
public class...