//números con decimales
#include <iostream>
using namespace std;
int main()
{
float a,b, cociente;
cout<<"dime un número"<<endl;
cin>>a;
cout<<a<<endl;
cout<<"dime otro número"<<endl;
cin>>b;
cout<<b<<endl;
cout<<"vamos a realizar la división de estos dos números"<<endl;
cociente=a/b;
cout<<cociente;
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: