Preview:
#include<stdio.h>
void main()
{
    int a, b, c;
    printf("enter 3 integers");
    scanf("%d  %d  %d",&a  ,&b  ,&c);
    int sum=a+b+c;
    printf("sum is %d",sum);
    int prod=a*b*c;
    printf("product is %d",prod);
    int avg=(a+b+c)/3;
    printf("avg is %d",avg);
    int largest=a;
    if(b>largest && b>c){
        printf("b is largest");
    }
    if(c>largest && c>b){
        printf("c is largest");
    }
}
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter