code.cpp 181 B

12345678
  1. std::string howManyTimes(int num) {
  2. std::string aass = "";
  3. // this loop will convert num into as
  4. for (int a = 1;a<=num;a++){
  5. aass = aass +"a";
  6. }
  7. return "Ed" + aass + "bit";
  8. }