Answer to Question #13757 in C++ for asha

Question #13757
how to write this program Write a program to print this triangle: ********** ********* ******** ******* ****** ***** **** *** ** *
Expert's answer

#include "iostream.h"

void main(){
int k=10;
& while (k>=0){
& for (int i=k;i>=0;i--) cout<<"*";
& cout<<"\n";
& k--;
}
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal