ݺߣ

ݺߣShare a Scribd company logo
do while

#include<stdio.h>

#include<conio.h>

main()

{

printf("Nisarat Kramsri      No.16        M.6/1nn");

Nisarat Kramsri      No.16        M.6/1

int a,b;

printf("Input you keywords :");                  Input you keywords

scanf("%d",&a);

do

{

printf("nWhat is a Keywords?n>>");                     What is a

Keywords

scanf("%d",&b);
if(a==b)

printf("You win !! nThis number is Keywordsn");

You win This number is Keywords

else

printf("Oh this isn't Keywordsn");             Oh this isn't

Keywords

}

while(a!=b);



getch();

}
Flowchart




 Nisarat Kramsri

No.16       M.6/1
   Input you keywords
no




                 What is a

                 Keywords


You win This

number is

Keywords
คำสั่ง Do while

More Related Content

คำสั่ง Do while