C Language Q & A #1
When to use the symbols “=“ or “==“ in the statement
printf(“Discounted amount == %.2f\n”, result);
The answer is the same. Why ? What are some other examples of the difference between the assignment symbol “=“ and the equality symbol “==“ ?