1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Please Help! Turbo C Project of a Computer Technology Student

Discussion in 'C' started by vladimircaramnik, Mar 29, 2011.

  1. vladimircaramnik

    vladimircaramnik New Member

    Joined:
    Mar 29, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Dear cfanatic members,

    Can you please help me with my project...

    Here it is:

    Create a QUIZ-like program that will show 20 questions about Turbo C.
    Display the question and accepting the answer. (every answer is 5 pts.)

    Compute the total score in the end.
     
  2. abhas

    abhas New Member

    Joined:
    Apr 10, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    yeah i can help. but do you want me to write the entire program or just enter the clue about it.
     
  3. vladimircaramnik

    vladimircaramnik New Member

    Joined:
    Mar 29, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Sir just give me a clue or advice or anything you think that can help me to start... thnx a lot.
     
  4. Ann_beginner

    Ann_beginner New Member

    Joined:
    Apr 10, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    Sir, i too hav a similar quiz project. Can yu pls give some clues?
    Here it is:

    Create a kbc QUIZ-like program that will display questions and accept the answer.
    Prize money for every correct answer.
    Compute the total money in the end. And ask if the player wants to PLAY AGAIN or QUIT. If user plays again, display a different set of questions
     
  5. abhas

    abhas New Member

    Joined:
    Apr 10, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    ok here are the step by step clues:
    1.use loop(for or while or do while whatever you like- but i think for loop is easier to use)
    and enter printf() and scanf() within it to print the question as well as answers and to gather the answer (going by your requirement it seems that it will be a mcq type question i.e you will have to accept the option number).
    2.use a counter(simply an integer) which will increase its value by +5
    Code:
     counter=counter+5;
    if the answer is correct(so you can understand that you actually need to check if the answer is right at first).
    3.at last when the stock of questions is finished or there is a wrong answer a printf() must be used to print the total marks (or total money as asked by Ann beginner) and use proper logic in if-else condition statement to exit( the code is
    Code:
    break;
    )
    4. what more?? nothing, your project should be already flying..
     
  6. abhas

    abhas New Member

    Joined:
    Apr 10, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
    To finish up, please dont call me sir. i am a student of 11th grade. i would be pleased to know about your college(or, whatever academic or professional status) and your country and lifestyle. if you both are on facebook plz let me know. about me i am a novice programmer but i thought i could help you in this project. you can also join cboard.cprogramming.com.its a good forum for c,c++,c# programmers.
    last of all, i can prepare the entire code for you if you are in some problem; but at first show me how you tried doing it. thanks both,Ann_beginner and vladimircaramnik.
    lastly just a guess: vladimircaramnik are you from russia?
     
  7. Ann_beginner

    Ann_beginner New Member

    Joined:
    Apr 10, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0
    thanks abhas, it wud be gud to c yu on fb, bt whts yur email id?
     
  8. abhas

    abhas New Member

    Joined:
    Apr 10, 2011
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    0
  9. Ann_beginner

    Ann_beginner New Member

    Joined:
    Apr 10, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    0

Share This Page