WELCOME

WELCOME TO MY BLOG

Kamis, 24 November 2011

Program Deret pada Turbo C

#include
#include
main()
{
int a,s,x;
clrscr();
printf("Banyak Deret : ");
scanf("%d", &x);
for(a=1;a<=x;a++)
{
printf("1");
{
for(s=a;s<=x-1;s++)
printf("0","%d",s);printf("\n");
getche();
}}}


output:

Tidak ada komentar:

Posting Komentar