but do i get the logic correct?
how do i want to put - user may only add 12 student ID and marks?
but do i get the logic correct?
how do i want to put - user may only add 12 student ID and marks?
I have that code on top right?Code:scanf("%c",&choice);
where else should i put it?Code:printf ("\n############################################\n"); printf ("\nTest 1\n"); printf ("\n############################################\n"); printf ("\n[1] Enter Marks\n[2] View Marks\n[3] Back to Main Menu\n\n\n"); printf ("You Choose:"); scanf ("choice");
Are you using File I/O or not? You say you think you need to but if you don't need there are easier ways.
what do i actually need to use inorder to accept input and later view it?
and using function it the program is ok, right?
> this is half of it. i seem dont understand anything.. gosh.. alot of errors...
Post a small program which contains ONE thing you do not understand.
Do NOT try and write the whole thing at once, dump the resulting mess on a message board and hope someone will fix it for you to a standard you can just hand in without any more thought.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.