SlideShare uma empresa Scribd logo
1 de 31
Baixar para ler offline
1.


2.


3.
4.


5.
5
2
 #include<stdio.h>
 #include<conio.h>
 void main(void)
{
             int k,i;
             clrscr();
             printf("n number ");
             scanf("%d",&k);
             for (i=1; i<=12; i++)
             printf("%d x %d = %dn",k,i,i*k);
             printf("nnPress any key back to
  program...");
             getch();
}
งานนำเสนอ อาจารย์ลาวัลย์



              7        printf( )
             Enter number

              8        scanf( )
                                k
              9       for (i = 1; i <= 12; i++)
                          i       1                     i
    <= 12                                          10
                      for                   11
              10            printf( )             k,
    i       i*k
        i

              11            printf( )
3
 #include<stdio.h>
 #include<conio.h>
 void main(void)
{
             int k,i;
             clrscr();
             printf("n number ");
             scanf("%d",&k);
             for (i=1; i<=12; i++)
             printf("%d x %d = %dn",k,i,i*k);
             printf("nnPress any key back to
  program...");
             getch();
}
งานนำเสนอ อาจารย์ลาวัลย์



             7        printf( )
            Enter number

            8          scanf( )
                 k
            9        for (i = 1; i <= 12; i++)
                         i      1                           i
    <= 12                                              10
                     for                   11
            10             printf( )                 k, i       i
    *k                                           i


            11             printf( )
2
 3
   #include<stdio.h>
   #include<conio.h>
   void main(void)
   {
                int k,i;
                clrscr();
                printf("n number ");
                scanf("%d",&k);
                for (i=1; i<=12; i++)
                                  printf("%d x %d = %dn",k,i,i*k);
                printf("n number ");
                scanf("%d",&k);
                for (i=1; i<=12; i++)
                                  printf("%d x %d = %dn",k,i,i*k);
                printf("nnPress any key back to program...");
                getch();
   }
งานนำเสนอ อาจารย์ลาวัลย์




               7       printf( )
            Enter number

            8          scanf( )
                 k
            9        for (i = 1; i <= 12; i++)
                         i      1                           i
    <= 12                                              10
                     for                   11
            10             printf( )                 k, i       i
    *k                                           i


            11             printf( )
for
for
 #include <stdio.h>
 void main() {

 int i, j;

 for (i = 0; i < 2; i++) {

       for (j = 0; j < 5; j++) {
               printf("Loven");
       }
 }

}
งานนำเสนอ อาจารย์ลาวัลย์


                     Love.

    Love.
     “n”   printf
for
while
 #include <stdio.h>
 void main() {

 int i, j;

 for (i = 0; i < 2; i++) {

                       j = 0;
       while (j < 4) {
              printf("LOVE.");
                                 j++;
           }
       }
   }
งานนำเสนอ อาจารย์ลาวัลย์


           Love.

    “n”    printf
while
for
 #include <stdio.h>
 void main() {

 int i, j;

        i = 0;
 while (i < 6) {

       for (j = 0; j < 3; j++)
               printf("LOVE.");
                        i++;
 }

}
งานนำเสนอ อาจารย์ลาวัลย์


    Love.

        “n”   printf
while
while
 #include <stdio.h>
 void main() {

 int i=0, j=0;

 while (i < 2) {

       while (j < 8) {
             printf("LOVE.");
             j++;
       }
       i++;
 }

}
งานนำเสนอ อาจารย์ลาวัลย์


           Hello.

    “n”     printf
งานนำเสนอ อาจารย์ลาวัลย์

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Pratik Bakane C++
Pratik Bakane C++Pratik Bakane C++
Pratik Bakane C++
 
Pratik Bakane C++
Pratik Bakane C++Pratik Bakane C++
Pratik Bakane C++
 
Single linked list
Single linked listSingle linked list
Single linked list
 
week-11x
week-11xweek-11x
week-11x
 
C++ Programming - 2nd Study
C++ Programming - 2nd StudyC++ Programming - 2nd Study
C++ Programming - 2nd Study
 
week-1x
week-1xweek-1x
week-1x
 
Bcsl 033 data and file structures lab s1-4
Bcsl 033 data and file structures lab s1-4Bcsl 033 data and file structures lab s1-4
Bcsl 033 data and file structures lab s1-4
 
Understanding storage class using nm
Understanding storage class using nmUnderstanding storage class using nm
Understanding storage class using nm
 
Basic Programs of C++
Basic Programs of C++Basic Programs of C++
Basic Programs of C++
 
Applications of list
Applications of listApplications of list
Applications of list
 
Pratik Bakane C++
Pratik Bakane C++Pratik Bakane C++
Pratik Bakane C++
 
Lab loop
Lab loopLab loop
Lab loop
 
Function basics
Function basicsFunction basics
Function basics
 
Pratik Bakane C++
Pratik Bakane C++Pratik Bakane C++
Pratik Bakane C++
 
Assignement of programming & problem solving ass.(3)
Assignement of programming & problem solving ass.(3)Assignement of programming & problem solving ass.(3)
Assignement of programming & problem solving ass.(3)
 
week-4x
week-4xweek-4x
week-4x
 
C++ Programming - 4th Study
C++ Programming - 4th StudyC++ Programming - 4th Study
C++ Programming - 4th Study
 
Stl algorithm-Basic types
Stl algorithm-Basic typesStl algorithm-Basic types
Stl algorithm-Basic types
 
C++ Question on References and Function Overloading
C++ Question on References and Function OverloadingC++ Question on References and Function Overloading
C++ Question on References and Function Overloading
 
Circular queue
Circular queueCircular queue
Circular queue
 

Destaque

Uso da internet para o ensino da contabilidade
Uso da internet para o ensino da contabilidadeUso da internet para o ensino da contabilidade
Uso da internet para o ensino da contabilidaderaphaelvin
 
การศึกษารายกรณีโดยการบูรณาการเทคโนโลยีในชั้นเรียนภาษาอังกฤษในฐานะภาษาต่างประเทศ
การศึกษารายกรณีโดยการบูรณาการเทคโนโลยีในชั้นเรียนภาษาอังกฤษในฐานะภาษาต่างประเทศการศึกษารายกรณีโดยการบูรณาการเทคโนโลยีในชั้นเรียนภาษาอังกฤษในฐานะภาษาต่างประเทศ
การศึกษารายกรณีโดยการบูรณาการเทคโนโลยีในชั้นเรียนภาษาอังกฤษในฐานะภาษาต่างประเทศmoopui
 
Como encontrar un controlador en internet jajajaja
Como encontrar un controlador en internet jajajajaComo encontrar un controlador en internet jajajaja
Como encontrar un controlador en internet jajajajanavi96
 
Info seg deb cambio climático 1
Info seg deb cambio climático 1Info seg deb cambio climático 1
Info seg deb cambio climático 1OjoAsambleaEc
 
Apresentação abertura emeem leandro diniz
Apresentação abertura emeem   leandro dinizApresentação abertura emeem   leandro diniz
Apresentação abertura emeem leandro dinizEMFoco
 
Sup fi sica_ii_secuencia_3
Sup fi sica_ii_secuencia_3Sup fi sica_ii_secuencia_3
Sup fi sica_ii_secuencia_3Martha Paez
 
Bayer Jovens 2011
Bayer Jovens 2011Bayer Jovens 2011
Bayer Jovens 2011BayerJovens
 
Do esplendor medieval a decadencia dos seulos escuros
Do esplendor medieval a decadencia dos seulos escurosDo esplendor medieval a decadencia dos seulos escuros
Do esplendor medieval a decadencia dos seulos escuroscarmeveiga3b
 

Destaque (20)

Uso da internet para o ensino da contabilidade
Uso da internet para o ensino da contabilidadeUso da internet para o ensino da contabilidade
Uso da internet para o ensino da contabilidade
 
การศึกษารายกรณีโดยการบูรณาการเทคโนโลยีในชั้นเรียนภาษาอังกฤษในฐานะภาษาต่างประเทศ
การศึกษารายกรณีโดยการบูรณาการเทคโนโลยีในชั้นเรียนภาษาอังกฤษในฐานะภาษาต่างประเทศการศึกษารายกรณีโดยการบูรณาการเทคโนโลยีในชั้นเรียนภาษาอังกฤษในฐานะภาษาต่างประเทศ
การศึกษารายกรณีโดยการบูรณาการเทคโนโลยีในชั้นเรียนภาษาอังกฤษในฐานะภาษาต่างประเทศ
 
TIC
TICTIC
TIC
 
Como encontrar un controlador en internet jajajaja
Como encontrar un controlador en internet jajajajaComo encontrar un controlador en internet jajajaja
Como encontrar un controlador en internet jajajaja
 
Almasgemeas
AlmasgemeasAlmasgemeas
Almasgemeas
 
Info seg deb cambio climático 1
Info seg deb cambio climático 1Info seg deb cambio climático 1
Info seg deb cambio climático 1
 
H1 n1
H1 n1H1 n1
H1 n1
 
España según los gringos2
España según los gringos2España según los gringos2
España según los gringos2
 
Quadres
QuadresQuadres
Quadres
 
Diapositivas
Diapositivas Diapositivas
Diapositivas
 
Cultura estética
Cultura estéticaCultura estética
Cultura estética
 
Ud definitiva
Ud definitivaUd definitiva
Ud definitiva
 
Apresentação abertura emeem leandro diniz
Apresentação abertura emeem   leandro dinizApresentação abertura emeem   leandro diniz
Apresentação abertura emeem leandro diniz
 
090602 paraserbuenlector
090602 paraserbuenlector090602 paraserbuenlector
090602 paraserbuenlector
 
Sup fi sica_ii_secuencia_3
Sup fi sica_ii_secuencia_3Sup fi sica_ii_secuencia_3
Sup fi sica_ii_secuencia_3
 
Manual wordbasico2010
Manual wordbasico2010Manual wordbasico2010
Manual wordbasico2010
 
Presentación1
Presentación1Presentación1
Presentación1
 
Bayer Jovens 2011
Bayer Jovens 2011Bayer Jovens 2011
Bayer Jovens 2011
 
España según los gringos
España según los gringosEspaña según los gringos
España según los gringos
 
Do esplendor medieval a decadencia dos seulos escuros
Do esplendor medieval a decadencia dos seulos escurosDo esplendor medieval a decadencia dos seulos escuros
Do esplendor medieval a decadencia dos seulos escuros
 

Semelhante a งานนำเสนอ อาจารย์ลาวัลย์

C basics
C basicsC basics
C basicsMSc CST
 
C Prog - Pointers
C Prog - PointersC Prog - Pointers
C Prog - Pointersvinay arora
 
Common problems solving using c
Common problems solving using cCommon problems solving using c
Common problems solving using cArghodeepPaul
 
Program flowchart
Program flowchartProgram flowchart
Program flowchartSowri Rajan
 
Solutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structuresSolutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structuresLakshmi Sarvani Videla
 
Daapracticals 111105084852-phpapp02
Daapracticals 111105084852-phpapp02Daapracticals 111105084852-phpapp02
Daapracticals 111105084852-phpapp02Er Ritu Aggarwal
 
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
 
'C' language notes (a.p)
'C' language notes (a.p)'C' language notes (a.p)
'C' language notes (a.p)Ashishchinu
 
Basic c programs updated on 31.8.2020
Basic c programs updated on 31.8.2020Basic c programs updated on 31.8.2020
Basic c programs updated on 31.8.2020vrgokila
 
Data Structure using C
Data Structure using CData Structure using C
Data Structure using CBilal Mirza
 
One dimensional operation of Array in C- language
One dimensional operation of Array in C- language One dimensional operation of Array in C- language
One dimensional operation of Array in C- language 9096308941
 

Semelhante a งานนำเสนอ อาจารย์ลาวัลย์ (20)

C basics
C basicsC basics
C basics
 
Cpds lab
Cpds labCpds lab
Cpds lab
 
C Prog - Pointers
C Prog - PointersC Prog - Pointers
C Prog - Pointers
 
C program
C programC program
C program
 
Common problems solving using c
Common problems solving using cCommon problems solving using c
Common problems solving using c
 
DataStructures notes
DataStructures notesDataStructures notes
DataStructures notes
 
C lab manaual
C lab manaualC lab manaual
C lab manaual
 
Program flowchart
Program flowchartProgram flowchart
Program flowchart
 
C programms
C programmsC programms
C programms
 
Solutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structuresSolutionsfor co2 C Programs for data structures
Solutionsfor co2 C Programs for data structures
 
Daapracticals 111105084852-phpapp02
Daapracticals 111105084852-phpapp02Daapracticals 111105084852-phpapp02
Daapracticals 111105084852-phpapp02
 
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
 
'C' language notes (a.p)
'C' language notes (a.p)'C' language notes (a.p)
'C' language notes (a.p)
 
Basic c programs updated on 31.8.2020
Basic c programs updated on 31.8.2020Basic c programs updated on 31.8.2020
Basic c programs updated on 31.8.2020
 
Pnno
PnnoPnno
Pnno
 
C Programs.pptx
C Programs.pptxC Programs.pptx
C Programs.pptx
 
Data Structure using C
Data Structure using CData Structure using C
Data Structure using C
 
C Programming
C ProgrammingC Programming
C Programming
 
One dimensional operation of Array in C- language
One dimensional operation of Array in C- language One dimensional operation of Array in C- language
One dimensional operation of Array in C- language
 

Último

Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024D Cloud Solutions
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum ComputingGDSC PJATK
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfinfogdgmi
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopBachir Benyammi
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URLRuncy Oommen
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.francesco barbera
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesMd Hossain Ali
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.YounusS2
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7DianaGray10
 
RAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIRAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIUdaiappa Ramachandran
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostMatt Ray
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfAnna Loughnan Colquhoun
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataSafe Software
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1DianaGray10
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...Aggregage
 

Último (20)

Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024Artificial Intelligence & SEO Trends for 2024
Artificial Intelligence & SEO Trends for 2024
 
Introduction to Quantum Computing
Introduction to Quantum ComputingIntroduction to Quantum Computing
Introduction to Quantum Computing
 
Videogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdfVideogame localization & technology_ how to enhance the power of translation.pdf
Videogame localization & technology_ how to enhance the power of translation.pdf
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 Workshop
 
Designing A Time bound resource download URL
Designing A Time bound resource download URLDesigning A Time bound resource download URL
Designing A Time bound resource download URL
 
Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.Digital magic. A small project for controlling smart light bulbs.
Digital magic. A small project for controlling smart light bulbs.
 
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just MinutesAI Fame Rush Review – Virtual Influencer Creation In Just Minutes
AI Fame Rush Review – Virtual Influencer Creation In Just Minutes
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.Basic Building Blocks of Internet of Things.
Basic Building Blocks of Internet of Things.
 
UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7UiPath Studio Web workshop series - Day 7
UiPath Studio Web workshop series - Day 7
 
RAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AIRAG Patterns and Vector Search in Generative AI
RAG Patterns and Vector Search in Generative AI
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCostKubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
KubeConEU24-Monitoring Kubernetes and Cloud Spend with OpenCost
 
Spring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdfSpring24-Release Overview - Wellingtion User Group-1.pdf
Spring24-Release Overview - Wellingtion User Group-1.pdf
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial DataCloud Revolution: Exploring the New Wave of Serverless Spatial Data
Cloud Revolution: Exploring the New Wave of Serverless Spatial Data
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
The Data Metaverse: Unpacking the Roles, Use Cases, and Tech Trends in Data a...
 

งานนำเสนอ อาจารย์ลาวัลย์

  • 2. 5
  • 3. 2
  • 4.  #include<stdio.h>  #include<conio.h>  void main(void) {  int k,i;  clrscr();  printf("n number ");  scanf("%d",&k);  for (i=1; i<=12; i++)  printf("%d x %d = %dn",k,i,i*k);  printf("nnPress any key back to program...");  getch(); }
  • 6. 7 printf( ) Enter number 8 scanf( ) k 9 for (i = 1; i <= 12; i++) i 1 i <= 12 10 for 11 10 printf( ) k, i i*k i 11 printf( )
  • 7. 3
  • 8.  #include<stdio.h>  #include<conio.h>  void main(void) {  int k,i;  clrscr();  printf("n number ");  scanf("%d",&k);  for (i=1; i<=12; i++)  printf("%d x %d = %dn",k,i,i*k);  printf("nnPress any key back to program...");  getch(); }
  • 10. 7 printf( ) Enter number 8 scanf( ) k 9 for (i = 1; i <= 12; i++) i 1 i <= 12 10 for 11 10 printf( ) k, i i *k i 11 printf( )
  • 11. 2 3
  • 12. #include<stdio.h>  #include<conio.h>  void main(void)  {  int k,i;  clrscr();  printf("n number ");  scanf("%d",&k);  for (i=1; i<=12; i++)  printf("%d x %d = %dn",k,i,i*k);  printf("n number ");  scanf("%d",&k);  for (i=1; i<=12; i++)  printf("%d x %d = %dn",k,i,i*k);  printf("nnPress any key back to program...");  getch();  }
  • 14. 7 printf( ) Enter number 8 scanf( ) k 9 for (i = 1; i <= 12; i++) i 1 i <= 12 10 for 11 10 printf( ) k, i i *k i 11 printf( )
  • 16.  #include <stdio.h>  void main() {  int i, j;  for (i = 0; i < 2; i++) {  for (j = 0; j < 5; j++) {  printf("Loven");  }  } }
  • 18. Love. Love. “n” printf
  • 20.  #include <stdio.h>  void main() {  int i, j;  for (i = 0; i < 2; i++) {  j = 0;  while (j < 4) {  printf("LOVE.");  j++;  }  }  }
  • 22. Love. “n” printf
  • 24.  #include <stdio.h>  void main() {  int i, j;  i = 0;  while (i < 6) {  for (j = 0; j < 3; j++)  printf("LOVE.");  i++;  } }
  • 26. Love. “n” printf
  • 28.  #include <stdio.h>  void main() {  int i=0, j=0;  while (i < 2) {  while (j < 8) {  printf("LOVE.");  j++;  }  i++;  } }
  • 30. Hello. “n” printf