From 792079b5b7fdfc8be12173a279c164ca83001121 Mon Sep 17 00:00:00 2001 From: ayushgarg632 <92104272+ayushgarg632@users.noreply.github.com> Date: Thu, 7 Oct 2021 19:46:26 +0530 Subject: [PATCH] Create american flag outputs american flag --- american flag | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 american flag diff --git a/american flag b/american flag new file mode 100644 index 00000000..a29d9c70 --- /dev/null +++ b/american flag @@ -0,0 +1,24 @@ +#include +using namespace std; + +int main() +{ + cout << "\n\n Print the American flag:\n"; + cout << "-----------------------------\n"; + cout <<"* * * * * * =================================="<<"\n"; + cout <<" * * * * * =================================="<<"\n"; + cout <<"* * * * * * =================================="<<"\n"; + cout <<" * * * * * =================================="<<"\n"; + cout <<"* * * * * * =================================="<<"\n"; + cout <<" * * * * * =================================="<<"\n"; + cout <<"* * * * * * =================================="<<"\n"; + cout <<" * * * * * =================================="<<"\n"; + cout <<"* * * * * * =================================="<<"\n"; + cout <<"=============================================="<<"\n"; + cout <<"=============================================="<<"\n"; + cout <<"=============================================="<<"\n"; + cout <<"=============================================="<<"\n"; + cout <<"=============================================="<<"\n"; + cout <<"=============================================="<<"\n"; + +}