题解 | #挂科危险#
挂科危险
http://www.nowcoder.com/practice/0b62b8dca766459ca3935a499a737d9f
#include<iostream> using namespace std; int main() { int i; cin>>i; if(i <= 3 &&i >= 0) cout<<"Good"; else if(i > 3 && i < 10) cout<<"Danger"; else if(i >= 10) cout<<"Danger++"; return 0; }