else tag

15 questions


1 answers
116 views
0
c language ifelse statement question

This is a question that enters three integers and indicates whether each integer is even or odd. int a, b,c; scanf_s(%d%d%d, &a,&b,&c); if (a % 2 == 0) { printf(%s\n, even); } else if (a ...

2 years ago

1 answers
102 views
0
Ifelse statement A simple question.

age = int(Enter your age)if age >= 20: print('you are adult')elif age >=10 or age < 20: print('you are adolescent')elif age < 10: print('you are baby')I made the code like this, but even ...

2 years ago

2 answers
98 views
0
Program Python that outputs by adding both odd values between two numbers

How should the condition extraction be written in a program that takes two numbers and outputs both odd values between them? I'm trying to study alone, but I'm not sure, so I post a question.

2 years ago

2 answers
138 views
0
Function execution

a = float(Enter the required amount:)c = float(Enter the conversion factor: )))def ZEB(): n = print(a * c) if n < 80: print (Grade is A) elif 80 <= n < 140: print (Grade B) elif n >= 14...

2 years ago

1 answers
93 views
0
Python if question

I am developing a simple text game as a hobbyWhether you're going out hunting or resting, you're going to divide the choices by numbers 1 and 2 through the if statementI don't know if it's because it ...

2 years ago
« - 2 -

© 2024 OneMinuteCode. All rights reserved.