Sunday 21 December 2014

Pattern (name)

#include<iostream.h>
#include<conio.h>
#include<stdio.h>
#include<string.h>
void main()
{
clrscr();
int i=0,j=0;
char str[20];
char *ptr;
strcpy(str,"KABEER");
ptr=str;
for(i=6;i>0;i--)
{
for(j=0;j<i;j++)
cout<<*(ptr+j)<<'\t';
cout<<endl;
}
getch();
}

1 comment:

  1. How to make money from betting on horse racing - Work
    There are a lot of ways to make money from horse หาเงินออนไลน์ racing. However, that is by far 바카라 the simplest of the most 카지노사이트 simple bets that can be made. Learn more.

    ReplyDelete