online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
import java.util.Scanner; //public class Factura{ public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); System.out.print("Escriba el Código de producto, precio y cantidad: "); // tipee: h123 49.50 2 enter → buffer // leer del buffer String codigo = sc.next(); double precio = sc.nextDouble(); int cantidad = sc.nextInt(); double total = precio * cantidad; System.out.println("\n" + codigo + ": " + precio + " x " + cantidad + " = " + total); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text
×

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue