Question
Write a C program for finding the largest number from the four given numbers.
Answer :
Word Count : 144
__________ __________ ___ ______ ____.
_______ ___ ____ _______ __________ ______ _______ ___ _____ ______.
_________ ___ __________ _______ ______ _______ _______ ___ _________ ______.
_______ ___ _____ ________ ________ ___ __________ _______ ________ _____.
______ ____ ______ ___ ____ _____ __________.
_____ _______ ________ _______ ________ ___ ____.
_____ _____ _____ _____ ____ ____ _______.
___ __________ ______ ____ _____ ________ ___ _________ _____.
_________ ___ ________ __________ __________ ______ ____ ___ ______ _________ ____ _________.
______ __________ ______ _____ _______ ____ _______ _____ _______ ________ __________.
________ _______ _______ ____ _____ _______ ________.
Skip in 10
#include<stdio.h>
void main()
{
int a,b,c,d;
printf("enter the four numbers : ");
scanf("%d%d%d%d",&a,&b,&c,&d);
//if first number is greater than second number
if(a>b)
{
//if first number is greater than third number
if(a>c)
{
//if first number is greater than fourth number
if(a>d)
printf("%d is greatest",a);
else
//fourth number is
_______ ___ ____ _______ __________ ______ _______ ___ _____ ______.
_________ ___ __________ _______ ______ _______ _______ ___ _________ ______.
_______ ___ _____ ________ ________ ___ __________ _______ ________ _____.
______ ____ ______ ___ ____ _____ __________.
_____ _______ ________ _______ ________ ___ ____.
_____ _____ _____ _____ ____ ____ _______.
___ __________ ______ ____ _____ ________ ___ _________ _____.
_________ ___ ________ __________ __________ ______ ____ ___ ______ _________ ____ _________.
______ __________ ______ _____ _______ ____ _______ _____ _______ ________ __________.
________ _______ _______ ____ _____ _______ ________.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.