Division in c++



Write a program that accept the two integers from the user and display their division?

#include<iostream.h>
int main()
               {
float num1,num2,divide;
cout<<"\n"<<" Enter first number = ";
cin>>num1;
cout<<"\n"<<" Enter second number = ";
cin>>num2;
divide=num1/num2;
cout<<"\n\n"<<" Divide = "<<divide;
system("pause");
return 0;
}