@onlyname,
You said you wanted to receive three inputs but you have programmed for only one input i.e. the number as taken care of by nextInt(). If you want the other two inputs you need to...