Write a program that rolls a six-sided die 6000 times and displays the
number of times each face was rolled.
so far i have...
#include <stdio.h>
void main ( void )
{
int index, count, roll ;
int face[ 6 ] ;
for ( index = 1 ; index <= 5 ; index++ )
face[ index ] = 0 ;
printf(...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.