Explanation:
What want help with i just see answer there maybe if you want to know the meaning of Gui it is : A graphizal user interface (GUI) is a type of user interface through which users interact with electronic devices via visual indicator representations.
and next time please make yourself clear with your sentence no Offense
Answer:
Please find the answer in the attached image.
Explanation:
I wrote this program using JavaScript programming language.
// A function to check tickets
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:
As many as we need
Explanation:
https://quizizz.com/admin/quiz/5e68ffb7ada381001bd58b3a/codehs-unit-2-lessons-13-to-19