Computer Science, asked by pratibhakashyap1012, 9 months ago

Your task is to write a C program to generate the report card of a student based on his marks secured in the final examination.

Answers

Answered by maheshpurohit2004
11

Answer:

Explanation:

using namespace std;

#include<stdio.h>

#include<conio.h>

int main()

{

char x[10];

int hind,eng,math,sci,soc;  

printf("WHAT IS THE NAME OF THE STUDENT");

scanf(%c,&x);

printf("HOW MANY MARKS DID HE SCORED IN HINDI");

scanf(%d,&hind);

printf("HOW MANY MARKS DID HE SCORED IN ENGLISH");

scanf(%d,&eng);

printf("HOW MANY MARKS DID HE SCORED IN MATHS");

scanf(%d,&math);

printf("HOW MANY MARKS DID HE SCORED IN SCIENCE");

scanf(%d,&sci);

printf("HOW MANY MARKS DID HE SCORED IN SOCIAL");

scanf(%d,&soc);

printf("%c"x);

printf("MARKS ARE GIVEN BELOW");

printf("HINDI MARKS : %d",hind);

printf("/n");

printf("ENGLISH MARKS : %d",eng);

printf("/n");

printf("MATHS MARKS : %d",math);

printf("/n");

printf("SCIENCE MARKS: %d",sci);

printf("/n");

printf("SOCIAL MARKS: %d",soc);

printf("/n");

return 0;

}

I hope this helped you. plzz mark this answer as brainliest.....

Answered by monjitnath65
0

Explanation:

A and B are two Partners shaning Profits and loses in the ratio of

3:2. C is admitted as a new partner for 3/10th share which he

acquires 2/10th from A and 1/10th from B. Calculate new profit

sharing natio

Similar questions