這是我寫的程式碼~有人知道為什麼它會無法輸出嗎??
明明輸入都正確啊,可是就是無法輸出~help
#include <iostream>
#include <string>
using namespace std;
int main()
{
int t;
cin >> t;
for(int i=1;i<=t;i++)
{
int a,b,c;
cin>>a>>b>>c;
if(a>b>c||a==b==c||a==b>c||a>b==c)
cout<<"Case :"<<i<<" "<<b<<"\n";
else if(a>c>b||a==c>b)
cout<<"Case :"<<i<<" "<<c<<"\n";
else if(b>a>c||b>a==c)
cout<<"Case :"<<i<<" "<<a<<"\n";
else if(b>c>a)
cout<<"Case :"<<i<<" "<<c<<"\n";
else if(c>a>b||c>a==b)
cout<<"Case :"<<i<<" "<<a<<"\n";
else if(c>b>a||c==b>a)
cout<<"Case :"<<i<<" "<<b<<"\n";
}
}