Answer:
In the given program the function work properly and the code for remainder section calculation can be given as:
Code:
This code is written inside the function in conditional statement block
else if (op == "%") //check condition
result = numberOne % numberTwo; //holds value in result variable.
Explanation:
The description of the code can be given as:
- In the given program a function "performOperation" is defined that accepts three variable in which two values is number and one is sign value inside a function in the conditional statement section we add code for calculating remainder that can be defined above. This function will calculate a value and return the value.
- In the main method, we declare a variable that is "numberOne, numberTwo, and operation" these three variables are used to take input from the user and passed into the function. To hold function return value we define a variable that is the result that holds function value and prints its value.
Answer:
def main():
name = input("Enter your name: ")
age = input("Enter your age: ")
color = input("Enter you favorite color: ")
birth = input("Enter your birthday: ")
print(name + " is "+age+" year(s) old.")
print(name + "'s favorite color is "+color)
print(name + " was born on "+ birth)
main()
Explanation:
This is not my work the guy how did do this helped me so the credit go'es to him
The functions of the browser is to bring information to the user. By entering the URI, you summon the webpage to come up, while the browser interprets it into readable content. It also transforms web pages into interactive content.
<span>A.<span>the effort is applied further from the fulcrum than the load</span></span>
Answer:
The Active cell inside Excel Worksheet is used to identify the cell which is currently active. The thick border gridlines around the cell indicates that it is the Active cell inside Excel Worksheet. The Active cell is where the focus is on and where the data will be entered when a key is typed on keyboard.