 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
newbiejake Guest
|
Posted: Thu Feb 22, 2007 10:12 am Post subject: i cannot do the code for this program... |
|
|
I need a code that at first how many courses did one take. then if you
answered for example "5" it will ask you 5 times of the course name,
the number of units, and the final grade for that unit. then after
that the output will show a table-like output which shows everything
you entered and then the Average is also included. but the average
depends on the number of units of that course. some are 3 units and
some are 5 units... i'm not sure if im missing something but any kind
of help will do...
--
comp.lang.c.moderated - moderation address: clcm (AT) plethora (DOT) net -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry. |
|
| Back to top |
|
 |
xakee Guest
|
Posted: Sun Feb 25, 2007 10:11 am Post subject: Re: i cannot do the code for this program... |
|
|
On Feb 22, 12:50 pm, "newbiejake" <jakema...@yahoo.com> wrote:
| Quote: | I need a code that at first how many courses did one take. then if you
answered for example "5" it will ask you 5 times of the course name,
the number of units, and the final grade for that unit. then after
that the output will show a table-like output which shows everything
you entered and then the Average is also included. but the average
depends on the number of units of that course. some are 3 units and
some are 5 units... i'm not sure if im missing something but any kind
of help will do...
--
comp.lang.c.moderated - moderation address: c...@plethora.net -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry.
|
Get a book for C (Let us C: Yashwanth kanethkar) or any other book on
C. Read it carefully and practice with the examples. Thats the best i
can tell you to be a programmer. And please, dont post your school
assignment questions. No ones gonna solve em for you, learn+apply
+practice=your solution to programming questions
--
comp.lang.c.moderated - moderation address: clcm (AT) plethora (DOT) net -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry. |
|
| Back to top |
|
 |
nandu Guest
|
Posted: Sun Feb 25, 2007 10:11 am Post subject: Re: i cannot do the code for this program... |
|
|
On Feb 22, 12:50 pm, "newbiejake" <jakema...@yahoo.com> wrote:
| Quote: | I need a code that at first how many courses did one take. then if you
answered for example "5" it will ask you 5 times of the course name,
the number of units, and the final grade for that unit. then after
that the output will show a table-like output which shows everything
you entered and then the Average is also included. but the average
depends on the number of units of that course. some are 3 units and
some are 5 units... i'm not sure if im missing something but any kind
of help will do...
--
comp.lang.c.moderated - moderation address: c...@plethora.net -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry.
|
its so simple declare a structure with course units etc as its members
and then declare a pointer at the end of the structure but don't
declare in another line or somewhere else and i think you are missing
some data and i hope the above solution may be useful to you so that
you may get some idea
--
comp.lang.c.moderated - moderation address: clcm (AT) plethora (DOT) net -- you must
have an appropriate newsgroups line in your header for your mail to be seen,
or the newsgroup name in square brackets in the subject line. Sorry. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|