+ 2

Estará bien?

using namespace std; int main() {     int m,a; cout<<"Ingrese mes y a"<<char(164)<<"o"<<endl; cin>>m>>a;           if((a%4)==0) cout<<"365 dias"<<endl;     else         cout<<"364 dias"<<endl;           cin.ignore(); return 0; }

3rd Mar 2019, 8:02 PM
Carlos Espinal
4 Answers
0
A donde?
3rd Mar 2019, 9:30 PM
Carlos Espinal
0
using namespace std; int main() {     int m,a; cout<<"Ingrese mes y a"<<char(164)<<"o"<<endl; cin>>m>>a;           if((a%4)==0) cout<<"365 dias"<<endl;     else         cout<<"364 dias"<<endl;           cin.ignore(); return 0; }
3rd Mar 2019, 9:30 PM
Carlos Espinal