The conversation between human and AI assistant.
What are the examples of procedural programming languages?
Can you give me an example of a program written in a procedural programming language?
Sure. Here's a simple program written in C that calculates the average of three numbers:

#include <stdio.h>

int main()
{
  float num1, num2, num3, avg;

  printf("Enter three numbers: ");
  scanf("%f %f %f", &num1, &num2, &num3);

  avg = (num1 + num2 + num3) / 3;

  printf("Average = %.2f", avg);

  return 0;
}