Expert in study
alarm
Ask
Computer Science
importance

What does it mean by "if a=5" is there a user input?

answers: 1
Register to add an answer
The time for answering the question is over
189 cents Provo
Answer:

The answer of the question is that it means as conditional statement.

"if a=5" is a conditional statement that executes only when compiler interpret this condition satisfied.

  • If is conditional statement in programming language.
  • In this given statement, condition is that the value of a is 5 where a is variable which already defined in the statement.
  • This statement does not need any user input as such it is already declared.
  • User can not change the value of a without executing the statement.

Example - If (a=5)

    {

           cout<< max;

   }

else

     {

          cout<< min;

     }    

215
Provo
For answers need to register.
Contacts
mail@expertinstudy.com
Feedback
Expert in study
About us
For new users
For new experts
Terms and Conditions