AlongX Software Interview Question

prime number code and basic programing