I cant compile it in DevC++ because and when I try to do this, it open file "Makefile.win" and highlight the line :" $(BIN): $(OBJ)" . Help !!!
#include #include
using namespace std;
int main(int argc, char *argv[]) int A; cout<<"Enter a month (number) to determine the number of days in that month"< cout<<"MES: "; cin>>A; do switch(A) case 1: cout<<"January has 31 days "; case 2: cout<<"February has 28 days "; case 3: cout<<"March has 31 days "; case 4: cout<<"April has 30 days "; case 5: cout<<"May has 31 days "; case 6: cout<<"June has 30 days "; case 7: cout<<"July has 31 days "; case 8: cout<<"August has 31 days "; case 9: cout<<"September has 30 days "; case 10: cout<<"October has 31 days "; case 11: cout<<"November has 30 days "; case 12: cout<<"December has 31 days "; default: cout<<"The number must be between 1 and 12 "< while (( A < 1 ) ( A > 12 )); system("BREAK"); return EXIT_SUCCESS;
