Web Rewrite
Technology Blog Where You Find Programming Tips and Tricks
  Menu
Skip to content
  • Home
  • Java
  • Programming Questions
    • Array
    • Linked List
    • Stack
    • Queue
    • String
    • Search Algo
    • Interview Questions
  • Solid Principles
  • Multithreading
  • PHP
  • Database
    • mysql
    • MongoDB
  • Contact Us

Tag Archives: Prime Number

« Older posts

PHP Program to Print Prime Numbers between 1 to N using Sieve Algorithm

By WebRewrite | November 11, 2018 - 4:10 am |November 11, 2018 PHP, programming
Leave a comment

Write a php program to print prime numbers between 1 to N. In this tutorial, we are going to use Sieve of Eratosthenes algorithm to print prime numbers between 1 to N.

→

Tagged PHP, Prime Number, programming

Check Whether a Number is Prime or Not in Java

By WebRewrite | February 23, 2022 - 2:43 pm |February 23, 2022 Java, programming
Leave a comment

How check whether a number is prime or not in java.

Given an input integer, write a code to check whether an input number is prime or not.

For example –

Example 1:

Input: 7

output: true

Example 2:

Input: 12

Output: false

→

Tagged Java, Prime Number, programming

C Program to Check whether a Number is Prime or Not

By WebRewrite | January 7, 2019 - 3:21 pm |January 7, 2019 InterviewQuestions, programming
Leave a comment

Write a c program to check whether a number is prime or not. In this tutorial, we are going to write a c program to check whether an input number is prime or not.

Given an integer, Write an efficient c code to check whether a number is prime or not.

→

Tagged C, Prime Number
12
  • Support Me on PayPal

    Programming Video Tutorials


  • Related Posts (YARPP)

    1. How to Remove WWW From URL through htaccess
    2. How to Enable .htaccess File in Apache2
    3. How to Prevent Image Hotlinking through .htaccess
    4. htaccess Tutorial
  • Topics

    • Multithreading

    • Linked List

    • Binary Tree

    • Hash Map

    • Java

    • Queue

    • Stack

    • Binary Search

    • Programming

    • Sliding Window

    • Composer

    • Memcache

    • Javascript

    • Solid Principles

  • Copyright 2020 – 2021 – webrewrite.com – All Rights Reserved.

  • Home
  • Java
  • Programming Questions
  • Solid Principles
  • Multithreading
  • PHP
  • Database
  • Contact Us
Web Rewrite | Powered by Mantra & WordPress.