An unfavorable opinion or feeling formed beforehand or without knowledge, thought, or reason.
2.
any preconceived opinion or feeling, either favorable or unfavorable.
3.
unreasonable feelings, opinions, or attitudes, especially of a hostile nature, regarding an ethnic, racial, social, or religious group.
4.
such attitudes considered collectively:
The war against prejudice is never-ending.
5.
damage or injury; detriment:
a law that operated to the prejudice of the majority.
Answer:
Expression for the above problem in python language:
userNum=int(input("Enter the value of user_Num")) #it is used to take input.
if(userNum>(-10)): #if statement
print("The value of the userNum is greator")
elif(userNum==(-10)): #elif statement
print("The value of the userNum is equal to -10")
else: #else statement.
print("The value of the userNum is small")
Output:
- If the user input is (-10), it will print equal.
- If the user input 10, it will print greator message.
Explanation:
- The above program or expression is in python language, where the first line is used to render a message to the user take the input and store it into a userNUM variable.
- Then the second line is used to check the user num value to be greater with the help of if statement.
- Then the third statement is used to check the user num value to be equal with the help of elif statement.
- Then the else statement will execute when the if and the elif statement will not true.
Answer & Explanation:
//written in java
public class Main {
public static void main(String[] args) {
//String stored in a variable named phrase
String phrase = "Brainly";
//Checking whether the first character is in upper case or not
if (Character.isUpperCase(phrase.charAt(0)))
System.out.println("capital");
else
System.out.println("not capital");
}
}
Answer:
Moscow
Explanation:
Moscow is the capital of Russia and was made the capital in 1918.