.C Program to Find the Number of Integers Divisible by 5 in a given range:
C Program to Accept two Integers and Check if they are Equal:
This is a C program to accept two integers and check if they are equal.
Problem Description
This program accepts two integers and check if they are equal or not.
Problem Solution
Take the two integers as input.
Using if,else statements check if they are equal or not.
Print the output accordingly and exit.
Program/Source Code
Show More/*
* C program to accept two integers and check if they are equal
*/
#include
void main()
{
int m, n;
printf("Enter the values for M and N\n");
scanf("%d %d", &m, &n);
if (m == n)
printf("M and N are equal\n");
el....
All Chapters — C programming
Similar Questions
From C Programs on integers · C programming
C Program to Read Two Integers M and N & Swap their Values:
C Program to Check if a given Integer is Odd or Even:
C Program to Compute the Sum of Digits in a given Integer:
C Program to Calculate the Sum of Odd & Even Numbers:
C Program to Check if a given Integer is Positive or Negative: