for (int i=0;i<n;i++){
          for (int j=0;j<=i;j++)
                         cout<<"*";
                   cout<<'\n';
                }



mariam azam <[EMAIL PROTECTED]> wrote:                               hi
   solution is:
    
    
   for (int i=0;i<n;i++)
   {
      for (int j=0;j<=i;j++)
        {
         cout<<"*";
        }
   cout<<'\n';
   }
   
 
 muhammad shoaib <[EMAIL PROTECTED]> wrote:
           Hej! to all
 
 i am new learner of c++. i want to devlop a program using for loop that shows 
output like this
 
 x
 xx
 xxx
 xxxx
 xxxxx
 xxxxxx
 xxxxxxx
 xxxxxxxx
 xxxxxxxxx
 xxxxxxxxxx
 
 regards
 
 MUMAHHAD SHOAIB
 MS Computer Networks (Managment and Design)
 Royal Institute of Technology
 Stockholm, Sweden
 
 ---------------------------------
 Looking for last minute shopping deals? Find them fast with Yahoo! Search.
 
 [Non-text portions of this message have been removed]
 
 ---------------------------------
 Looking for last minute shopping deals?  Find them fast with Yahoo! Search.
 
 [Non-text portions of this message have been removed]
 
 
     
                               

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

[Non-text portions of this message have been removed]

Reply via email to