Computer Science, asked by ktaarush23, 8 months ago

Write a program to input three different numbers. Calculate and print sum and average. qbasic! please someone help it's really urgent

Answers

Answered by vvimstu005y14
0

#include<stdio.h>

int main()

{

   float num1,num2,result;

   printf("Enter first Number : ");

   scanf("%f",&num1);

   printf("Enter second Number : ");

   scanf("%f",&num2);

   result = num1 + num2;

   printf("The sum of %f and %f is : %f", num1,num2,result);

   return 0;

}

Similar questions