Zadatak3.5 – stepenice

#include <iostream>
#include <cmath>
using namespace std;

int main()
{
double A,X,B,Y;
double x1,y1,x,y;
cin>>A>>X;
cin>>B>>Y;

x1=A/X;
y1=B/Y;
x=ceil(x1);
y=ceil(y1);
if(x<y)

cout<<„Fuad“<<“ „<<y-x;

if(y<x )
cout<<„Catil“<<“ „<<x-y;

if(x==y)
cout<<„Izjednaceni“<<“ „<<x;

return 0;
}