摘要: #include<iostream>using namespace std;int main(){ int x,y; cout<<"Enter x and y:"; cin>>x>>y; if(x!=y) if(x>y) cout<<"x>y"<<endl; else cout<<"x<y"<<en 阅读全文
posted @ 2023-04-10 20:53 不会JAVA的小袁 阅读(22) 评论(0) 推荐(0)
摘要: #include<iostream>using namespace std;int main(){ int year; bool isLeapYear; cout<<"Enter the year:"; cin>>year; isLeapYear=((year% 4==0&&year% 100!=0 阅读全文
posted @ 2023-04-10 20:38 不会JAVA的小袁 阅读(18) 评论(0) 推荐(0)