From 8c099173ba9d76153719d9bd354ecb9f49a63c91 Mon Sep 17 00:00:00 2001 From: SwagsShivamOp <114857687+SwagsShivamOp@users.noreply.github.com> Date: Wed, 5 Oct 2022 09:31:18 +0530 Subject: [PATCH] Create Prime_in_a_Range --- Prime_in_a_Range | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Prime_in_a_Range diff --git a/Prime_in_a_Range b/Prime_in_a_Range new file mode 100644 index 00000000..a10caee2 --- /dev/null +++ b/Prime_in_a_Range @@ -0,0 +1,20 @@ +#include +using namespace std; +int main(){ + int i,j,a,b; + cin>>a>>b; + + for(i=a;i<=b;i++){ + for(j=2;j