Write A Program To Ask The User To Enter An Integer And To Print Its Value In Java. By I know how to do this with a while loop and know how to use a for