30% i believe im not sure im trying to complete a challenge honestly lol
The answer is prism, The atmosphere can produce the same effects<span> as a </span>prism<span> when the </span>Sun is low in the sky<span>. </span>
-Processor(CPU)
The processor is the important element of the computer. It controls all the operations that are performed by the computer.
-Main Memory(RAM):
The main memory is referred as the primary memory. It is volatile in nature.
It stores the data and programs temporarily. It is a temporary memory.
-I/O Modules:
The I/O modules moves the data between the computer and other peripheral devices of the system.
-System Bus:
The bus that connects the CPU to main memory on the mother board, I/O modules and other components within the system.
Answer:
We use the Python language to implement the code, if you have and IDE, simply copy and paste the code and run it
Note: the cost function is c=(R+ .08*d)+5
Explanation:
#initialize some variables
T = 0.08 # tax for each day
F = 5.00 # one time fee
R = 100 # room rate
d = int(input("Enter the number of days stayed at the hotel "))
c = 0 # initialize cost variable
if (d > 0):
c=(R+ .08*d)+5
print(" the cost for ", d, " days is ", c )
else:
print(" Invalid entry for days ", d )