SlideShare une entreprise Scribd logo
1  sur  20
Pseudo code)
Flow chart)
FORTRAN)

COBOL)              RPG)




         Pascal)
Java)   C#)   C++)
fourth-generation languages: 4GLs)



                               GL           SQL)
        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-else
   if                else
          if                                    if


               if                        else

-      return
25 return 0;
                                return




                     main ( )
                    main ( )
การพัฒนาโปรแกรม วิชญา เลขที่ 26
การพัฒนาโปรแกรม วิชญา เลขที่ 26
การพัฒนาโปรแกรม วิชญา เลขที่ 26

Contenu connexe

Tendances

C Prog. - Strings (Updated)
C Prog. - Strings (Updated)C Prog. - Strings (Updated)
C Prog. - Strings (Updated)
vinay arora
 
C Prog. - Structures
C Prog. - StructuresC Prog. - Structures
C Prog. - Structures
vinay arora
 
ภาษาซีพื้นฐาน
ภาษาซีพื้นฐานภาษาซีพื้นฐาน
ภาษาซีพื้นฐาน
Krunee Thitthamon
 
C Prog - Strings
C Prog - StringsC Prog - Strings
C Prog - Strings
vinay arora
 

Tendances (20)

Double linked list
Double linked listDouble linked list
Double linked list
 
C語言函式
C語言函式C語言函式
C語言函式
 
C Prog. - Strings (Updated)
C Prog. - Strings (Updated)C Prog. - Strings (Updated)
C Prog. - Strings (Updated)
 
contoh Program queue
contoh Program queuecontoh Program queue
contoh Program queue
 
Practical File of C Language
Practical File of C LanguagePractical File of C Language
Practical File of C Language
 
C programming
C programmingC programming
C programming
 
Array
ArrayArray
Array
 
Double linked list
Double linked listDouble linked list
Double linked list
 
Session06 functions
Session06 functionsSession06 functions
Session06 functions
 
Data Structures Practical File
Data Structures Practical File Data Structures Practical File
Data Structures Practical File
 
SaraPIC
SaraPICSaraPIC
SaraPIC
 
programs
programsprograms
programs
 
C Prog. - Structures
C Prog. - StructuresC Prog. - Structures
C Prog. - Structures
 
StackArray stack3
StackArray stack3StackArray stack3
StackArray stack3
 
C workshop day 6
C workshop day 6C workshop day 6
C workshop day 6
 
Examples sandhiya class'
Examples sandhiya class'Examples sandhiya class'
Examples sandhiya class'
 
Stack using Linked List
Stack using Linked ListStack using Linked List
Stack using Linked List
 
C Prog - Array
C Prog - ArrayC Prog - Array
C Prog - Array
 
ภาษาซีพื้นฐาน
ภาษาซีพื้นฐานภาษาซีพื้นฐาน
ภาษาซีพื้นฐาน
 
C Prog - Strings
C Prog - StringsC Prog - Strings
C Prog - Strings
 

En vedette (7)

Tailieu.vncty.com ch9 nhom8-tt_9248
Tailieu.vncty.com   ch9 nhom8-tt_9248Tailieu.vncty.com   ch9 nhom8-tt_9248
Tailieu.vncty.com ch9 nhom8-tt_9248
 
การพัฒนาโปรแกรม วิชญา
การพัฒนาโปรแกรม วิชญาการพัฒนาโปรแกรม วิชญา
การพัฒนาโปรแกรม วิชญา
 
Chude02-nhom7
Chude02-nhom7Chude02-nhom7
Chude02-nhom7
 
การพัฒนาโปรแกรม วิชญา เลขที่ 26.2
การพัฒนาโปรแกรม วิชญา เลขที่ 26.2การพัฒนาโปรแกรม วิชญา เลขที่ 26.2
การพัฒนาโปรแกรม วิชญา เลขที่ 26.2
 
การพัฒนาโปรแกรม วิชญา เลขที่ 26.2
การพัฒนาโปรแกรม วิชญา เลขที่ 26.2การพัฒนาโปรแกรม วิชญา เลขที่ 26.2
การพัฒนาโปรแกรม วิชญา เลขที่ 26.2
 
Tailieu.vncty.com ch9 nhom7-tt_3893
Tailieu.vncty.com   ch9 nhom7-tt_3893Tailieu.vncty.com   ch9 nhom7-tt_3893
Tailieu.vncty.com ch9 nhom7-tt_3893
 
Tailieu.vncty.com 5333 2024
Tailieu.vncty.com   5333 2024Tailieu.vncty.com   5333 2024
Tailieu.vncty.com 5333 2024
 

Similaire à การพัฒนาโปรแกรม วิชญา เลขที่ 26

การพัฒนาโปรแกรม
การพัฒนาโปรแกรมการพัฒนาโปรแกรม
การพัฒนาโปรแกรม
prince_dark
 
การพัฒนาโปรแกรม
การพัฒนาโปรแกรมการพัฒนาโปรแกรม
การพัฒนาโปรแกรม
POWPISUT
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
kramsri
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
kramsri
 
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
Little Tukta Lita
 
C programs
C programsC programs
C programs
Minu S
 
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
Little Tukta Lita
 
Chapter 8 c solution
Chapter 8 c solutionChapter 8 c solution
Chapter 8 c solution
Azhar Javed
 
Coffee script
Coffee scriptCoffee script
Coffee script
timourian
 

Similaire à การพัฒนาโปรแกรม วิชญา เลขที่ 26 (20)

การพัฒนาโปรแกรม
การพัฒนาโปรแกรมการพัฒนาโปรแกรม
การพัฒนาโปรแกรม
 
การพัฒนาโปรแกรม
การพัฒนาโปรแกรมการพัฒนาโปรแกรม
การพัฒนาโปรแกรม
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
 
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
 
C Prog - Array
C Prog - ArrayC Prog - Array
C Prog - Array
 
C lab manaual
C lab manaualC lab manaual
C lab manaual
 
Cpds lab
Cpds labCpds lab
Cpds lab
 
C programs
C programsC programs
C programs
 
L3 control
L3 controlL3 control
L3 control
 
All important c programby makhan kumbhkar
All important c programby makhan kumbhkarAll important c programby makhan kumbhkar
All important c programby makhan kumbhkar
 
programs on arrays.pdf
programs on arrays.pdfprograms on arrays.pdf
programs on arrays.pdf
 
Write a program to check a given number is prime or not
Write a program to check a given number is prime or notWrite a program to check a given number is prime or not
Write a program to check a given number is prime or not
 
C Programming Example
C Programming Example C Programming Example
C Programming Example
 
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6  1
ฟังก์ชั่นย่อยและโปรแกรมมาตรฐาน ม. 6 1
 
Lab. Programs in C
Lab. Programs in CLab. Programs in C
Lab. Programs in C
 
Arrays
ArraysArrays
Arrays
 
Chapter 8 c solution
Chapter 8 c solutionChapter 8 c solution
Chapter 8 c solution
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solution
 
Coffee script
Coffee scriptCoffee script
Coffee script
 

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

  • 1.
  • 2.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. FORTRAN) COBOL) RPG) Pascal)
  • 10. Java) C#) C++)
  • 11. fourth-generation languages: 4GLs) GL SQL) Hypertext Markup Language: HTML ) tags)
  • 12. main( ) int main ( ) { <
  • 13.
  • 14. - 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"
  • 15. - 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 ( ) -
  • 16. while while ( number target - no_of_guesses = no_of_guesses + 1 ; no_of_guesses no_of_guesses operand ) operator )
  • 17. if-else if else if if if else - return 25 return 0; return main ( ) main ( )