|
@@ -0,0 +1,26 @@
|
|
|
+// let a = +prompt("enter your year of birth")
|
|
|
+// let b = 2020-a
|
|
|
+// alert("Your age:"+b)
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+// let t = +prompt("temperature in degrees Celsius")
|
|
|
+// let T = t*1.8+32
|
|
|
+// alert(T)
|
|
|
+
|
|
|
+// let x=+prompt("enter the numerator")
|
|
|
+// let y=+prompt("enter the denominator")
|
|
|
+// alert(Math.floor(x/y))
|
|
|
+
|
|
|
+
|
|
|
+// let n=+prompt("enter the namber");
|
|
|
+// if(n % 2==0){
|
|
|
+// alert("число четное");
|
|
|
+// }else{
|
|
|
+// alert("число нечетное")
|
|
|
+// }
|
|
|
+
|
|
|
+// let name = prompt("Enter your name")
|
|
|
+// alert("Hey,"+name+"!"+" How are you?")
|
|
|
+
|
|
|
+
|