C++ Cylinder Code

I am writing a program that calculates the volume of a cylinder when you input the diameter and height, using the formula 1/4height3.14*diameter^2

However the issue is, whenever I do that, the volume always comes out to be 0 when I run the program.

#include<iostream>
using namespace std;
int main()
{
float diameter,height,volume;
cout<<"Enter Diameter of Cylinder : ";
cin>>diameter;
cout<<"Enter Height of Cylinder :";
cin>>height;
volume=1/4*height*3.14*diameter^2;
cout<<"Volume of Cylinder is : " <<volume;
return 0;
}