Write a program to obtain temperature of 7 days and then display the average temperature of a week
Answers
Answered by
9
int C,i;
System.out.println(“enter 7 days temperature”);
for(i=0;i<=7;i++)
{
C=in.nextInt();
System.out.println(C);
}
Hope its correct
System.out.println(“enter 7 days temperature”);
for(i=0;i<=7;i++)
{
C=in.nextInt();
System.out.println(C);
}
Hope its correct
Similar questions