SlideShare a Scribd company logo
#include "stdio.h"
#include "conio.h"
#include "windows.h"
voidmain()
{
printf (" AJIPANGESTUn");
printf (" 1506130n");
printf (" TEKNIKINFORMATIKA Cn");
printf (" ==========================================================nn");
printf ("bilanganganjilnna");
system("COLORD");
intbil3=0,genap=0;
do
{
bil3=bil3+1;
printf("%d ",bil3);
bil3++;
}
while(bil3<=99);
printf ("nnBilanganGenap:");
printf("nn");
do
{
genap=genap+2;
printf ("%d ",genap);
}
while(genap<=98);
getch();
}
AJI PANGESTU
1506130
TEKNIK INFORMATIKA C
#include "stdio.h"
#include "conio.h"
#include "windows.h"
voidmain()
{
system("COLORD");
printf (" AJIPANGESTUn");
printf (" 1506130n");
printf (" TEKNIKINFORMATIKA Cn");
printf (" ==========================================================nn");
intbil,n,hasil=1;
printf("Mencari Nilai Faktorialn");
printf("-----------------------nn");
printf("INPUTANGKA : a");scanf ("%d",&n);
printf("------------n");
for(bil=n;bil>=1;bil--)
{hasil=hasil*bil;}
printf("Hasil dari %d!adalah:%dna",n,hasil);
printf("n");
printf("a");
system("PAUSE");
printf("a");
getch();
}
Ad

More Related Content

What's hot (20)

C언어 스터디 강의자료 - 2차시
C언어 스터디 강의자료 - 2차시C언어 스터디 강의자료 - 2차시
C언어 스터디 강의자료 - 2차시
Junha Jang
 
Alocação Dinâmica em C
Alocação Dinâmica em CAlocação Dinâmica em C
Alocação Dinâmica em C
Luiz Francisco Bozo
 
C언어 스터디 강의자료 - 3차시
C언어 스터디 강의자료 - 3차시C언어 스터디 강의자료 - 3차시
C언어 스터디 강의자료 - 3차시
Junha Jang
 
C언어 스터디 강의자료 - 4차시
C언어 스터디 강의자료 - 4차시C언어 스터디 강의자료 - 4차시
C언어 스터디 강의자료 - 4차시
Junha Jang
 
Bcsl 033 data and file structures lab s1-2
Bcsl 033 data and file structures lab s1-2Bcsl 033 data and file structures lab s1-2
Bcsl 033 data and file structures lab s1-2
Dr. Loganathan R
 
Structure of c program | CS8251 | Programming in c | Learn Hub
Structure of c program | CS8251 | Programming in c | Learn HubStructure of c program | CS8251 | Programming in c | Learn Hub
Structure of c program | CS8251 | Programming in c | Learn Hub
Learn Hub
 
Bcsl 033 data and file structures lab s4-3
Bcsl 033 data and file structures lab s4-3Bcsl 033 data and file structures lab s4-3
Bcsl 033 data and file structures lab s4-3
Dr. Loganathan R
 
C - Pattern - Code - [Future Programming]
C - Pattern - Code - [Future Programming]C - Pattern - Code - [Future Programming]
C - Pattern - Code - [Future Programming]
Future Programming
 
C language program
C language programC language program
C language program
Sk Sarfaraz
 
Doi xung mang mot chieu
Doi xung mang mot chieuDoi xung mang mot chieu
Doi xung mang mot chieu
Nguyen Van Hung
 
Program to remove Left factoring
Program to remove Left factoringProgram to remove Left factoring
Program to remove Left factoring
Shraddha Patel
 
TUGAS BAHASA C
TUGAS BAHASA CTUGAS BAHASA C
TUGAS BAHASA C
Hastih Leo
 
Rafaeltorres
RafaeltorresRafaeltorres
Rafaeltorres
rfltorres1
 
Para la suma y la multiplicacion de 2
Para la suma y la multiplicacion de 2Para la suma y la multiplicacion de 2
Para la suma y la multiplicacion de 2
fabiorodriguez123
 
Heep implementation in c
Heep implementation in cHeep implementation in c
Heep implementation in c
HapPy SumOn
 
Absolute Loader
Absolute LoaderAbsolute Loader
Absolute Loader
ksanthosh
 
07 3 do-while반복문
07 3 do-while반복문07 3 do-while반복문
07 3 do-while반복문
Changwon National University
 
Scanfill polygon
Scanfill polygonScanfill polygon
Scanfill polygon
Sonia Pahuja
 
C언어 스터디 강의자료 - 2차시
C언어 스터디 강의자료 - 2차시C언어 스터디 강의자료 - 2차시
C언어 스터디 강의자료 - 2차시
Junha Jang
 
C언어 스터디 강의자료 - 3차시
C언어 스터디 강의자료 - 3차시C언어 스터디 강의자료 - 3차시
C언어 스터디 강의자료 - 3차시
Junha Jang
 
