Ask Question
18 February, 10:19

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;

+5
Answers (1)
  1. 18 February, 10:31
    0
    The first one,

    int myNumber = 10;
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Which of the following illustrates the proper declaration of a variable and data type to hold a whole number? int myNumber = 10; Int ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers