Question: #include #include cal.h int main() { int mon = -1; int year = -1; printf(Month: ); scanf(%d, &mon); if (mon < 1 || mon >
#include #include "cal.h"
int main() { int mon = -1; int year = -1;
printf("Month: "); scanf("%d", &mon); if (mon < 1 || mon > 12) { printf("Invalid month: %d! Must be between 1 and 12 ", mon); return 1; }
printf("Year: "); scanf("%d", &year);
if (year < 2000) { printf("Invalid year: %d! Must be 2000 or later! ", year); return 1; }
Please convert above C program to x86. Please post the correct solution. TIA
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
