Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  average
Language: PASCAL
Code:
program average_of_three_numbers;
var x,y,z:integer;

begin
  writeln('Please enter three numbers:');
  readln(x,y,z);
  writeln('Their average is ', ((x+y+z)/3));
end.     
Comments: