#include <stdio.h>
int main() {
// Declare variables to store user input
double num1, num2, num3;
// Prompt the user to enter the first number
printf("Enter the first number: ");
scanf("%lf", &num1);
// Prompt the user to enter the second number
printf("Enter the second number: ");
scanf("%lf", &num2);
// Prompt the user to enter the third number
printf("Enter the third number: ");
scanf("%lf", &num3);
// Calculate the average of the three numbers
double average = (num1 + num2 + num3) / 3.0;
// Display the result
printf("Average: %lf\n", average);
return 0;
}