What will the value of the answer variable be after the code segment below has been run.
int answer = 5;
int number10 = 14, number39 = 8;
answer += number10 * number39;
using namespace std;
//What will the value of the answer variable be after the code segment below has been run.
int main()
{
int answer = 5;
int number10 = 14, number39 = 8;
answer += number10 * number39;
cout<<"\n\tanswer = "<<answer;
return(0);
}
Comments
Leave a comment