Author Description
Hellow Friends I always want to share my knowledge which i have.I am currently from India and I just completed my MCA and working as an Asp.Net Developer.
Author Social Links
Home
About
Gallary
Contact
Home
Asp.Net
C#
C++
Full width home advertisement
Post Page Advertisement [Top]
Pattern 2 in C
test
#include<conio.h>
#include<stdio.h>
int i,j,k,n,no,value=1;
int main()
{
clrscr();
scanf("%d",&no);
n=no;
for(i=1;i<no;i++)
{
for(j=1;j<=n;j++)
{
printf(" ");
}
n--;
for(k=1;k<=i;k++)
{
printf("%d ",k);
}
printf("\n");
}
getch();
return 0;
}
test
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Bottom Ad [Post Page]
Search This Blog
Archive
Archive
March 2018 (2)
February 2018 (8)
January 2018 (10)
December 2017 (10)
November 2017 (10)
October 2017 (1)
March 2016 (1)
February 2016 (1)
November 2014 (3)
September 2014 (9)
August 2014 (3)
Powered by
Blogger
.
Recent
Popular
Connection String in c#.net
Connection string in App.config file. in App.Config file write down below coding. <?xml version="1.0" encoding="utf-8...
OOPs Concepts c++
Oops, Concepts in an easy way. OOPS.... Opes is not a programming language it is just a way to manage your code and application it ...
How To Create .Zip and .bat in C#
1. Create a folder in c drive or any drive to any name like i have create a folder the name of path in c drive. create a text file...
Comments
Copyright 2017,
Asp.Net With C#
. All rights Reserved.
| Designed by
Colorlib
No comments:
Post a Comment