online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
/* * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template */ package com.mycompany.btjv; import java.util.Scanner; /** * * @author PC */ public class b2 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.print("Nhap s1: "); String s1 = scan.nextLine(); System.out.print("Nhap s2: "); String s2 = scan.nextLine(); String result = ""; for (int i = 0; i < s1.length(); i++) { result += s1.charAt(i); result += s2.charAt(i); } System.out.println(result); } }

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