#include <stdio.h>
// Code allows a user to input an integer

int main(int argc, char ** argv)
{
    int i;        // i is the number which is input
    int no_read;  // No read is the number of items input
                  // NOT the number input
    printf ("Type a number\n");
    no_read = scanf ("%d",&i);  
    // Read the notes carefully about this line
    if (no_read == 0) {
        printf ("Problem with read!\n");
        return -1;
        }
    printf ("i is %d\n",i);
    return 0;
}


