You are on page 1of 1

#include <iostream>

using namespace std;

int main()
{
int num1 = 7, num2 = 5;

float f1 = 10.5, f2 = 5.25;

cout<<num1/num2<<endl;
cout<<(float)num1/(float)num2<<endl;
cout<<f1/f2<<endl;
cout<<f1/num1<<endl;

return 0;

You might also like