Written in C
I'm a noob so it might not be the best code
The result will be displayed with one digit precision (one digit after the decimal point)
#include
int main(){
float q,qq,qqq,qqqq,qqqqq; //test results
printf("Enter five test scores. Separate them with slashes like 12/13/14\\");
scanf("%f/%f/%f/%f/%f",q,qq,qqq,qqqq,qqqqq);
average = (q+qq+qqq+qqqq+qqqqq)/5;
printf("The average of the five test scores is %.1f",average);
return 0;}