For this Question: You will be given a number N that represents where the minute hand currently is on a clock. Your program
should return the angle that is formed by the minute hand and the 12 o'clock mark on the clock.Number between 1 to 60 inclusivePrint the angle as a numberSample input 1:-
1

Sample output 1:-
6

Sample Input 2: 
30

Sample Output2: 
180
, I have written this Solution Code: function simpleClockAngle(num) {

console.log(6*num);
}, In this Programming Language: JavaScript, Now tell me if this Code is compilable or not?