+ 2

Functions

write c program that requests auser to enter the upper and lower bound (passed to afunction) and the program uses the function to print all prime numbers between upper and lower bound.

3rd Oct 2019, 6:30 AM
Banadda Mubaraka
Banadda Mubaraka - avatar
1 Réponse
+ 1
Just try yourself first it will build your developing skills, but if you stuck with logic I post the logic below but try calling function with parameters by your own to make your C skills great. Here's the logic of prime number to print in N range https://code.sololearn.com/cUPR3FANXN7t/?ref=app
3rd Oct 2019, 6:53 AM
Chirag Kumar
Chirag Kumar - avatar