I wrote some code off my Pseudo post and it compiles, but after entering the item name and cost the first time, then the name again it throws an error with input mis match exception. I'm not sure why.
import java.util.Scanner;
public class NewAssignment
{
public static void main(String args[]){