You are on page 1of 1

#include <iostream.

h>
int main ()
{double x,y
cout<<"Dati doua numere reale";
cin>>x>>y;
cout<<"("<<x<<"+"<<y<<")/2="<<"("<<(x+y)/2;
return 0;}

You might also like