15,945,119 members
1.00/5 (1 vote)
See more:
```CREATE A PROGRAM THAT WILL INPUT THE FOLLOWING:
* STUDENT NUMBER		* ASSIGNMENT AVERAGE 10%
* STUDENT NAME		           * SEATWORK AVERAGE	> 15%
* COURSE				* LAB ACTIVITIES AVERAGE – 25%
* YEAR				* QUIZZES AVERAGE 	– 20%
ASSIGNMENT1 GRADE	           * LONG QUIZ 		– 30%
ASSIGNMENT2 GRADE	           * CLASS STANDING	= 100%
SEAT WORK 1 SCORE		  CLASS STANDING 		= 60%
SEAT WORK 2 SCORE		* MIDTERM EXAM GRADE 	= 40%
LAB ACT 2 GRADE		   DISPLAY THE FOLLOWING WITH
LAB ACT 3 GRADE		   ASTERISK SYMBOL (*)
QUIZ 1 SCORE
QUIZ 2 SCORE
LONG QUIZ SCORE
MIDTERMS EXAMS SCORE```

What I have tried:

I'm new in C language and I dont know where to start coding this program

C
```#include <stdio.h>

int main()
{
float eng, phy, chem, math, comp;
float total, average, percentage;

/* Input marks of all five subjects */
printf("Enter marks of five subjects: \n");
scanf("%f%f%f%f%f", &eng, &phy, &chem, &math, &comp);

/* Calculate total, average and percentage */
total = eng + phy + chem + math + comp;
average = total / 5.0;
percentage = (total / 500.0) * 100;

/* Print all results */
printf("Total marks = %.2f\n", total);
printf("Average marks = %.2f\n", average);
printf("Percentage = %.2f", percentage);

return 0;
}```
Posted
Updated 27-Mar-22 23:27pm
v4
Richard MacCutchan 28-Mar-22 4:00am
If you really do not understand the question then you should talk to your teacher about some extra tuition.
Greg Utas 28-Mar-22 7:41am
I don't think you've posted the entire assignment. All the program has to do is input a bunch of data? Then what?!

## Solution 1

I suggest you start here : Basic Input and Output in C[^]

You might also want to ask your tutor to make the question a bit clearer and to STOP SHOUTING (i.e. don't use all capitals)

## Solution 2

While we are more than willing to help those that are stuck, that doesn't mean that we are here to do it all for you! We can't do all the work, you are either getting paid for this, or it's part of your grades and it wouldn't be at all fair for us to do it all for you.

So we need you to do the work, and we will help you when you get stuck. That doesn't mean we will give you a step by step solution you can hand in!
Start by explaining where you are at the moment, and what the next step in the process is. Then tell us what you have tried to get that next step working, and what happened when you did.

If you are having problems getting started at all, then this may help: How to Write Code to Solve a Problem, A Beginner's Guide[^]