Search:

Type: Posts; User: nsriv

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    5,084

    I said that cause i know the problem is in the...

    I said that cause i know the problem is in the code and not in the leap year logic..
    Here is the correct code

    Thanks for the help guys.




    #include<stdio.h>
    #include<conio.h>
  2. Replies
    15
    Views
    5,084

    DeadPlanet...

    DeadPlanet

    Yes scanf is missing for ch.. i added it on the code..
    but still program has errors.. year is not initialised





    #include<stdio.h> #include<conio.h> void main() { int year;...
  3. Replies
    15
    Views
    5,084

    ch and year both are undefined.. and int year = 0...

    ch and year both are undefined.. and int year = 0 is also not working



    Im too confused about this.. but actually logic is not important.. only the program must run.

    I get this output after...
  4. Replies
    15
    Views
    5,084

    the year should be divisible by 400 or 4 but not...

    the year should be divisible by 400 or 4 but not by 100
  5. Replies
    15
    Views
    5,084

    Leap year program error

    I need to make a program to check leap year by using - if statement, logical operator and ternary operator from switch statement

    Please correct this code.. its not working



    #include<stdio.h>...
  6. Replies
    7
    Views
    5,145

    Sorinx...

    Sorinx
    thanks for the help.. only zeros r missing in the output but now i can make the program.. thanks..

    Salem and Adak
    thanks for the advice..
  7. Replies
    7
    Views
    5,145

    I hav to make a lot of programs so im just asking...

    I hav to make a lot of programs so im just asking if anyone can help.

    I don want you to write the full program. you can just provide me main loop statements if you hav time.
  8. Replies
    7
    Views
    5,145

    Number pattern program help

    HI. i am new in c programming.
    Please help me making a program to print this



    0
    101
    21012
    3210123
    432101234
Results 1 to 8 of 8