Computer Science, asked by SANAM9124, 1 year ago

Write a program to find the largest among 2 numbers

Answers

Answered by Anonymous
2
#include <iostream>

using namespace std;

int main(){
int a,b;
cin>>a>>b;
if(a>b) cout << "A is greater : "<<a<<endl;
else if(b>a) cout << " B is greater : "<<b<<endl;

return 0;
}
Answered by sweetie64
1
This is the answer .....hope it helps
Attachments:
Similar questions