Yahoo Αναζήτηση Διαδυκτίου

Αποτελέσματα Αναζήτησης

  1. Learn how to write a C program to check whether a positive integer is a prime number or not. The program uses a for loop, a break statement and a flag variable to test the divisibility of n by i.

  2. www.geeksforgeeks.org › c-program-to-check-whether-a-number-is-prime-or-notPrime Number Program in C - GeeksforGeeks

    2 Ιουλ 2024 · A prime number is a natural number greater than 1 that is completely divisible only by 1 and itself. For example, 2, 3, 5, 7, 11, etc. are the first few prime numbers. In this article, we will explore a few prime number programs in C to check whether the given number is a prime number or not.

  3. Learn how to write a C program to find whether a number is prime or not with examples and explanations. The program uses the sqrt function and a loop to check the factors of a number and returns the result.

  4. 13 Ιουν 2015 · Learn how to write a C program to input a number and check whether it is prime or not using a simple algorithm. See the logic, example, and code for this program.

  5. Learn how to write a C program to check whether a number is prime or not using different methods such as for loop, function, sqrt and recursion. See examples, algorithms and code for each method.

  6. Learn how to write a C program to check whether a given number is a prime number or not using for loop, while loop, and functions. See examples, definitions, and explanations of prime numbers and their properties.

  7. Learn how to write a C program to check if a number is prime or not. A prime number is a whole number greater than 1 that has only two factors: 1 and itself.

  1. Γίνεται επίσης αναζήτηση για