Computer Science, asked by varsha1958, 6 months ago

Question
write a c program for this.
At an exam center, M number of students are allocated for one classroom as
per the University Rules. The Examination staff has made sitting
arrangements where the classroom contains N number of benches arranged
in columns separated by a suitable distance occupying room space from the
left to the right wall.
Given, M = 10.N=5 Students from class "TY" can sit one after the other
from the 1st bench starting at the left wall in the order of their Roll
Numbers. And students from dass "SY" are allowed to sit beside the
students from class 'TY" in the order of their Roll Numbers one after the
other. All students enter the classroom in a random order as input in String
Array Students(). Few students may remain absent Assume the Roll
Numbers are in continuous range with no drop. and Class Name("TY","SY")
should be prefixed for every Roll Number. For example, you can pass Input
with values like:
FACE
write a program for this​

Answers

Answered by abcdefg1480
0

Answer:

jfutigjfjfjfjfkgkhkfjvbyddadbstjeu

Answered by Anonymous
1

Answer:

At an exam center, M number of students are

allocated for one classroom as per the University

Rules. The Examination staff has made sitting

arrangements where the classroom contains N

number of benches arranged in columns separated

by a suitable distance occupying room space from

the left to the right wall.

Given, M = 10, N = 5

Students from class "TY" can sit one after the other

from the 1st bench starting at the left wall in the

order of their Roll Numbers.

And students from class "SY" are allowed to sit beside

the students from class "TY" in the order of their Roll

Numbers one after the other.

All students enter in the classroom in a random order

as Input in String Array Students[]. Few students may

remain absent. Assume the Roll Numbers are in

continuous range with no drop, and Class

Name("TY","SY") should be prefixed for every Roll

Number. For example, you can pass Input with values

like:

Students = ["TY01", "TY02", "SY01","SYO5", "SY04",

"TY03", "SYO2", "TY04", "SYO3", "TY05"]

Display the sitting arrangement status at the exam

time. "ABSENT" should be marked at the place of the

Roll Numbers of missing or absent students.

Explanation:

Similar questions