Write a C program using an enum for status (ACTIVE=1, INACTIVE=0) to compare two user states and print whether they match.
Two space-separated integers (0 or 1).
Print 'Match' if both statuses are equal, otherwise 'Mismatch'.
Status values are 0 or 1.
1 1
Match
Both enum status values are equal (1 and 1).
#include <stdio.h>
enum Status { INACTIVE = 0, ACTIVE = 1 };
int main() {
int s1, s2;
if (scanf("%d %d", &s1, &s2) == 2) {
// Write your code here
}
return 0;
}Embedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used