SlideShare ist ein Scribd-Unternehmen logo
1 von 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 (number > target)
if-else
            if           else
         if                              if


                 if               else

-      return
25 return 0;
                         return




                  main ( )
                       main ( )
Programming Language Guide
Programming Language Guide
Programming Language Guide

Weitere ähnliche Inhalte

Was ist angesagt? (20)

programs
programsprograms
programs
 
Data Structures Using C Practical File
Data Structures Using C Practical File Data Structures Using C Practical File
Data Structures Using C Practical File
 
C Prog. - Structures
C Prog. - StructuresC Prog. - Structures
C Prog. - Structures
 
SaraPIC
SaraPICSaraPIC
SaraPIC
 
C Prog - Array
C Prog - ArrayC Prog - Array
C Prog - Array
 
Array
ArrayArray
Array
 
C programming
C programmingC programming
C programming
 
Double linked list
Double linked listDouble linked list
Double linked list
 
C Prog - Strings
C Prog - StringsC Prog - Strings
C Prog - Strings
 
Final ds record
Final ds recordFinal ds record
Final ds record
 
C program to implement linked list using array abstract data type
C program to implement linked list using array abstract data typeC program to implement linked list using array abstract data type
C program to implement linked list using array abstract data type
 
Session06 functions
Session06 functionsSession06 functions
Session06 functions
 
Double linked list
Double linked listDouble linked list
Double linked list
 
contoh Program queue
contoh Program queuecontoh Program queue
contoh Program queue
 
Data Structures Practical File
Data Structures Practical File Data Structures Practical File
Data Structures Practical File
 
C語言函式
C語言函式C語言函式
C語言函式
 
ภาษาซีพื้นฐาน
ภาษาซีพื้นฐานภาษาซีพื้นฐาน
ภาษาซีพื้นฐาน
 
Avl tree
Avl treeAvl tree
Avl tree
 
C lab manaual
C lab manaualC lab manaual
C lab manaual
 
Examples sandhiya class'
Examples sandhiya class'Examples sandhiya class'
Examples sandhiya class'
 

Andere mochten auch

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

Andere mochten auch (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
 
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
 
การพัฒนาโปรแกรม วิชญา เลขที่ 26.2
การพัฒนาโปรแกรม วิชญา เลขที่ 26.2การพัฒนาโปรแกรม วิชญา เลขที่ 26.2
การพัฒนาโปรแกรม วิชญา เลขที่ 26.2
 
Tailieu.vncty.com 5333 2024
Tailieu.vncty.com   5333 2024Tailieu.vncty.com   5333 2024
Tailieu.vncty.com 5333 2024
 

Ähnlich wie Programming Language Guide

การพัฒนาโปรแกรม
การพัฒนาโปรแกรมการพัฒนาโปรแกรม
การพัฒนาโปรแกรมPOWPISUT
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซีkramsri
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซีkramsri
 
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1Little Tukta Lita
 
C programs
C programsC programs
C programsMinu S
 
All important c programby makhan kumbhkar
All important c programby makhan kumbhkarAll important c programby makhan kumbhkar
All important c programby makhan kumbhkarsandeep kumbhkar
 
programs on arrays.pdf
programs on arrays.pdfprograms on arrays.pdf
programs on arrays.pdfsowmya koneru
 
Lab. Programs in C
Lab. Programs in CLab. Programs in C
Lab. Programs in CSaket Pathak
 
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 notaluavi
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solutionKuntal Bhowmick
 
Computer programming subject notes. Quick easy notes for C Programming.Cheat ...
Computer programming subject notes. Quick easy notes for C Programming.Cheat ...Computer programming subject notes. Quick easy notes for C Programming.Cheat ...
Computer programming subject notes. Quick easy notes for C Programming.Cheat ...DR B.Surendiran .
 
Practical write a c program to reverse a given number
Practical write a c program to reverse a given numberPractical write a c program to reverse a given number
Practical write a c program to reverse a given numberMainak Sasmal
 
Practical write a c program to reverse a given number
Practical write a c program to reverse a given numberPractical write a c program to reverse a given number
Practical write a c program to reverse a given numberMainak Sasmal
 

Ähnlich wie Programming Language Guide (20)

การพัฒนาโปรแกรม
การพัฒนาโปรแกรมการพัฒนาโปรแกรม
การพัฒนาโปรแกรม
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
 
ภาษาซี
ภาษาซีภาษาซี
ภาษาซี
 
C Prog - Array
C Prog - ArrayC Prog - Array
C Prog - Array
 
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
โปรแกรมย่อยและฟังชั่นมาตรฐาน ม.6 1
 
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
 
Cpds lab
Cpds labCpds lab
Cpds lab
 
Lab. Programs in C
Lab. Programs in CLab. Programs in C
Lab. Programs in C
 
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
 
Cs291 assignment solution
Cs291 assignment solutionCs291 assignment solution
Cs291 assignment solution
 
C if else
C if elseC if else
C if else
 
Computer programming subject notes. Quick easy notes for C Programming.Cheat ...
Computer programming subject notes. Quick easy notes for C Programming.Cheat ...Computer programming subject notes. Quick easy notes for C Programming.Cheat ...
Computer programming subject notes. Quick easy notes for C Programming.Cheat ...
 
Practical write a c program to reverse a given number
Practical write a c program to reverse a given numberPractical write a c program to reverse a given number
Practical write a c program to reverse a given number
 
Practical write a c program to reverse a given number
Practical write a c program to reverse a given numberPractical write a c program to reverse a given number
Practical write a c program to reverse a given number
 
Arrays
ArraysArrays
Arrays
 
Ds
DsDs
Ds
 

Programming Language Guide

  • 1.
  • 2.
  • 3. Pseudo code) Flow chart)
  • 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 ) - if (number > target)
  • 17. if-else if else if if if else - return 25 return 0; return main ( ) main ( )