Guess the Right Number

/*This program select the secret number for a */
/*corresponding message*/

#include<stdio.h>
main()
{
/*declaration of data types*/
int number1;

clrscr();

printf("This program will choose the selected number to ");
printf("sweetest word");
printf("\n Try to guess the number");
printf("\n Enter the number\n");
scanf("%d",&number1);

/*Condition*/
if (number1==143)
printf("I LOVE YOU..\n");
else
printf("Sorry.. try to guess another number.\n");
getche();
}

comment 0 comments:

Post a Comment

Delete this element to display blogger navbar

 
© C.L.S.T.I. Tutorial | Design by Blog template in collaboration with Concert Tickets, and Menopause symptoms
Powered by Blogger