From: vignesh1988i <softvig88@gmail.com>
To: linux-c-programming@vger.kernel.org
Subject: Re: C program help
Date: Mon, 28 Dec 2009 20:50:32 -0800 (PST) [thread overview]
Message-ID: <26951151.post@talk.nabble.com> (raw)
In-Reply-To: <25522429.post@talk.nabble.com>
1) SEE , wat i feel is that you can have a count after u answer
for the question u ask using printf statement... that count must be
initilized to 0 which will act as a question number. .
2) And since u are a beginner in C , iam suggesting u to make use
of two arrays where u can have one for right answers and other for wrong
answers....
3) In the array of right answers where u are checking ur answer
== x+x , inside that statement assign the count to the right answerd array
as:
right[i]=count;
4) if ur if becomes false , in else same u must do as above but
that should be :
wrong[j]=count;
after this u would get ur desired output....... any doubts , mail me
:softvig88@gmail.com
thank u
--
View this message in context: http://old.nabble.com/C-program-help-tp25522429p26951151.html
Sent from the linux-c-programming mailing list archive at Nabble.com.
prev parent reply other threads:[~2009-12-29 4:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-19 15:13 C program help spiros85
2009-09-19 15:38 ` Tim Walberg
2009-09-19 15:51 ` Manish Katiyar
2009-10-09 12:10 ` shiva kumar
2009-12-29 4:50 ` vignesh1988i [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26951151.post@talk.nabble.com \
--to=softvig88@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).