Write a program to compare two given numbers and display which of them is greater or whether they are equal.
Answers
Answered by
3
Answer:
Comparing the two given integers using the if-else C syntax for greater than, less than or equal
Compiler: Visual C++ Express Edition 2005
Compiled on Platform: Windows XP Pro SP2
Header file: Standard
Additional library: none/default
Additional project setting: Set project to be compiled as C
Project -> your_project_name Properties -> Configuration Properties -> C/C++ -> Advanced -> Compiled As: Compiled as C Code (/TC)
Other info: none
To do: Comparing the given two integers using the if-else C syntax for greater than, less than or equal
To show: How to use the if-else statements to compare two given integers in C programming for greater than, less than and equal
Similar questions
Chemistry,
4 months ago
Biology,
4 months ago
English,
4 months ago
India Languages,
9 months ago
Social Sciences,
9 months ago
Hindi,
1 year ago
Physics,
1 year ago