Write a program to compare two given numbers and display which of them is greater or whether they are equal.
Answers
Answered by
4
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
Social Sciences,
3 months ago
English,
3 months ago
Accountancy,
6 months ago
Math,
6 months ago
Chemistry,
11 months ago
Math,
11 months ago