Computer Science, asked by PrincessStargirl, 1 year ago

Hello friends please help me in small basic.
1) Accept the name,class,roll number and the marks of five subjects of a student.Display the total and average with the name and other information.
This question is of Small Basic(programming), please help me in this.(BRAINLIST PROMISE)


nitish8089: TextWindow.WriteLine("total marks scored "+total)
nitish8089: TextWindow.WriteLine("Average marks scored "+ average)
nitish8089: now the program end join all part and run it
nitish8089: goodLuck :)
PrincessStargirl: Thanks a lot
PrincessStargirl: Can you help me with another programming??
PrincessStargirl: Accept ten different numbers.Display the sum and the product of the numbers
nitish8089: ask your question
PrincessStargirl: this is the question
PrincessStargirl: Accept 10 different numbers.Display the sum and the product of the numbers

Answers

Answered by Rossily
2
In this program, a structure, student is created:-

1. This structure has three members: name (string), roll(integer) and marks (float).

2. Then, we created a structure array of size 10 to store information of 10 students.

3. Using for loop, the program takes the information of 10 students from the user and displays it on the screen.

PrincessStargirl: You can write it here!
PrincessStargirl: You can answer it here!
PrincessStargirl: Ok!
PrincessStargirl: Do you know the answer?
Answered by Anonymous
2

Answer is given in attachment........

Attachments:
Similar questions