50. Heart Shape using *'s as shown below.
Thursday, February 4, 2016
Posted by Unknown
Tag :
Star Patterns

Ans:
#include <stdio.h>int main(){ int i, j, n; printf("Enter value of n : "); scanf("%d", &n); for(i=n/2;...

Ans:
#include<stdio.h>int main(){ int i,j,k,l,m,n,o,p,q,r,s,t; printf("\n\n\n\n\n"); for(i=0;i<15;i++) printf(" "); printf("* *\n"); for(j=0;j<13;j++)...
48.Star Shape using *'s as shown below.
Wednesday, February 3, 2016
Posted by Unknown
Tag :
Star Patterns

SmeleBD
Ans:
#include<stdio.h>int main(){ int i,j; for(i=1;i<=5;i++) { for(j=16;j>=i;j--) ...

Ans:
#include<iostream>using namespace std;int main(){cout<<"Enter size of Daimond: "; int size; cin>>size; ...

Ans:
#include<stdio.h>int main(){ int n=5,r,c; for(r=1; r<=6; r++,n--) { /*first pyramid*/ for(c=1; c<=n; c++) ...