#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <math.h>

int main(void) {
    char ch, ch1, ch2, ch3, ch4;
    ch = 'a';

    unsigned short int;

    double b = INFINITY;

    short u;
    char c;
    float f;

    printf("%c\n", ch);

    printf("%d\n", ch);

    printf("%d\n", SHRT_MAX);

    printf("%lf\n", b);

    printf("Enter char int char float: \n");
    scanf("%c %d %c %f", &ch1, &u, &ch2, &f); // This line reads correctly. Ex.  
                                              // a 5 b 5.5 
getchar();
    printf("You entered: %c %d %c %0.3f\n", ch1, u, ch2, f);

    printf("Enter char float int char: \n");
    scanf("%c%f%d%c", &ch3, &f, &u, &ch4); // This line reads    5.5 5 a 
                                               // Here is where the first %c
                                               // is being read as a white space.
    printf("You entered: %c %0.3f %d %c\n", ch3, f, u, ch4);
    return 0;
}