/ Undifined / 6 - WAP that checks whether the two numbers entered by the user are equal or not.

6 - WAP that checks whether the two numbers entered by the user are equal or not.

 WAP that checks whether the two numbers entered by the user are equal or not. 


#include <stdio.h>
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");
	else
		printf("M and N are not equal\n");
 
} 
Output 
Enter the values for  M and N
34 45
M and N are not equal

about author

Blogger Sens it website about blogger templates and blogger widgets you can find us on social media
Previous Post :Go to tne previous Post
Next Post:Go to tne Next Post

No comments:

Post a Comment