if... else
mmmmmmm mmmmmm mmmmm mmmm mmm mm m
123456789101112131415161718192021
#include <iostream> #include <string> using namespace std; int main(){ string what = "m"; int start = 7; int y; for (int x = start; x > 0; --x){ y = 0; while (y != x){ cout << what; ++y; } cout << endl; } return 0; }