For an assignment I have to format a basic C program that I can make myself and make sure it is well indented. Is this ok from what I have done? Can I add that on my editor, the code in the if statement braces are closrer to the ident than they appear when I posted it, I dont know why C boards editor moves code around like this... Is there anything I can do to increase readabilty?
printf("Enter a letter( a - g ): ");
if (( let >= 'a' ) && ( let <= 'g' ))
printf("\nYou entered %c", let);
printf("\nEnter two a number between 1 and 10: ");
if (( num >= 1 ) && ( num <= 9 ))
printf("\nYou entered: %d", num);
printf("\nListen to commands!");