left me on read

#include <stdio.h>

int main() {
    int num;

    // Step 1: Prompt the user to enter an integer
    printf("Enter an integer: ");

    // Step 2: Read the integer from the user
    scanf("%d", &num);

    // Step 3: Check if the entered number is positive, negative, or zero
    if (num > 0) {
        // Step 4a: If the number is positive, print a message
        printf("You entered a positive number.\n");
    } else if (num < 0) {
        // Step 4b: If the number is negative, print a message
        printf("You entered a negative number.\n");
    } else {
        // Step 4c: If the number is zero, print a message
        printf("You entered zero.\n");
    }

    // Step 5: Return 0 to indicate successful completion
    return 0;
}