Write a statement that declares and initializes two integer variables.

Write a statement that declares and initializes two integer variables.

LANGUAGE: C++

CHALLENGE:

Write a statement that declares and initializes two integer variables. Call the first one age and initialize it to 15, and call the second one weight and initialize it to 90.

SOLUTION:



int age;
age = 15;

int weight;
weight = 90;

Add comment