Ask your own question, for FREE!
Computer Science 83 Online
OpenStudy (anonymous):

please write the full code for printing asterics in pyramid form in mat lab 7.0

OpenStudy (alfie):

I am no expert of matlab, nevertheless, you can do that with a simple for cycle. This is in c++: #include <iostream> using namespace std; int main(){ for(int i = 0; i<10; i++){ std::string foo = std::string(i, '*'); cout << foo << endl; } system("PAUSE"); }

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
russianmafiya: can someone help me write a love song
27 minutes ago 1 Reply 0 Medals
velmalovesshaggy145: Isnu00b4t this the opening melody to mood by 24kgoldn feat iann dior? https://voca.
29 minutes ago 7 Replies 2 Medals
arrivhn: ADD ME ON DISCORD ICYAFFL
48 minutes ago 4 Replies 1 Medal
arrivhn: whats is the accute of a cricle
55 minutes ago 4 Replies 3 Medals
arrivhn: KNOCK KNOCK
56 minutes ago 12 Replies 2 Medals
arrivhn: whats is 77 times 8
1 hour ago 8 Replies 1 Medal
arrivhn: heyy
1 hour ago 0 Replies 0 Medals
luhbabyliyahh: Is my daughter cute her name is zalaria (PFP)
5 minutes ago 31 Replies 1 Medal
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!