Content deleted Content added
Tags: Reverted Mobile edit Mobile web edit |
Undid revision 1027510870 by 2409:4053:1C:8FBC:4025:61D4:85CC:758B (talk) |
||
Line 35:
Consider the following [[C (programming language)|C]] program:
<syntaxhighlight lang="c">
main()
{
int a, b, c, avg;
scanf("%d %d %d", &a, &b, &c);
avg = (a+b+c)/3;
printf("avg = %d", avg);
}
</syntaxhighlight>
|