Given integers nBig and nSm where nBig > nSm, write a program segment that lists the integers in decreasing order and annotates the integers that are prime numbers. Assume nBig,nSm > 1. Example output for nBig=6 and nSm=3 is
6
5 is prime
4
3 is prime