Computer Science, asked by meghrajsingh92, 9 months ago

write the proper syntax of finding the average of any three number​

Answers

Answered by AnubhavGhosh1
2

Answer:-

  • #include <stdio.h>
  • #include <stdio.h>#include <conio.h>
  • #include <stdio.h>#include <conio.h>void main()
  • #include <stdio.h>#include <conio.h>void main()int n1,n2,n3;
  • #include <stdio.h>#include <conio.h>void main()int n1,n2,n3;float avg;
  • #include <stdio.h>#include <conio.h>void main()int n1,n2,n3;float avg;printf("\nENTER THREE NUMBERS: " );
  • #include <stdio.h>#include <conio.h>void main()int n1,n2,n3;float avg;printf("\nENTER THREE NUMBERS: " );scanf("%d %d %d",&n1,&n2,&n3);
  • #include <stdio.h>#include <conio.h>void main()int n1,n2,n3;float avg;printf("\nENTER THREE NUMBERS: " );scanf("%d %d %d",&n1,&n2,&n3);avg=(n1+n2+n3)/3;
Similar questions