'I am trying to input a value into my stack but it gives me an error

for when I input the number 2 into my variables it telkls me that it wasn t defined? eny help?

int plusThree(){

input 2 -> stack;

return stack;

}
c++


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source