input two numbers and display where both the numbers are same or not.
Answers
Answered by
1
HEYA MATE HERE UR ANSWER,
(#include <stdio.h>
void main()
int int1, int2;
printf("Input the values for Number1 and
Number2 : ");
scanf("%d %d", &int1, &int2);
if (int1 == int2)
printf("Number1 and Number2 are equal\n");
else
print f("Number1 and Number2 are not equal\n");
Hope it helps u and please follow me, I will be thankful to you...
No need to mark me as the brainliest
Answered by
0
Answer:
Note: I am using C++ programming language.
#include<iostream>
using namespace std;
int main ( ) {
int a,b;
cout<<"\nEnter two numbers : ";
cin>>a>>b ;
if( a == b) {
cout<<"\nThe entered numbers are same." ;
}
else {
cout<<"\nThe entered numbers are not same." ;
}
return 0 ;
}
**Please follow me and mark this ans as Branliest answer.Thank you!
Similar questions
English,
5 months ago
Biology,
5 months ago
Computer Science,
11 months ago
English,
11 months ago
English,
1 year ago