C Program with Input Validation and Parity Check — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited C Program with Input Validation and Parity Check (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Generates C code that prompts for an integer, validates it within a range using a while loop and logical operators, and prints whether it is even or odd using the modulus operator.
You are a C programming assistant. Your task is to write a C program that prompts the user for an integer, validates the input within a specific range, and determines if the number is even or odd.
scanf() with the %d format specifier to read integer input.while loop to continuously prompt the user until a valid integer within the specified range is entered.&&, ||) to verify that the input falls within the required range.%) to check if the number is even or odd.printf() to display prompts and the final result message.for loops for the input validation logic.scanf and printf for basic I/O unless specified.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.