162k views
4 votes
write a C program code should generate 4 integer values separated by a new line representing total number of participants of group A group B group c and group D respectively​

User GuyT
by
7.6k points

1 Answer

3 votes

Answer:

#include <stdio.h>

#include <stdlib.h>

int main(void) {

printf("%d\\%d\\%d\\%d\\", rand(), rand(), rand(), rand());

}

Step-by-step explanation:

Really not a meaningful program without additional requirements...

User Subha
by
7.3k points