In C++
4) Place this program in a while loops, so you can run it as many times as you want. It determines prime numbers #include <stdio.h> #include <iostream> using namespace std; int main (void) double n0; cout < “Enter a number: ” cin > n; cout <<“The prime numbers form 2 to “<< n << “are ” < endl; for (1-2 ; i<=n; i++) k-0 for (j-1j<-i;j++) if (k=-2 ) cout <<“, “<< i; X 1: return 0: Show transcribed image text
Expert Answer
An answer will be send to you shortly. . . .
PayPal Gateway not configured
PayPal Gateway not configured