int num1, num2; scanf("%d%d", &num1, &num2); if(num1 % 2 == 0 && num2 % 2 == 0) { printf("EVEN"); } else if(num1 % 2 != 0 && num2 % 2 != 0) { printf("ODD"); } else { printf("MIXED");
1
IST (Indian Standard Time) is 5 hours 30 minutes ahead of GMT(Greenwich Mean Time). Develop an algorithm and write the Python code to find...
int num1, num2;
ReplyDeletescanf("%d%d", &num1, &num2);
if(num1 % 2 == 0 && num2 % 2 == 0)
{
printf("EVEN");
}
else if(num1 % 2 != 0 && num2 % 2 != 0)
{
printf("ODD");
}
else
{
printf("MIXED");
1
ReplyDelete