From a68d9e31f001b07220c147859cc7b8db0dec6713 Mon Sep 17 00:00:00 2001
From: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
Date: Fri, 22 Oct 2021 11:47:53 +0000
Subject: [PATCH] Documentation for 6c6747174ce018c0ab7e152e313c35bc594bee1a
---
...8dca7b867074164d5f45b0f3851269d_cgraph.map | 2 +-
...8dca7b867074164d5f45b0f3851269d_cgraph.md5 | 2 +-
...8dca7b867074164d5f45b0f3851269d_cgraph.svg | 2 +-
...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map | 2 +-
...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 2 +-
...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg | 2 +-
...b31b5ad750f1fe042a706a4e3d4_cgraph_org.svg | 2 +-
d8/ddf/sieve__of__eratosthenes_8cpp.html | 2 +-
...35843bdf82d2a6cc8596ae8fd3b8df9_cgraph.map | 2 +-
...35843bdf82d2a6cc8596ae8fd3b8df9_cgraph.md5 | 2 +-
...35843bdf82d2a6cc8596ae8fd3b8df9_cgraph.svg | 2 +-
...eebd5e7686a8db363f937b2f30d3818_cgraph.map | 2 +-
...eebd5e7686a8db363f937b2f30d3818_cgraph.md5 | 2 +-
...eebd5e7686a8db363f937b2f30d3818_cgraph.svg | 2 +-
...8ec9ad42717780d6caaff9d3d6977f9_cgraph.map | 2 +-
...8ec9ad42717780d6caaff9d3d6977f9_cgraph.md5 | 2 +-
...8ec9ad42717780d6caaff9d3d6977f9_cgraph.svg | 2 +-
...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map | 2 +-
...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 2 +-
...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg | 2 +-
...b9769e44683dcb67fe1083ad91e134d_cgraph.map | 2 +-
...b9769e44683dcb67fe1083ad91e134d_cgraph.md5 | 2 +-
...b9769e44683dcb67fe1083ad91e134d_cgraph.svg | 2 +-
...cafde185abd8670abee51157f273dc2_cgraph.map | 2 +-
...cafde185abd8670abee51157f273dc2_cgraph.md5 | 2 +-
...cafde185abd8670abee51157f273dc2_cgraph.svg | 2 +-
...7b81d7a1534216af6a36a80135beb86_cgraph.map | 2 +-
...7b81d7a1534216af6a36a80135beb86_cgraph.md5 | 2 +-
...7b81d7a1534216af6a36a80135beb86_cgraph.svg | 2 +-
db/d93/check__prime_8cpp.html | 83 ++++++++++---------
...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.map | 2 +-
...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.md5 | 2 +-
...66f6b31b5ad750f1fe042a706a4e3d4_cgraph.svg | 2 +-
dir_296d53ceaeaa7e099814a6def439fe8a.html | 2 +-
files.html | 2 +-
35 files changed, 77 insertions(+), 74 deletions(-)
diff --git a/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.map b/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.map
index 963d3ffb5..73de03a59 100644
--- a/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.map
+++ b/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.map
@@ -12,7 +12,7 @@
-
+
diff --git a/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.md5 b/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.md5
index b68d2ff23..8769d2c9a 100644
--- a/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.md5
+++ b/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.md5
@@ -1 +1 @@
-dd7e1d2eb4a0e958401a396a3f72dc22
\ No newline at end of file
+35506b55f9d68224f3d831d50486bbee
\ No newline at end of file
diff --git a/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg b/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg
index 79c8f69a0..9bcac4954 100644
--- a/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg
+++ b/d8/d9c/union__of__two__arrays_8cpp_aa8dca7b867074164d5f45b0f3851269d_cgraph.svg
@@ -214,7 +214,7 @@
Reduced all possibilities of a number which cannot be prime. Eg: No even number, except 2 can be a prime number, hence we will increment our loop with i+2 jumping on all odd numbers only. If number is <= 1 or if it is even except 2, break the loop and return false telling number is not prime. +
Reduced all possibilities of a number which cannot be prime. Eg: No even number, except 2 can be a prime number, hence we will increment our loop with i+6 jumping and check for i or i+2 to be a factor of the number; if it's a factor then we will return false otherwise true after the loop terminates at the terminating condition which is (i*i<=num) More...
#include <cassert>#include <iostream>Reduced all possibilities of a number which cannot be prime. Eg: No even number, except 2 can be a prime number, hence we will increment our loop with i+2 jumping on all odd numbers only. If number is <= 1 or if it is even except 2, break the loop and return false telling number is not prime.
+Reduced all possibilities of a number which cannot be prime. Eg: No even number, except 2 can be a prime number, hence we will increment our loop with i+6 jumping and check for i or i+2 to be a factor of the number; if it's a factor then we will return false otherwise true after the loop terminates at the terminating condition which is (i*i<=num)
Copyright 2020
A simple program to check if the given number if prime or not.
Function to check if the given number is prime or not.
for IO operations
+for assert Function to check if the given number is prime or not.
| num | number to be checked. |
Main function
-