Hello mia_tech,
Take a look at this code. It solves your problem:
import java.util.Scanner;
public class Mia_tech {
public static void main(String[] args) {
System.out.println("Description:");
Scanner myscan = new Scanner(System.in);
String description = myscan.nextLine();
System.out.println("Price:");
double price = myscan.nextDouble();
System.out.println("Quantity:");
int qty = myscan.nextInt();
System.out.println("Description: " + description);
System.out.println("Price: " + price);
System.out.println("Quantity: " + qty);
}
}