Search:

Type: Posts; User: sash_007

Search: Search took 0.00 seconds.

  1. Thread: Fault average

    by sash_007
    Replies
    5
    Views
    177

    Fault average

    Hello friends,

    I am trying to make a simple average function but the resukts are faulty

    say i enter 45 ,51 ,23 for 3 numbers but average shows 39.00 instead of 39.66


    #include...
  2. Replies
    7
    Views
    321

    @lasrelight ya i know arrays would be the way to...

    @lasrelight ya i know arrays would be the way to go for tht but i am still new in coding so numbered those variables

    i will try to keep other points in mind

    getch() is not standard? then what...
  3. Replies
    7
    Views
    321

    this actually worked as stahta said to keep...

    this actually worked as stahta said to keep bigger condition first


    #include <stdio.h>#include <string.h>
  4. Replies
    7
    Views
    321

    Why this is happening

    hello friends,

    In this quiz code all the quiz score is counting but everytime

    it shows the msg "you did ok" even after answering all answers correct


    #include <stdio.h>#include <string.h>
  5. Replies
    2
    Views
    239

    Issues with quiz game

    hello friends,

    I am facing some issues with this quiz game

    after you press start and then y and pass the first round of questions

    it comes down to second challenge round of questions where...
  6. Replies
    1
    Views
    234

    Why this quiz game not working

    hello friends,

    I am trying to make a quiz game

    but after you press 'S" and register your name
    then when i press Y so that the quiz start its going back to main menu

    but when i press shift...
  7. this works but after i enter street name...

    this works but

    after i enter street name
    town the cursor jump to country

    #include <stdio.h>#include <stdlib.h>
    #include<windows.h>
    /* Use of typedef in Structure */
  8. okthanks this works #include...

    okthanks

    this works
    #include <stdio.h>#include <stdlib.h>
    #include<windows.h>
    /* Use of typedef in Structure */
  9. yes i understand tht fscanf is input function ...

    yes i understand tht fscanf is input function

    i just want to take data from user and store it in address.txt file
  10. ok i am confused what is the difference...

    ok i am confused



    what is the difference between


    struct home_address2{

    char local_street2[100];
  11. Adding structure data in txt file not working

    Hello friends,

    i am trying to add structure data to txt file but it gives errors


    #include <stdio.h>#include <stdlib.h>
    #include<windows.h>
    /* Use of typedef in Structure */
  12. codewithc

    codewithc
  13. Storing structure data in txt file instead of dat file?

    hello friends,

    I am new to C

    recently i have been studying code of bank management system

    where i see the input files are stored in .dat files

    but i just wonder can i store these...
  14. What is the difference between these 2 void

    hello friends,


    what is the difference between these two functions


    void menu(){

    printf("function 1\n");
  15. Replies
    1
    Views
    345

    What are these in the structure

    hello friends,

    I want to know
    what are these in this structure


    struct {

    char name[60];
    int acc_no,age;
  16. Passing arguements to fucntion not working

    hello friends,

    I just wonder why this is not working



    #include <stdio.h>#include <stdlib.h>


    void converttodollar(float euro);//prototyping function
  17. Replies
    3
    Views
    219

    G is what the user guessed but when i removed...

    G is what the user guessed

    but when i removed the quotation mark from G it works but i dont know how


    #include <stdio.h>#include <stdlib.h>#include<ctype.h>
    #include<string.h>...
  18. Replies
    3
    Views
    219

    Why loosing even after guessing right

    hello

    me trying to make a diceroll game

    but result shows lose even after guessing right


    #include <stdio.h>#include <stdlib.h>
    #include<ctype.h>
    #include<string.h>
  19. Replies
    4
    Views
    280

    else if to switch possible ?

    hello friends,

    I want to replace else if with switch statement here


    #include <stdio.h>#include <stdlib.h>


    int main()
    {
  20. Replies
    10
    Views
    418

    oh it worked! thanks... now it works without...

    oh it worked! thanks...

    now it works without these lines

    getchar();
    fflush(stdout);
    but does c have space issues ?
  21. Replies
    10
    Views
    418

    #include #include int...

    #include <stdio.h>#include <stdlib.h>


    int main()
    {
    int age;
    char gen;
    printf("Enter your age : \n");
    scanf("%d",&age);
  22. Replies
    10
    Views
    418

    hello still no luck 15760

    hello still no luck

    15760
  23. Replies
    10
    Views
    418

    hello it shows error 15759

    hello it shows error

    15759
  24. Replies
    10
    Views
    418

    Nested if statement not working

    hello friends
    i am new to this forum

    i am having some problem with nested if statement


    #include <stdio.h>#include <stdlib.h>


    int main()
Results 1 to 24 of 24