Dart Print * Pattern

 

import 'dart:io';

void main() {

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

}

 

Output

AAAAA
BBBBB
CCCCC
DDDDD
EEEEE