#include <stdio.h>
void main()
{
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%d\n", a + b + c);
printf("%d\n", a * b * c);
float x = (a + b + c) / 3;
printf("%f", x);
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <stdio.h>
void main()
{
int a, b, c;
scanf("%d%d%d", &a, &b, &c);
printf("%d\n", a + b + c);
printf("%d\n", a * b * c);
float x = (a + b + c) / 3;
printf("%f", x);
}