Computer Science, asked by Ghostlyrider464, 10 months ago

Write a program to obtain temperature of 7 days and then display the average temperature of a week

Answers

Answered by aman1707
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
Similar questions