Browse Source

Finished Problem 11172 - Relational Operator

master
pry 1 year ago
parent
commit
0fed8dd6e8
1 changed files with 20 additions and 0 deletions
  1. 20
    0
      11172/main.cpp

+ 20
- 0
11172/main.cpp View File

@@ -0,0 +1,20 @@
#include <stdio.h>
using namespace std;

int main()
{
int t, a, b;
scanf("%d", &t);

while(t--)
{
scanf("%d %d", &a, &b);

if(a > b)
printf(">\n");
else if(a < b)
printf("<\n");
else if(a >= b)
printf("=\n");
}
}

Loading…
Cancel
Save