From 25f814dae3325e6b04fb17127fd4e1216a0eb2f5 Mon Sep 17 00:00:00 2001 From: stunner2k18 <43851460+stunner2k18@users.noreply.github.com> Date: Wed, 17 Apr 2019 00:11:13 +0530 Subject: [PATCH] fix_bug7 --- Technical Contribution/fix_bug/fix_bug7 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Technical Contribution/fix_bug/fix_bug7 b/Technical Contribution/fix_bug/fix_bug7 index 9216221..2e42d11 100644 --- a/Technical Contribution/fix_bug/fix_bug7 +++ b/Technical Contribution/fix_bug/fix_bug7 @@ -1,3 +1,4 @@ + // Program to print all prime numbers between 0 to n where n will be given by the user #include using namespace std; void printprimes(int n) @@ -28,3 +29,8 @@ printprimes(n); return 0; } + +/*Example: + A correct code of this program will output the following: + Input: 10 + Output: 2 3 5 7*/