• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
การพัฒนาโปรแกรม เลขที่26
 

การพัฒนาโปรแกรม เลขที่26

on

  • 204 views

 

Statistics

Views

Total Views
204
Views on SlideShare
204
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    การพัฒนาโปรแกรม เลขที่26 การพัฒนาโปรแกรม เลขที่26 Presentation Transcript

    • Pseudo code) Flow chart)
    • FORTRAN)COBOL) RPG) Pascal)
    • Java) C#) C++)
    • fourth-generation languages: 4GLs) GLSQL) Hypertext Markup Language: HTML ) tags)
    • main( )int main ( ) { <
    • - header files )1 #include <stdio.h>1 #include <stdiob.h> printf( ) scanf( )- variable declaration )6 int target ;7 int number ;8. int no_of_guesses = 1 ; target, number no_of_guesses int ) data_type identification_name data_type identification_name no_of_guesses- scanf ("%", &target) ;12 scanf ("%", &number) ;13 scanf ("%", &number) ; scanf ( ) d"
    • - printf ("Enter the number you guess ") ;16 printf ("Too highn") ;17 printf ("Too lown") ;19 printf ("Enter the number you guess ") ; printf ( ) printf ( ) printf ("Correct - You try %d time . n" , no_of_guesses ) ; no_of_guesses no_of_guesses int d" scanf ( )-
    • while while ( number target- no_of_guesses = no_of_guesses + 1 ; no_of_guesses no_of_guesses operand ) operator )- if (number > target)
    • if-else if else if if if else- return25 return 0; return main ( ) main ( )