Which of the following illustrates the proper declaration of a variable and data type to hold a whole number? int mynumber = 10; int mynumber = "10"; mynumber = 10 + "10"; float mynumber = 5;

Solved
Show answers

Ask an AI advisor a question