Computer Science, asked by shreyagupta0890, 7 months ago

Plzzz say a clear ans....

a program using if...else statement to find which number is largest among 80 and 89.

This is a programming language.....One who answers correct will be marked brainliest

Answers

Answered by Anonymous
1

Answer:

hi...

Explanation:

a=80

b=89

if a>b:

print(a,"is greater than",b)

else:

print(b,"is greater than",a)

hope it helps you ☺️

Answered by shriya9146
0

Answer:

If the student receives over 65% on her test, report that her grade passes; if not, report that her grade fails

If he has money in his account, calculate interest; if he doesn’t, charge a penalty fee

If they buy 10 oranges or more, calculate a discount of 5%; if they buy fewer, then don’t

Through evaluating conditions and assigning code to run based on whether or not those conditions are met, we are writing conditional code.

This tutorial will take you through writing conditional statements in the Python programming language.

Explanation:

If statement

We will start with the if statement, which will evaluate whether a statement is true or false, and run code only in the case that the statement is true.

In a plain text editor, open a file and write the following code:

please follow me in brainly and mark me in brainly pls

Similar questions