#include <iostream.h>
#include <conio.h>
const int size = 7;
void main(void)
{
float temp[size],max;
clrscr();
cout<< "enter the temperatures on days in a week"<<'\n';
for(int i=0;i<size; i++)
{
cin>>temp[i];
cout<<"Temperature on day : "<< i+1<<" : "<<temp[i]<<'\n';
}
max=temp[0];
for(i=0; i<size; i++)
{
if (temp [i]>max)
max= temp[i];
}
cout<<"The maximum temperature in the week is " << max;
cout<<"\n" ;
getch();
}