Which of the following lines will create a variable called total and assign to it whatever number is in a variable called apples?

A. var total ==document.getElementById("apples").value;
B. var total var=document.getElementById("apples").value;
C. var apples=document.getElementById("total").value;
D. var total=("apples").value;

A. var total ==document.getElementById("apples").value;