Answer:
See explaination
Explanation:
//Array to store prices
INT PRICE[10][10]
//Loop through 2d array
FOR I FROM 0 TO 10
FOR J FROM 0 TO 10
//Populate a random int
PRICE[I][J] = RANDOM_INT(99,1999)
PRINT(PRICE[I][J]+" ")
PRINT()
//Prompt user for desired price
COST = READ_INPUT('Please enter your desired flight price: ')
//Variable to store if a match is found
MATCH = FALSE
//Loop through all ints in price
FOR I FROM 0 TO 10
FOR J FROM 0 TO 10
//Compare price with Cost
IF PRICE[I][J]==COST
MATCH = TRUE
BREAK
//Check if match is true
IF MATCH = TRUE
PRINT('A flight was found for that price, have a safe trip!')
ELSE
PRINT('No flight was found for that price, please try a new price.')
Answer:
Churning
Explanation:
Churning is termed as an act of a broker conducting immoderate trading in the account of client solely to generate commissions. It is an illegal and deceptive practice. It violates security laws. The purchase and subsequent sale of a securities that are little or insignificant to meet the investment goals of client can be the evidence of churning. Consequently it causes considerable losses in client's account or can produce a tax liability.
Churning occurs due to over trading by a broker to generate commissions by buying and selling stocks excessively on the behalf of investor. This often happens when broker has permissive authority over client's account.
Answer:
The JavaScript statement is
var str1 = "Information Technology";
var result = str1.toUpperCase();
Explanation:
JavaScript is used to validate the client side it means it provide the client side validation.
Following are the function of JavaScript that converted the string into uppercase.
function val()
{
var str1 = "Information Technology ";
var result = str1.toUpperCase();
}
The toUpperCase() function convert the string into uppercase in JavaScript
OUTPUT
INFORMATION TECHNOLOGY
Answer:
b. Acceptance
Explanation:
<em>"Acceptance </em><em>of risk is the choice to do nothing to protect an information asset and to accept the outcome of its potential exploitation. </em><em>"</em>
<em>Acceptance Control </em>is important as a strategy when an organization has accomplished a determined level of risk, or it has estimated potential damages that might happen due to attacks, or the organization has developed a thorough analysis related to cost benefits, or it has also evaluated the probabilities of attacks.
Answer:
I think it's A, def drawDiamond():
Explanation: