You are given three numbers a, b, c find the largest number?
Answers
Answered by
2
Answer:
#include <stdio.h>
int main()
{
int A, B, C;
printf("Enter the numbers A, B and C: ");
scanf("%d %d %d", &A, &B, &C);
if (A >= B && A >= C)
printf("%d is the largest number.", A);
if (B >= A && B >= C)
printf("%d is the largest number.", B);
if (C >= A && C >= B)
printf("%d is the largest number.", C);
return 0;
}
Answered by
1
❥ꪖꪀᦔ᭙ꫀɾ❥
═════◄••❀••►═════
❥from array import*
a= int(input("Entre the value of a :-"))
b= int(input("Entre the value of b :-"))
c= int(input("Entre the value of c :-"))
z= array('i',[ ])
for d in range(1,c+1):
if d%a==b:
z.append(d)
else:
continue
n= len(z)
for e in range(n):
if (e==n-1):
print("The required number is ",z[e])
═══◄••❀••►══◄••❀••►══════
ħέч ķέм ķάħά ħ чŕŕ мέşşάģέ ķά ŕέρĻч ţόħ ķŕ ȡέ...
❥๓คrk ๓ē ๖rคiຖliŞt
ȶʏֆʍ❤️
_ɪᴛᴢ_ʏᴀɴᴀ___/\___........
Similar questions