Answer:
The program to this question as follows:
Program:
targetValue = 0.3333 #defining variable targetValue and assign value
sensorReading = 0.0 #defining variable sensorReading and assign value
sensorReading = 1.0/3.0 #calculate value in sensorReading variable
Val=sensorReading - targetValue
#calculate the difference and store in Val variable
if (Val < 0.0001): #use of if block to check condition
print ("Equal") #print value
else: #else block
print ("Not equal") #print value
Output:
Equal
Explanation:
In the above Python program code, there are two variables "targetValue and sensorReading" is defined, in which targetValue store a value, that is "0.3333", and sensorReading holds a value, that is "0.0".
- In the next step, the "Val" variable is defined, that calculate the difference between both variable, that conditional statement is used.
- In if block, if the value is less then "0.0001", it will print value "Equal", otherwise, it will go to the else block, that will print "Not equal".
Answer:
The efficiency of manager depends upon his ability to communicate effectively with the members of his organisation. It is only through communication that management conveys its goals and desires, issues instructions and orders, allocates jobs and responsibility and evaluates performance of subordinates.
pls tag me brainliest
function myFunction(num){
n = 0;
total = 1;
while (n < num){
total *= (num - n);
n+=1;
}
return total;
}
alert(myFunction(6));
I'm not too proficient in JavaScript but here's what the function would look like. I hope this helps!