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

155

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
155
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

คำสั่ง 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

×