Answer:
I will code in Javascript.
Preconditions:
The variables k, incompletes has been declared and initialized.
The variable nIncompletes contains the number of elements of incompletes.
The variable stududentID has been declared and initialized.
The variable numberOfIncompletes has been declared.
Script:
numberOfIncompletes = 0; <em>//initialize numberOfIncompletes</em>
for( k = 0; k < nIncompletes; k++) {
if(incompletes[k] == studentID){ <em>//if the element of array is equal to studentID</em>
numberOfIncompletes++; <em>//adds 1 to numberOfIncompletes</em>
}
}
Explanation:
The script uses a for loop to go through the entire array incompletes, comparing the k variable with nIncompletes and adding 1 on each pass.
Then inside the for, uses an if statement to compare if the actual element is equal to studentID, if equal adds 1 numberOfIncompletes.
Answer:
Check the explanation
Explanation:
A. No. the act of selling customer's data for financial advantages and gain without the permission of customer is illegal and so unethical.
B. No. even though the Grandmother choice by itself but selling out her game data to broker without letting the concerned person know about it is not allowed.
C. Yes. It was Grandmothers' choice to play certain kind of game. As gambling vendor provides a fare game they are not doing any bad.
You may do all of the given options.
Thank You!
Answer:
The answer to this question is given below in the explanation section.
Explanation:
Most business applications and websites use and process the credit card for their transaction.
For example, e-commerce website such as ali baba, am a zon, accepting credit card transaction when the customer gets to purchase any product from their stores. Their transactions are processed by in house credit card apps/service. But these apps/services owned by a third party. They just give you API services and related code to integrate the credit card services.
By using their in-house credit card apps/services, they know that user has transferred the money into their account for the purchased product, upon receiving payment confirmation, they then prepare and dispatch the order.
So, the correct answer to this question is:
To process the credit card transactions, they license third-party credit card apps/services backed by the internet merchant who is responsible for handling and managing the money of the business account.