Answers for "if statement in if statement"

C#
3

if condition

#converting weight into pounds orkilograms.
given_weight=int(input('given_weight'))
unit=input('(K)G or (L)bs')

if unit.upper() == 'K':
    pounds=given_weight/0.45
    print('weight in pounds',pounds)
else:
    kilograms=given_weight*0.45
    print('weight in kg',kilograms)
________________________________________________________________________________
Posted by: Guest on December-03-2021
1

multiple if condition in excel

IF( condition1, value_if_true1, IF( condition2, value_if_true2, value_if_false2 ))
Posted by: Guest on June-02-2020
0

if statement

if somecommand; then
  # do this if somecommand has an exit code of 0
fi
Posted by: Guest on July-04-2021
0

IF Statement

if(Boolean_expression) {
   // Statements will execute if the Boolean expression is true
}
Posted by: Guest on August-31-2021

C# Answers by Framework

Browse Popular Code Answers by Language