Computer Science, asked by kanpik15, 8 hours ago

Q.1. Write a program to accept three whole numbers using scanf() and do the following:
1) Print the three numbers
2) Print the product of the three numbers
3) Print the total of the three numbers
4) Print the average of the three numbers
5) Write an output for your program
PLEASE DONT SPAM AND TELL THE CORRECT ANSWER
AND IF U ANSWER CORRECTLY I WILL MAKE YOU THE BRAINLIEST

Answers

Answered by 18001003006sukriti
1

Answer:

#include<stdio.h>

#include<conio.h>

void main()

{

int a,b,c,res;

scanf(%d%d%d,"&a""&b""&c");

printf"a,b,c";

res=a+b+c;

printf("res");

res=a*b*c;

printf("res");

res=(a+b+c)/3;

printf("res");

}

Similar questions