Write a program for Happy Woman’s Day in c++

The woman day which is celebrated on 7th October worldwide is carved into a c++ programming code as following;

Example

#include 
using namespace std;
int main(){
   // Initializing size of
   // design
   int n = 5;
   // Loop to print Circle
   // (Upper part of design)
   // Outer loop to
   // control height of
   // design
   for (int i = 0; i  n - 0.5 && center_dist = (n - n / 2) && j 

Output

The program yields the following output after the compilation of the above code as follows;

Updated on: 2019-11-29T10:35:27+05:30

513 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements