← SAP questions
CodingReported in a candidate post, Feb 2015

Print all prime numbers between two intervals

Filed under SAP

Given two integers low and high, return a list of all prime numbers contained within the inclusive range [low, high]. A prime number is a natural number strictly greater than 1 that has no positive…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related SAP questions

Collected from public candidate posts and coding forums. Updated Nov 2026.