#include #include //determine if a number is prime by checking for factors lessthan the number int main() { int num; int counter; int res; //float div; printf("input a number: "); scanf("%d", &num); for(counter = 2; counter