Search:

Type: Posts; User: Ozlem Kayra

Search: Search took 0.00 seconds.

  1. Yea I know I will work on my indentations... ...

    Yea I know I will work on my indentations...
    Thanks for suggestions I think I can do top 3 easily, but I am not sure about breaking out prematurely I will try though
  2. #include #include int...

    #include <stdio.h>
    #include <math.h>


    int main(void) {
    int n;
    int i;
    int flag;

    printf("Enter an integer to check if it is prime: ");
  3. finally it works

    #include <stdio.h>
    #include <math.h>


    int main(void) {
    int n;
    int i;
    int flag;

    printf("Enter an integer to check if it is prime: ");
  4. #include #include int...

    #include <stdio.h>
    #include <math.h>


    int main(void) {
    int n;
    int i;
    int flag;

    printf("Enter value of N > ");
  5. Checking if an integer is a Prime number program too many prints

    #include <stdio.h>
    #include <math.h>


    int main(void)
    {
    int n;
    int x;
    printf("enter a number to check if it is prime\n");
    scanf("%d",&x);
Results 1 to 5 of 5