w{0,3}
to allow w
to be there 0-3
times
(w{3})?
url.match(/.../)[3]
.exec
you can get out specific capturing groups
I tried if(outcome1.equalsIgnoreCase("Yes")){
.
However, the program runs but doesn't being the user to that method when they input "Yes" or "No". How can I fix this?
System.out.println("Please enter the one of the following exactly how you see on your display 'Yes' or 'No'");
outcome1=userinput.next();
if(outcome1.equalsIgnoreCase("Yes")){
FunctionalSkills();
}
if(outcome1.equalsIgnoreCase("No")){
System.out.println("Thanks for using the Liam's UCAS grade calculator.");
System.exit(0);
}
:star2: 1455 | @alpox |http://www.freecodecamp.com/alpox