#include <stdio.h> //library file 

void main()  //main function - program always starts here
{
	int x;
	int mynumber;
	float myprice;
	char myletter;
	char myname[20];//anticipate input from user could be long
	
	printf("Please enter a number: ");
	scanf("%d",&x);//note %d with ints
	printf("Thanks dude! You entered %d\n\n", x);

	printf("Please enter another number:");
	scanf("%d", &mynumber);
	printf("Great! You entered %d\n\n", mynumber);

	printf("Name your price, dude!");
	scanf("%f", &myprice);//note %f with floats
	printf("%f!! you drive a hard bargain\n\n", myprice);

	printf("Enter your favourite letter");
	scanf(" %c", &myletter);//note space then %c
	printf("%c is a great letter!!\n\n", myletter);

	printf("Tell me your name!");
	scanf("%s",&myname);//%s with string
	printf("Hello, %s", myname);
}

