![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 22.12.2021 01:00 wedestttefera
A snack bar has a frequent customer program in which every 10th purchase is free. Customers are enrolled in the program when they make their first purchase. A programmer is writing a program to implement the frequent customer program. In one code segment, cost is set to 0for every 10th purchase by a given customer. The programmer will use the procedure One word, Get Count, open parenthesis, one word, customer I D, close parenthesis , which returns the total number of purchases a customer has made since enrolling in the frequent customer program, including his or her first purchase. Which of the following code segments will set cost to 0 for every 10th purchase a customer makes after enrolling in the frequent customer program?
a. count <- GetCount (customerID)
IF (count / 10 = 0)
{
cost <- 0
}
b. count <- GetCount (customerID)
IF (NOT (count / 10 = 0))
{
cost <- 0
}
c. count <- GetCount (customerID)
IF (count Mod 10 = 0)
{
cost <- 0
}
d. count <- GetCount (customerID)
IF (NOT (count Mod 10 = 0))
{
cost <- 0
}
![ansver](/tpl/images/cats/User.png)
Answers: 1
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 12:00
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 14:00
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:30
This device directs network traffic. bridge hub nic repeater router switch
Answers: 3
You know the right answer?
A snack bar has a frequent customer program in which every 10th purchase is free. Customers are enro...
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 20.11.2019 00:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 20.11.2019 00:31
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 20.11.2019 00:31
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/istoriya.png)
History, 20.11.2019 00:31
![question](/tpl/images/cats/istoriya.png)
History, 20.11.2019 00:31
![question](/tpl/images/cats/himiya.png)
Chemistry, 20.11.2019 00:31
![question](/tpl/images/cats/mat.png)
Mathematics, 20.11.2019 00:31
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 20.11.2019 00:31
![question](/tpl/images/cats/mat.png)
Mathematics, 20.11.2019 00:31
![question](/tpl/images/cats/mat.png)
Mathematics, 20.11.2019 00:31