English, asked by nobdy13, 1 year ago

write a c program to find the biggest number among 3 no's

Answers

Answered by sunil1241
1

Answer:

#include <stdio.h>

double n1, n2, n3;

printf("Enter three different numbers: ");

scanf("%lf %lf %lf", &n1, &n2, &n3);

if( n1>=n2 && n1>=n3 )

printf("%.2f is the largest number.", n1);

if( n2>=n1 && n2>=n3 )

printf("%.2f is the largest

Similar questions