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 · Learn how to check if a number is prime or not in C using two methods: simple method and sqrt method. See C programs, examples, time complexity and auxiliary space analysis.

  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, code, output and explanation of prime numbers and composite numbers.

  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 C programs to check and print prime numbers. See different algorithms, examples and explanations of prime numbers and their applications.

  7. Learn how to check if a number is prime or not using C programming language. See the algorithm, pseudocode and implementation with examples and output.

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