C program to check whether two numbers are equal or not
belongs to collection: C programs - Basic C Programs
All Answers
total answers (1)
Severity: 8192
Message: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Filename: libraries/Filtered_db.php
Line Number: 23
belongs to collection: C programs - Basic C Programs
total answers (1)
C program to check whether two numbers are equal or not - Source code
Program Output
Program Explanation
1. Take the two integers as input and store it in the variables num1 and num2 respectively.
2. Compare them using the equal to (==) operator.
3. If they are equal, then print the output as “The two numbers are equal”.
4. Otherwise print it as “The two numbers are not equal”.
need an explanation for this answer? contact us directly to get an explanation for this answer