1// Prints the sum of 2 float numbers
2function addition(number_1, number_2)
3{
4 int sum = number_1 + number_2
5document.write(sum)
6}
7
8var number_1 = parseFloat(prompt("First Number"));
9var number_2 = parseFloat(prompt("Second Number"));
10addition(number_1, number_2);