Answer:
True.
Explanation:
Microsoft Word refers to a word processing software application or program developed by Microsoft Inc. to enable its users to type, format and save text-based documents.
In Computer science, there are specific key combinations (short cut) that avail end users the opportunity to perform specific functions without having to go through a series of step.
For example, when you press the Alt button and function key 4 (F4) at the same time, it would close the current open window.
Hence, Alt + F4 is a short cut key that can be used to close a document in MS word.
Answer:
same as above....................
Answer:
See the below the answer written in Matlab
Explanation:
function inches=feetToInches(feet)
prompt='enter the value of feet in digits';
feet=input(prompt)% ask for the value in feet that needs to be converted to inches
inches =feet*12; % converts feet to inches
x=['the value in inches is: ',num2str(inches)];
disp(x) %display the result of the convertion
end
Answer:
Variables. A variable is a way of naming and storing a value for later use by the program, ... its type, and optionally, setting an initial value (initializing the variable). ... byte x; x = 0; x = x - 1; // x now contains 255 - rolls over in neg. direction
Explanation:
Answer:
weights = []
total = 0
max = 0
for i in range(5):
weight = float(input("Enter weight " + str(i+1) + ": "))
weights.append(weight)
total += weights[i]
if weights[i] > max:
max = weights[i]
average = total / 5
print("Your entered: " + str(weights))
print("Total weight: " + str(total))
print("Average weight: " + str(average))
print("Max weight: " + str(max))
Explanation:
Initialize the variables
Create a for loop that iterates 5 times
Get the values from the user
Put them inside the array
Calculate the total by adding each value to the total
Calculate the max value by comparing each value
When the loop is done, find the average - divide the total by 5
Print the results