C언어 스터디 강의자료 - 4차시
C언어 스터디 강의자료 - 4차시C언어 스터디 강의자료 - 4차시
C언어 스터디 강의자료 - 4차시
Junha Jang
 
Bcsl 033 data and file structures lab s1-2
Bcsl 033 data and file structures lab s1-2Bcsl 033 data and file structures lab s1-2
Bcsl 033 data and file structures lab s1-2
Dr. Loganathan R
 
Structure of c program | CS8251 | Programming in c | Learn Hub
Structure of c program | CS8251 | Programming in c | Learn HubStructure of c program | CS8251 | Programming in c | Learn Hub
Structure of c program | CS8251 | Programming in c | Learn Hub
Learn Hub
 
Bcsl 033 data and file structures lab s4-3
Bcsl 033 data and file structures lab s4-3Bcsl 033 data and file structures lab s4-3
Bcsl 033 data and file structures lab s4-3
Dr. Loganathan R
 
C - Pattern - Code - [Future Programming]
C - Pattern - Code - [Future Programming]C - Pattern - Code - [Future Programming]
C - Pattern - Code - [Future Programming]
Future Programming
 
C language program
C language programC language program
C language program
Sk Sarfaraz
 
Program to remove Left factoring
Program to remove Left factoringProgram to remove Left factoring
Program to remove Left factoring
Shraddha Patel
 
TUGAS BAHASA C
TUGAS BAHASA CTUGAS BAHASA C
TUGAS BAHASA C
Hastih Leo
 
Para la suma y la multiplicacion de 2
Para la suma y la multiplicacion de 2Para la suma y la multiplicacion de 2
Para la suma y la multiplicacion de 2
fabiorodriguez123
 
Heep implementation in c
Heep implementation in cHeep implementation in c
Heep implementation in c
HapPy SumOn
 
Absolute Loader
Absolute LoaderAbsolute Loader
Absolute Loader
ksanthosh
 

Viewers also liked (17)

Normas de etiqueta en internet
Normas de etiqueta en internetNormas de etiqueta en internet
Normas de etiqueta en internet
Csuarez258
 
China fluorine chemical industry indepth research and investment strategic pl...
China fluorine chemical industry indepth research and investment strategic pl...China fluorine chemical industry indepth research and investment strategic pl...
China fluorine chemical industry indepth research and investment strategic pl...
Qianzhan Intelligence
 
WINPOT CASINO
WINPOT CASINOWINPOT CASINO
WINPOT CASINO
WINPOT CASINO
 
China coal chemical equipment industry report, extensive market research and ...
China coal chemical equipment industry report, extensive market research and ...China coal chemical equipment industry report, extensive market research and ...
China coal chemical equipment industry report, extensive market research and ...
Qianzhan Intelligence
 
China animal husbandry indepth research and investment forecast report
China animal husbandry indepth research and investment forecast reportChina animal husbandry indepth research and investment forecast report
China animal husbandry indepth research and investment forecast report
Qianzhan Intelligence
 
Meine Freizeit, Fani Michou
Meine Freizeit, Fani MichouMeine Freizeit, Fani Michou
Meine Freizeit, Fani Michou
Eine kleine Deutschkiste
 
Understanding The Microscope
Understanding The MicroscopeUnderstanding The Microscope
Understanding The Microscope
Sawyer Science
 
Підручник
ПідручникПідручник
Підручник
KPG_KPG
 
강원펜션 일본여행안내
강원펜션 일본여행안내강원펜션 일본여행안내
강원펜션 일본여행안내
gsidjfs
 
Ruth Sims - Co-design to generate innovative ideas
Ruth Sims - Co-design to generate innovative ideasRuth Sims - Co-design to generate innovative ideas
Ruth Sims - Co-design to generate innovative ideas
UCDUK
 
China electric power construction industry market forecast and investment str...
China electric power construction industry market forecast and investment str...China electric power construction industry market forecast and investment str...
China electric power construction industry market forecast and investment str...
Qianzhan Intelligence
 
全球互联网产业研究之美国游戏市场:博彩游戏篇
全球互联网产业研究之美国游戏市场:博彩游戏篇全球互联网产业研究之美国游戏市场:博彩游戏篇
全球互联网产业研究之美国游戏市场:博彩游戏篇
Kou Chou
 
China dredging engineering industry development prospect and investment strat...
China dredging engineering industry development prospect and investment strat...China dredging engineering industry development prospect and investment strat...
China dredging engineering industry development prospect and investment strat...
Qianzhan Intelligence
 
Cot sheets online
Cot sheets onlineCot sheets online
Cot sheets online
Izzz Australia
 
งานนำเสนอ1
งานนำเสนอ1งานนำเสนอ1
งานนำเสนอ1
Kasamesak Posing
 
glue.things – a Mashup Platform for wiring the Internet of Things with the In...
glue.things – a Mashup Platform for wiring the Internet of Things with the In...glue.things – a Mashup Platform for wiring the Internet of Things with the In...
glue.things – a Mashup Platform for wiring the Internet of Things with the In...
Robert Kleinfeld
 
