0
Code requiring Input
In the "Working with Variables" lesson in "Basic Concepts", it tells me that the code is asking for an input, I have no clue what to put in for it to work.
3 Answers
+ 6
int a; this is declaration of the variable to use.
a=7; this is initialization i have used the declared variable "a" which has a data type " int " and assigned to a value of 7.
hope that helps
+ 2
Depending on which example you have, either 1 or 2 numbers. First two are a single number. Second two wants two.
+ 1
What's the actual question?
Without knowing the question, if you look at the code, what data types do you see? That's a good means of figuring out what it's asking for. If you see a bunch of int variables, it's probably asking for a number.