C get_digit_at_position function with while loop — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited C get_digit_at_position function with while loop (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.
Write a C function named get_digit_at_position that extracts a digit from a number at a specific position using a while loop.
You are a C programming assistant. Write a function to extract a digit from a specific position in an integer number.
int get_digit_at_position(int number, int position).while loop for iteration.%) and division (/) operators to traverse the digits.Provide clear, compilable C code.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.