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
A router is a web device that directs packages over a web towards their final destination is true.
<h3>What is the router?</h3>
- A router is a machine that combines two or more packet-switched grids or subnetworks.
- A router accepts and data transmits on computer networks. Routers are sometimes confused with network hubs, modems, or network controllers.
- However, routers can integrate the functions of these components, and secure with these devices, to improve Internet entry or help create interaction networks.
- A router is a device that is used for forwarding the internet connection to all the related devices.
- A Wi-Fi connects the networking parts of a router and a wireless access point.
- A wireless router (or Wi-Fi router) works much like a wired router, but it returns wires with wireless radio calls.
To learn more about router, refer to:
brainly.com/question/24812743
#SPJ4
Answer:
Consider the following code.
Explanation:
save the following code in read_and_interp.m
function X = read_and_interp(s)
[m, n] = size(s);
X = zeros(m, 1);
for i = 1:m
if(str2num(s(i, 2:5)) == 9999)
% compute value based on previous and next entries in s array
% s(i, 2:5) retrieves columns 2-5 in ith row
X(i,1) = (str2num(s(i-1 ,2:5)) + str2num(s(i+1,2:5)))/2;
else
X(i,1) = str2num(s(i,2:5));
end
end
end
======================
Now you can use teh function as shown below
s = [ 'A' '0096' ; 'B' '0114' ; 'C' '9999' ; 'D' '0105' ; 'E' '0112' ];
read_and_interp(s)
output
ans =
96.000
114.000
109.500
105.000
112.000
Answer:
How you will be innovative in what you offer
Explanation:
personally I think all 3 but it is what it is
im not sure to be exact , but i think its england. i have done an assignment in the past and that was the awnser.....hope i help