Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
do while#include<stdio.h>#include<conio.h>main(){printf("Nisarat Kramsri      No.16        M.6/1nn");Nisarat Kramsri      ...
if(a==b)printf("You win !! nThis number is Keywordsn");You win This number is Keywordselseprintf("Oh this isnt Keywordsn")...
Flowchart Nisarat KramsriNo.16       M.6/1   Input you keywords
no                 What is a                 KeywordsYou win Thisnumber isKeywords
คำสั่ง Do while
Upcoming SlideShare
Loading in …5
×

คำสั่ง Do while

293 views

Published on

  • Be the first to comment

  • Be the first to like this

คำสั่ง Do while

  1. 1. do while#include<stdio.h>#include<conio.h>main(){printf("Nisarat Kramsri No.16 M.6/1nn");Nisarat Kramsri No.16 M.6/1int a,b;printf("Input you keywords :"); Input you keywordsscanf("%d",&a);do{printf("nWhat is a Keywords?n>>"); What is aKeywordsscanf("%d",&b);
  2. 2. if(a==b)printf("You win !! nThis number is Keywordsn");You win This number is Keywordselseprintf("Oh this isnt Keywordsn"); Oh this isntKeywords}while(a!=b);getch();}
  3. 3. Flowchart Nisarat KramsriNo.16 M.6/1 Input you keywords
  4. 4. no What is a KeywordsYou win Thisnumber isKeywords

×