You use the extension on the end of the file to tell you the type of a file
The extension is the .whatever in the name of the file
I don’t know but i hope someone gives u the answer
Answer:
Written in Python
name = input("Name: ")
wageHours = int(input("Hours: "))
regPay = float(input("Wages: "))
if wageHours >= 60:
->total = (wageHours - 60) * 2 * regPay + 20 * 1.5 * regPay + regPay * 40
else:
->total = wageHours * regPay
print(name)
print(wageHours)
print(regPay)
print(total)
Explanation:
The program is self-explanatory.
However,
On line 4, the program checks if wageHours is greater than 60.
If yes, the corresponding wage is calculated.
On line 6, if workHours is not up to 60, the total wages is calculated by multiplying workHours by regPay, since there's no provision for how to calculate total wages for hours less than 60
The required details is printed afterwards
Note that -> represents indentation
Answer:
author, journalist and speaker/media trainer this is all I know so
author, journalist and speaker/media trainer
Answer:
constant or constant expression
register name
variable name (memory)
Explanation:
Literally, operand means data which an operation can be performed on. The operation could be an arithmetic or logical operation.
From the list of options, several operations can be performed on:
- constants e.g.
- registers and
- variables e.g. (a + b)
<em>However, no operation can be performed on keywords and/or reserved words.</em>