#include <stdio.h>
#include <stdlib.h>
#include "Info.h"
#include <ctype.h>
#include <string.h>
#include <math.h>
int main()
{
    srand((unsigned)time(NULL));
    int counter;
    int roll;
    int firstsum = 0;
    int secondsum = 0;
    char userchoice;

    //Counting sum of first roll
    for (counter = 1; counter <= 3; counter++) {
        roll = (rand() % 6) + 1;
        firstsum = firstsum + roll;
    }
    //Asking user for input
    printf(" You rolled %d . Type h if you think next roll will be higher than this number\n If you think it will be lower type l, or for the same type s\n", firstsum);
    scanf(" %c", &userchoice);

    //Counting sum of second roll
    for (counter = 1; counter <= 3; counter++) {
        roll = (rand() % 6) + 1;
        secondsum = secondsum + roll;
    }
    //Checking result for option chosen by user. Printing output back to user.
    switch (userchoice) {
        case 'h':
            if (secondsum > firstsum) {
                printf("good job ");
            }
            else {
                printf("you soak! ");
            }
        break;
        case 'l' :
            if (secondsum < firstsum) {
                printf("good job ");
            }
            else {
                printf("you soak! ");
            }
        break;
        case 's':
            if (secondsum == firstsum) {
                printf("good job ");
            }
            else {
                printf("you soak! ");
            }
        break;
        default : printf(" You cannot follow my instructions, can you?");
    }
    return 0;
}

PS. I didn't misspelled it. I wrote ''soak" on purpose, you hyperactive haters.