int num1, num2, num3, num4, num5, x; /* declare variables */
printf("Enter 5 numbers between 1 and 30:"); /* prompt for input */
scanf("%d%d%d%d%d", &num1, &num2, &num3, &num4, &num5 ); /* read numbers from user */
System.out.print("*");
int main( void ) /* function main begins program execution */
{
int num1, num2, num3, num4, num5, x; /* declare variables */
printf("Enter 5 numbers between 1 and 30:"); /* prompt for input */
scanf("%d%d%d%d%d", &num1, &num2, &num3, &num4, &num5 ); /* read numbers from user */
*edit: Please use code tags in the future, thanks!
This post has been edited by Martyr2: 01 March 2009 - 07:48 PM

New Topic/Question
Reply




MultiQuote





|