Search:

Type: Posts; User: Ozlem Kayra

Search: Search took 0.01 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);
  6. I don't know what did u mean exactly, but I ...

    I don't know what did u mean exactly, but I learned a lot from these answers. Tomwa and LTA85 gave me good idea how to do program something similar to what I did. I know there is still a lot to...
  7. Thank you very much!

    Thank you very much!
  8. Thanks a lot for very useful info :) I am very...

    Thanks a lot for very useful info :) I am very novice on programming and I thought "float" represent only decimal values between 0 and 1. And thats why I needed to calculate cents and dollars...
  9. Allright Jim, I will do that from now on.

    Allright Jim, I will do that from now on.
  10. I cant figure out why my simple program is not working!

    #include <stdio.h>


    int main()
    {
    int p;
    int n;
    int d;
    int q;
    int sum;
Results 1 to 10 of 10