Rewite using logical operator
If (a>b || a>c)
System.out.println(a);
Answers
Answered by
0
Answer:
ᴄʜᴀɴɢᴇ ᴛᴏ ɪɴᴅɪʀᴇᴄᴛ ꜱᴘᴇᴇᴄʜ :-
"Congratulations! you have been selected for the final match" said my coach to me.
◕ Don't spam
◕ Correct and quality answers are expected.
Answered by
1
void main ()
{
clrscr();
int a,b,c;
printf(“Enter the 3 values:”);
scanf(“%d%d%d”,&a&b&c);
if(a>b)
{
printf(“\n%d is greater than %d”,a,b);
else if(a>c)
printf(“\n%d is greatest number”,&a);
else
printf(“\n%d is the greatest number”,&c);
}
getch();
}
sorry gtg i did 60% bye
{
clrscr();
int a,b,c;
printf(“Enter the 3 values:”);
scanf(“%d%d%d”,&a&b&c);
if(a>b)
{
printf(“\n%d is greater than %d”,a,b);
else if(a>c)
printf(“\n%d is greatest number”,&a);
else
printf(“\n%d is the greatest number”,&c);
}
getch();
}
sorry gtg i did 60% bye
Similar questions
English,
23 days ago
English,
23 days ago
Math,
1 month ago
Business Studies,
1 month ago
Social Sciences,
9 months ago
Geography,
9 months ago