Solution :
function tickets(user_tickets){
var num_tickets;
if (user_tickets < 5) {
num_tickets = 1;
return ('num_tickets: '+ num_tickets);
}
else {
num_tickets = user_tickets;
return('num_tickets: '+ num_tickets);
}
}
// Testing the tickets function
// With user_tickets = 3, 5, 8, and 1
console.log(tickets(3));
console.log(tickets(5));
console.log(tickets(8));
console.log(tickets(1));
Answer:
The correct answer for the given question is option(A) i.e File History.
Explanation:
In computer system file history is an backup application which create backup of your data which are stored in your libraries, desktops, contacts, and favorites to another storage location .It creates back up of your data to another location when your personal files has been changed.
The user can check the file history option in computer system
open control panel >>system and security >> file system
If you don’t mind can u add the picture it helps me Answer the question better
The answer is 5.68 Volts.
So givens are electric supply of 30 VDC and the values of 3 resistors.
Given:
E= 30 VDC
R1 = 80 Ohms
R2 = 1000 Ohms
R3= 42000 Ohms
And what we are looking for is the voltage on the second resistor.
First we have to get the current of the circuit.
I = E/(R1+R2+R3)
I = 30 / (80+1000+4200)
I = 30 / (5280)
I = 0.00568 A
Then get the voltage V = I x R
V = 0.00568 x 1000
V = 5.68 V