Chef has units of solid and units of liquid. He combines them to create a mixture. What kind of mixture does Chef produce: a solution, a solid, or a liquid?
A mixture is called a:
1) A solution if and ,
2) A solid if , or
3) A liquid if .
#include <iostream>
using namespace std;
int main()
{
int t;
cin >> t;
while (t--)
{
int a, b;
cin >> a;
cin >> b;
if (a > 0 && b > 0)
{
cout << "Solution" << endl;
}
else if (a > 0)
{
cout << "Solid" << endl;
}
else if(b > 0){
cout << "Liquid" << endl;
}
}
}