What is the error in this program, as the error shows sumofTwoNumbers is not declared

#include
using namespace std;

int main()
{

  int num1,num2,sumofTwoNumbers;

  cout<<"Enter two integers:";
  cin>>num1>>num2;

  sumofTwoNumnbers=num1+num2;
  cout<<num1<<"+"<<num2<<"="<<sumofTwoNumbers;
   
}

You have written numbers as numnbers in 4th line.

@shlok.sharma3 variable name is wrong while adding the two numbers sumofTwoNumnbers=num1+num2; would change to sumofTwoNumbers=num1+num2;

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.