Oh it's nothing. by Bob Joe | JavaScriptSource

Oh it's nothing. by Bob Joe

Bob Joe Mar 30, 2012

Abstract

Just made for me and a couple of my friends.

Description

See short description.

Code Snippet

alert("answers must be out of 10")
var a = prompt("a")
var b = prompt("b")
var f = prompt("f")
var p = prompt("p")
var r = prompt("r")
var rOne = parseInt(a,10)+parseInt(b,10)+parseInt(f,10)+parseInt(p,10)
var rFou = parseInt(rOne,10)/4
var rTwo = parseInt(r,10)+parseInt(rFou,10)
var rThr = parseInt(rTwo,10)/2
alert(rThr)
console.log(rThr)

Leave a Response

(0 comments)