Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
18 views1 page

Average

Uploaded by

learnpiano15
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views1 page

Average

Uploaded by

learnpiano15
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

#include <stdio.

h>
main()
{
int n1,n2,n3;
float avg;
printf("enter three numbers");
scanf("%d%d%d",&n1,&n2,&n3);
avg=(n1+n2+n3)/3;
printf("the average is %f",avg);
}

You might also like