/* Hi i am trying to create a program that will output a diamond shape with its size depending on what odd number the user inputs. for some reason my code only outputs the top half of the diamond and will not print the bottom half. if anyone can help me fix this please do. my code is below: */
#include<iostream>
using namespace std;
int main()
{
int num;
cout<<"Enter an odd integer greater than or equal to 3: \n";
cin>>num;
int divider=num/2;