Toggle navigation
About
Contact US
Books Archive
Dropdown
Action
Another action
Something else here
Separated link
One more separated link
Submit
ABC-Program
Star program with C language (4)
aman
11:58
shape
No comments
#include<stdio.h>
int main()
{
int n;
printf("Enter your number : ");
scanf("%d",&n);
printf("\n");
for(int i=0;i<n;i++)
{
for(int j=0;j<i;j++)
{
printf(" ");
}
for(int k=n;k>i;k--)
{
printf("*");
}
printf("\n");
}
}
Newer Post
Older Post
No comments :
Post a Comment
Subscribe to:
Post Comments ( Atom )
Labels
C
COA
Fun
Games
Linklist
Object Oriented
shape
Sorting
Tips
Blog Archive
▼
2013
(55)
►
July
(5)
►
June
(4)
►
April
(17)
▼
March
(29)
Stack
Queue
Initialize an array
Different shape
Bubble Sort
Constructor and Destructor
Creating object
Profile Of a student
Virtual
Basic C++
Calculator using C++
Tennis using C++
Queue using C++
Stack using C++
Smile .........
reverse of a string (2)
Reverse of a srting using C language
Pyramid Shape with C language
Pow program using C language
Maximum-Minimum using pointer
Matrix using C language
Matching Two String using Pointer
count (Wrd & Chr) with function+pointer
1+1+3+1+3+5 shape program with c language
1.12.123.1234 shape with C language including func...
Star program with C language (4)
Star program with C language (3)
Star program with C language (2)
Star program with C language
Popular Posts
String reverse using Assembly Language
.model small .stack 150h .data s1 db 0dh, 0ah, "Enter a string: $" s2 db 0dh, 0ah,"$" .code main proc
Tennis using C++
#include<iostream> using namespace std; class tennis {
Star program with C language
#include<stdio.h> int main() { int n; printf("Enter your number : "); scanf("%d",&n); printf(...
Quick sort Using C++
#include<iostream> using namespace std; void quickSort(int array[], int start, int end) { int i = start; // index of left-to-rig...
Odd Numbers upto 30
.model small .stack 100h .data .code main proc mov bl,1 add bl,30h l1:
Count vowels from a string
.model small .stack 150h .data s1 db 0dh, 0ah, "Enter a string: $" k db '0' .code main proc
All Run Command
A ADDUSERS Add or list users to/from a CSV file ARP Address Resolution Protocol ASSOC ...
Convert Decimal to Binary
.model small .stack 150h .data s1 db 0dh,0ah,"convert:$" .code main proc mov ax,@data mov ds,ax mov ah,1...
Sound Program in C language
#include<stdio.h> #include<conio.h> void main() { char ch[]="I am the best."; char c='A'; int i=0; wh...
No comments :
Post a Comment