Complete the code to declare an integer variable named age and initialize it with 25.
int [1] = 25;
The variable name should be age as requested. The code declares an integer variable age and sets it to 25.
Complete the code to declare a string variable named name and initialize it with "Alice".
string [1] = "Alice";
The variable name should be name to store the string "Alice".
Fix the error in the code by completing the variable declaration for a double named price initialized to 19.99.
double [1] = 19.99;
The variable name should be price as requested. This fixes the error by declaring the correct variable.
Fill both blanks to declare a boolean variable named isActive and initialize it to true.
[1] [2] = true;
int or string.The type is bool and the variable name is isActive. This declares a boolean variable set to true.
Fill all three blanks to declare a character variable named grade and initialize it with the letter 'A'.
[1] [2] = [3];
string instead of char.The type is char, the variable name is grade, and the value is the character 'A'. This correctly declares and initializes the variable.