Answer:
First equation x=4
second equation x=3
Explanation:
The question is telling us that 'X' is equal to 8. It's another way of representing this number using X as the variable replacing it.
We input 8 instead of the X to solve the equation, and here in the picture, you can see where I went from there.
Do the same thing for the other equation.
I hope this helps :)
Answer:
b. mkdir -p ~/2019projects/project/projectplans
Explanation:
mkdir command in Linux environment is used to create a new directory. This command is used to create a folder to store the information in organized manners.
-p is used to create a parent folder in the directory. If we want to start a new project or want to store information about some new topic we will create a new folder for that purpose. So, -p is used to create a new folder in directory.
In above mentioned case, this is the first project that Mindy started in 2019, so she should create a parent directory of 2019 to save all projects details that she worked in 2019. So she should use -p with mkdir command to make 2019 as a parent folder.
import sys
number = int (input ("Enter a number between 1 to 100 : "))
x = 0
y = 0
if number == 0:
sys.exit()
if number > 50:
print("Increment x value")
x=x+1
else:
print("Increment y value")
y=y+1
if x > y:
print("Most of your numbers are greater than 50")
else
print("Most of your numbers are less than or equals to 50")
Explanation:
In this algorithm the User is asked to input the number.
If the input number is 0 then the user will exit the algorithm
If the input number is greater than 50 then X variable is incremented by 1
If the input number is less than 50 then the variable Y is incremented by 1
Then X and Y values are compared,if the value of x is greater than y then
and print command will print Most of your numbers are greater than 50
If the value of Y is greater than X then print command will print Most of your numbers are less than or equal to 50