Write a statement that declares two int variables, named num and val and initializes each to 5.

LANGUAGE: C++

CHALLENGE:

Write a statement that declares two int variables, named num and val and initializes each to 5.

SOLUTION:

int num, val;
num = 5;
val = 5;

Posted in ,