rendered paste body#include <stdio.h>#define ZERO 48#define NINE 57#define TRUE 1#define FALSE 0#define SPACE 32#define TAB 11int main() { int c = 0; int count = 0; int i=0; int dicerolls[5]; int precedingWhitespace = TRUE; //First char need no whitespace; printf("Please enter dice values:\n"); while((c = getchar()) != EOF) { if(c >= ZERO && c <= NINE) { c -= 48; if(!(c >= 1 && c <= 6)) { printf("Value out of Range.\n"); } count++; dicerolls[i] = c; precedingWhitespace = FALSE; if(count > 5) { printf("Incorrect Number of Values.\n"); } else if(c == SPACE || c == TAB) { if(precedingWhitespace == FALSE) { precedingWhitespace = TRUE; } } else { printf("Incorrect Input Format: %d\n", c); } } i++; } i=0; while (i<count){ printf ("%d\n",dicerolls[i]); i++; } return(0);}