Dart Print * Pattern

 

import 'dart:io';

void main() {

 for(var i=65;i<=69;i++)
   {
     for(var j=65;j<=i;j++)
       {
         stdout.write(new String.fromCharCode(j));
       }
     print("");
   }
}

 

Output

A
AB
ABC
ABCD
ABCDE