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();
}

More Related Content

What's hot (20)

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

Viewers also liked (17)

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