Začněte testovat na dálku. Levnější už to nebude. - Petr Štědrý
Začněte testovat na dálku. Levnější už to nebude. - Petr ŠtědrýZačněte testovat na dálku. Levnější už to nebude. - Petr Štědrý
Začněte testovat na dálku. Levnější už to nebude. - Petr Štědrý
Akce Dobrého webu
 
Normas de etiqueta en internet
Normas de etiqueta en internetNormas de etiqueta en internet
Normas de etiqueta en internet
Csuarez258
 
China fluorine chemical industry indepth research and investment strategic pl...
China fluorine chemical industry indepth research and investment strategic pl...China fluorine chemical industry indepth research and investment strategic pl...
China fluorine chemical industry indepth research and investment strategic pl...
Qianzhan Intelligence
 
China coal chemical equipment industry report, extensive market research and ...
China coal chemical equipment industry report, extensive market research and ...China coal chemical equipment industry report, extensive market research and ...
China coal chemical equipment industry report, extensive market research and ...
Qianzhan Intelligence
 
China animal husbandry indepth research and investment forecast report
China animal husbandry indepth research and investment forecast reportChina animal husbandry indepth research and investment forecast report
China animal husbandry indepth research and investment forecast report
Qianzhan Intelligence
 
Understanding The Microscope
Understanding The MicroscopeUnderstanding The Microscope
Understanding The Microscope
Sawyer Science
 
Підручник
ПідручникПідручник
Підручник
KPG_KPG
 
강원펜션 일본여행안내
강원펜션 일본여행안내강원펜션 일본여행안내
강원펜션 일본여행안내
gsidjfs
 
Ruth Sims - Co-design to generate innovative ideas
Ruth Sims - Co-design to generate innovative ideasRuth Sims - Co-design to generate innovative ideas
Ruth Sims - Co-design to generate innovative ideas
UCDUK
 
China electric power construction industry market forecast and investment str...
China electric power construction industry market forecast and investment str...China electric power construction industry market forecast and investment str...
China electric power construction industry market forecast and investment str...
Qianzhan Intelligence
 
全球互联网产业研究之美国游戏市场:博彩游戏篇
全球互联网产业研究之美国游戏市场:博彩游戏篇全球互联网产业研究之美国游戏市场:博彩游戏篇
全球互联网产业研究之美国游戏市场:博彩游戏篇
Kou Chou
 
China dredging engineering industry development prospect and investment strat...
China dredging engineering industry development prospect and investment strat...China dredging engineering industry development prospect and investment strat...
China dredging engineering industry development prospect and investment strat...
Qianzhan Intelligence
 
งานนำเสนอ1
งานนำเสนอ1งานนำเสนอ1
งานนำเสนอ1
Kasamesak Posing
 
glue.things – a Mashup Platform for wiring the Internet of Things with the In...
glue.things – a Mashup Platform for wiring the Internet of Things with the In...glue.things – a Mashup Platform for wiring the Internet of Things with the In...
glue.things – a Mashup Platform for wiring the Internet of Things with the In...
Robert Kleinfeld
 
Začněte testovat na dálku. Levnější už to nebude. - Petr Štědrý
Začněte testovat na dálku. Levnější už to nebude. - Petr ŠtědrýZačněte testovat na dálku. Levnější už to nebude. - Petr Štědrý
Začněte testovat na dálku. Levnější už to nebude. - Petr Štědrý
Akce Dobrého webu
 
Ad

listing output program C

  • 1. #include "stdio.h" #include "conio.h" #include "windows.h" voidmain() { printf (" AJIPANGESTUn"); printf (" 1506130n"); printf (" TEKNIKINFORMATIKA Cn"); printf (" ==========================================================nn"); printf ("bilanganganjilnna"); system("COLORD"); intbil3=0,genap=0; do { bil3=bil3+1; printf("%d ",bil3); bil3++; } while(bil3<=99); printf ("nnBilanganGenap:"); printf("nn"); do { genap=genap+2; printf ("%d ",genap); } while(genap<=98); getch(); }
  • 2. AJI PANGESTU 1506130 TEKNIK INFORMATIKA C #include "stdio.h" #include "conio.h" #include "windows.h" voidmain() { system("COLORD"); printf (" AJIPANGESTUn"); printf (" 1506130n"); printf (" TEKNIKINFORMATIKA Cn"); printf (" ==========================================================nn"); intbil,n,hasil=1; printf("Mencari Nilai Faktorialn"); printf("-----------------------nn"); printf("INPUTANGKA : a");scanf ("%d",&n); printf("------------n"); for(bil=n;bil>=1;bil--) {hasil=hasil*bil;} printf("Hasil dari %d!adalah:%dna",n,hasil); printf("n"); printf("a"); system("PAUSE"); printf("a"); getch(); }
  翻译: