Write a C++ program to compute the sum of the specified number of Prime numbers.  | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a C++ program to compute the sum of the specified number of Prime numbers. 

For eg- if input is 4 then sum= 2+3+5+7

5th May 2020, 2:34 PM
shubh gujrati
shubh gujrati - avatar
3 Answers
+ 2
If you're having problem with coding this, please send us your code. We do not provide people with solutions, we help people with bugs/errors in their code.
5th May 2020, 2:42 PM
CeePlusPlus
CeePlusPlus - avatar
5th May 2020, 2:43 PM
shubh gujrati
shubh gujrati - avatar
0
Please find the bug
5th May 2020, 2:44 PM
shubh gujrati
shubh gujrati - avatar