Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
// A=4
// B=3
// C=2
// D=1
// F=0
var mathClass = 4
var englishClass = 3
var scienceClass = 3
var peClass = 4
var historyClass = 3
var computerScienceClass = 3
var danceClass = 4
var average =(mathClass + 
              englishClass + 
              scienceClass + 
              peClass + 
              historyClass + 
              computerScienceClass + 
              danceClass)/7
console.log(average)
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers