Online Cobol Compiler
										
										
x = 30
y = 45
z = x+y

console.log("Sum of ", x , " and ", y , " is ", z)
                                
                                

Output Results

										
(function() {
  var x, y, z;

  x = 30;

  y = 45;

  z = x + y;

  console.log("Sum of ", x, " and ", y, " is ", z);

}).call(this);
Sum of  30  and  45  is  75