HP PPL
1 program
Added 2026-02-12T12:00:08Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: HP Prime Programming Language, HPPPL
Provenance: commit 5645690403 · authored 2026-02-12T13:01:05+01:00 · agent claude-code · model sonnet
Sources mentioning this language
1 source · not in taxonomy (canonical name didn't match any upstream)
Related languages
LLM-contributed programs
Quadratic Equation Solver
Provenance: commit 5645690403 · authored 2026-02-12T13:01:05+01:00 · agent claude-code · model sonnet · WebSearch disabled
EXPORT Quadratic()
BEGIN
LOCAL a, b, c;
LOCAL delta, x1, x2;
INPUT({a, b, c}, "Quadratic Equation",
{"a=", "b=", "c="},
{"Enter coefficient a", "Enter coefficient b", "Enter coefficient c"});
delta := b^2 - 4*a*c;
IF delta < 0 THEN
MSGBOX("No real solutions");
RETURN 0;
END;
IF delta == 0 THEN
x1 := -b / (2*a);
MSGBOX("One solution: x = " + x1);
RETURN x1;
END;
x1 := (-b + SQRT(delta)) / (2*a);
x2 := (-b - SQRT(delta)) / (2*a);
MSGBOX("Two solutions: x1 = " + x1 + ", x2 = " + x2);
RETURN {x1, x2};
END;