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:
You can't really say it matters whether it's short or long
Explanation:
There several coding language some short and some long with different purposes so it doesn't really make a difference
Although some coders have been able to shorten some codes so I'd say shorter is faster and be[er and easier to memorize
Thanks hope I was helpful
Answer:
0xFF.
Explanation:
The Register A of HSC12 is an 8-bit register.So the maximum value for 8 bit is 8 1's (11111111). So the decimal value for the maximum 8 bits is 255 but all the options given are in hexadecimal so among the given options only 0xFF has the value of 255 in decimal F=(1111)₂.So two F's make 8 bits and their decimal value is 255.
Answer:
Yep, saw her posts. Thanks for the warning though. I reported one of her posts. It's just another example of how desperate people are and what measures they will take to get attention. She'll probably be banned soon
Explanation:
Thank you for the warning though. I hope this reaches more people.