SlideShare uma empresa Scribd logo
1 de 11
ANSI (American National Standards Institute)
C
1) loop statements)
for, while, do while
break
continue
decision statements)
if, if else,
else if ( nested if)
switch
goto statements)
goto label
loop statements)
for
for
for
for
for
for (expression ; expression ; expression statement
for (expression ; expression ; expression
statement(s);}
expression
expression
expression
statement(s)
{….}
for
for
for
/* for1.c */
#include<stdio.h> /*
include<conio.h> /*
void main(void) /*
int num; /*
clrscr( ); /*
for (num=1; num<=10; num++) /*
printf( "%3dn", num); /* end for */ /*
printf("nnPress any key back to program..."); /*
getch(); /*
for num num num++
num
num
for
printf num
printf
enter
do while
do while
while
do while
do while
do while
do{
statement(s);
} while (expression);
do while
แก้ไขงานคอม1
แก้ไขงานคอม1

Mais conteúdo relacionado

Mais procurados (20)

Looping Statement And Flow Chart
 Looping Statement And Flow Chart Looping Statement And Flow Chart
Looping Statement And Flow Chart
 
Stack Data Structure
Stack Data StructureStack Data Structure
Stack Data Structure
 
3 flow
3 flow3 flow
3 flow
 
Ejercicios Scilab Completo
Ejercicios Scilab CompletoEjercicios Scilab Completo
Ejercicios Scilab Completo
 
Trabajo Scilab
Trabajo ScilabTrabajo Scilab
Trabajo Scilab
 
Taller De Scilab
Taller De ScilabTaller De Scilab
Taller De Scilab
 
Vcs8
Vcs8Vcs8
Vcs8
 
为什么 rust-lang 吸引我?
为什么 rust-lang 吸引我?为什么 rust-lang 吸引我?
为什么 rust-lang 吸引我?
 
Python programming : Control statements
Python programming : Control statementsPython programming : Control statements
Python programming : Control statements
 
Learning C programming - from lynxbee.com
Learning C programming - from lynxbee.comLearning C programming - from lynxbee.com
Learning C programming - from lynxbee.com
 
Loops
LoopsLoops
Loops
 
Control structuresin c
Control structuresin cControl structuresin c
Control structuresin c
 
Netbeans keyboard shortcut
Netbeans keyboard shortcutNetbeans keyboard shortcut
Netbeans keyboard shortcut
 
Loops in c
Loops in cLoops in c
Loops in c
 
12 doloops
12 doloops12 doloops
12 doloops
 
Type Systems on the example of TypeScript
Type Systems on the example of TypeScriptType Systems on the example of TypeScript
Type Systems on the example of TypeScript
 
Intro to c programming
Intro to c programmingIntro to c programming
Intro to c programming
 
Primer Punto
Primer PuntoPrimer Punto
Primer Punto
 
ฝึกสร้างเกมยานอวกาศ
ฝึกสร้างเกมยานอวกาศฝึกสร้างเกมยานอวกาศ
ฝึกสร้างเกมยานอวกาศ
 
verilog interview
verilog interview verilog interview
verilog interview
 

Semelhante a แก้ไขงานคอม1

Semelhante a แก้ไขงานคอม1 (20)

C lecture 4 nested loops and jumping statements slideshare
C lecture 4 nested loops and jumping statements slideshareC lecture 4 nested loops and jumping statements slideshare
C lecture 4 nested loops and jumping statements slideshare
 
7 functions
7  functions7  functions
7 functions
 
Lab loop
Lab loopLab loop
Lab loop
 
3. control statement
3. control statement3. control statement
3. control statement
 
Session 3
Session 3Session 3
Session 3
 
C Programming: Control Structure
C Programming: Control StructureC Programming: Control Structure
C Programming: Control Structure
 
Lec 10
Lec 10Lec 10
Lec 10
 
Control structure of c
Control structure of cControl structure of c
Control structure of c
 
C Basics
C BasicsC Basics
C Basics
 
Programming ppt files (final)
Programming ppt files (final)Programming ppt files (final)
Programming ppt files (final)
 
computer programming Control Statements.pptx
computer programming Control Statements.pptxcomputer programming Control Statements.pptx
computer programming Control Statements.pptx
 
C programming Control Structure.pptx
C programming Control Structure.pptxC programming Control Structure.pptx
C programming Control Structure.pptx
 
SPL 8 | Loop Statements in C
SPL 8 | Loop Statements in CSPL 8 | Loop Statements in C
SPL 8 | Loop Statements in C
 
if,loop,switch
if,loop,switchif,loop,switch
if,loop,switch
 
C
CC
C
 
Elements of programming
Elements of programmingElements of programming
Elements of programming
 
การเขียนคำสั่งควบคุมแบบวนซ้ำ ppt
การเขียนคำสั่งควบคุมแบบวนซ้ำ pptการเขียนคำสั่งควบคุมแบบวนซ้ำ ppt
การเขียนคำสั่งควบคุมแบบวนซ้ำ ppt
 
Loops
LoopsLoops
Loops
 
Unit2 C
Unit2 C Unit2 C
Unit2 C
 
Unit2 C
Unit2 CUnit2 C
Unit2 C
 

Mais de Ykk'Famemy Jackson

แก้ไขงานคอม 1
แก้ไขงานคอม 1แก้ไขงานคอม 1
แก้ไขงานคอม 1Ykk'Famemy Jackson
 
สรุปคำชมเชย คำแนะนำ ข้อสอบข้อที่ง่ายที่สุดและยากที่สุด กลุ่ม 4 61
สรุปคำชมเชย คำแนะนำ ข้อสอบข้อที่ง่ายที่สุดและยากที่สุด กลุ่ม 4 61สรุปคำชมเชย คำแนะนำ ข้อสอบข้อที่ง่ายที่สุดและยากที่สุด กลุ่ม 4 61
สรุปคำชมเชย คำแนะนำ ข้อสอบข้อที่ง่ายที่สุดและยากที่สุด กลุ่ม 4 61Ykk'Famemy Jackson
 
โครงการแบรนด์ ซัมเมอร์ แคมป์ ปีที่ 25
โครงการแบรนด์ ซัมเมอร์ แคมป์ ปีที่ 25โครงการแบรนด์ ซัมเมอร์ แคมป์ ปีที่ 25
โครงการแบรนด์ ซัมเมอร์ แคมป์ ปีที่ 25Ykk'Famemy Jackson
 
กูเกิล สั่งห้ามสร้างแอพฯ
กูเกิล สั่งห้ามสร้างแอพฯกูเกิล สั่งห้ามสร้างแอพฯ
กูเกิล สั่งห้ามสร้างแอพฯYkk'Famemy Jackson
 
แอปเปิลเปิดตัว I phone5
แอปเปิลเปิดตัว I phone5แอปเปิลเปิดตัว I phone5
แอปเปิลเปิดตัว I phone5Ykk'Famemy Jackson
 
แอปเปิลเปิดตัว I phone5
แอปเปิลเปิดตัว I phone5แอปเปิลเปิดตัว I phone5
แอปเปิลเปิดตัว I phone5Ykk'Famemy Jackson
 
แอปเปิลเปิดตัว iPhone5
แอปเปิลเปิดตัว iPhone5แอปเปิลเปิดตัว iPhone5
แอปเปิลเปิดตัว iPhone5Ykk'Famemy Jackson
 

Mais de Ykk'Famemy Jackson (8)

It news
It newsIt news
It news
 
แก้ไขงานคอม 1
แก้ไขงานคอม 1แก้ไขงานคอม 1
แก้ไขงานคอม 1
 
สรุปคำชมเชย คำแนะนำ ข้อสอบข้อที่ง่ายที่สุดและยากที่สุด กลุ่ม 4 61
สรุปคำชมเชย คำแนะนำ ข้อสอบข้อที่ง่ายที่สุดและยากที่สุด กลุ่ม 4 61สรุปคำชมเชย คำแนะนำ ข้อสอบข้อที่ง่ายที่สุดและยากที่สุด กลุ่ม 4 61
สรุปคำชมเชย คำแนะนำ ข้อสอบข้อที่ง่ายที่สุดและยากที่สุด กลุ่ม 4 61
 
โครงการแบรนด์ ซัมเมอร์ แคมป์ ปีที่ 25
โครงการแบรนด์ ซัมเมอร์ แคมป์ ปีที่ 25โครงการแบรนด์ ซัมเมอร์ แคมป์ ปีที่ 25
โครงการแบรนด์ ซัมเมอร์ แคมป์ ปีที่ 25
 
กูเกิล สั่งห้ามสร้างแอพฯ
กูเกิล สั่งห้ามสร้างแอพฯกูเกิล สั่งห้ามสร้างแอพฯ
กูเกิล สั่งห้ามสร้างแอพฯ
 
แอปเปิลเปิดตัว I phone5
แอปเปิลเปิดตัว I phone5แอปเปิลเปิดตัว I phone5
แอปเปิลเปิดตัว I phone5
 
แอปเปิลเปิดตัว I phone5
แอปเปิลเปิดตัว I phone5แอปเปิลเปิดตัว I phone5
แอปเปิลเปิดตัว I phone5
 
แอปเปิลเปิดตัว iPhone5
แอปเปิลเปิดตัว iPhone5แอปเปิลเปิดตัว iPhone5
แอปเปิลเปิดตัว iPhone5
 

Último

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 

Último (20)

Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 

แก้ไขงานคอม1