Answer:
See explaination
Explanation:
void showSeatingChart(string seatingChart[20][40], const int ROWS, const int COLS){
for(int i = 0;i<ROWS;i++){
for(int j = 0;j<COLS;j++){
cout<<seatingChart[i][j]<<" ";
}
cout<<endl;
}
}
Answer:
a. social engineering attack
Explanation:
Two-factor authentication requires that the user/owner of the account enter a second verification code alongside their password in order to access the account. This code is usually sent to a personal phone number or email address. Therefore in order to breach such a security measure the best options is a social engineering attack. These are attacks that are accomplished through human interactions, using psychological manipulation in order to trick the victim into making a mistake or giving away that private information such as the verification code or access to the private email.
Answer:
When working in multicultural groups, students may find challenges in the areas of language barriers, social behavior expectations, and communication style differences.
Explanation:
Answer:
Different Communication Styles
Different Attitudes Toward Conflict
Different Approaches to Completing Tasks
Different Decision-Making Styles
Different Attitudes Toward Disclosure
Different Approaches to Knowing
Explanation:
Answer:
System Interfaces.
Explanation:
Most new information systems must communicate with other, existing systems, so the design of the method and details of these communication links must be precisely defined. These are called system interfaces.
Answer:
See the program code at explaination
Explanation:
CREATE PROCEDURE sp_Q1
atcountry1 NVARCHAR(15),
atcountry2 NVARCHAR(15)
AS
BEGIN
BEGIN
SELECT SupplierID, CompanyName, Phone, Country FROM suppliers
where Country in (atcountry1,atcountry2)
SELECT ProductID, ProductName, UnitPrice, SupplierID FROM Products
where SupplierID in(
SELECT SupplierID FROM suppliers
where Country in (atcountry1,atcountry2)) ORDER BY SupplierID
END
END
GO
-- Testing script.
DECLARE atRC int
DECLARE atcountry1 nvarchar(15)
DECLARE atcountry2 nvarchar(15)
-- Set parameter values here.
set atcountry1='UK'
set atcountry2='Canada'
EXECUTE atRC = [dbo].[sp_Q1]
atcountry1
,atcountry2
GO
Note: please kindly replace all the "at" with the correct at symbol.
The editor doesn't support it on Brainly.
Answer:
// here is program in Java.
// import package
import java.util.*;
// class definition
class Main
{
// main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// variable
int gall;
double cost=0;
// object to read value from user
Scanner scr=new Scanner(System.in);
// ask user to enter type
System.out.print("Enter customer type (R for residential or B for business ):");
// read type of customer
char t=scr.next().charAt(0);
if(t=='r'||t=='R')
{
System.out.print("enter the number of gallons:");
//read number of gallons
gall=scr.nextInt();
// if number of gallons are less or equal to 6000
if(gall<=6000)
{
// calculate cost
cost=gall*0.007;
// print cost
System.out.println("total cost is: "+cost);
}
else
{
// calculate cost
cost=(6000*0.005)+((gall-6000)*0.007);
// print cost
System.out.println("total cost is: "+cost);
}
}
else if(t=='b'||t=='B')
{
System.out.print("enter the number of gallons:");
//read number of gallons
gall=scr.nextInt();
// if number of gallons are less or equal to 8000
if(gall<=8000)
{
// calculate cost
cost=gall*0.006;
// print cost
System.out.println("total cost is: "+cost);
}
else
{// calculate cost
cost=(8000*0.006)+((gall-8000)*0.008);
// print cost
System.out.println("total cost is: "+cost);
}
}
}catch(Exception ex){
return;}
}
}
Explanation:
Ask user to enter the type of customer and assign it to variable "t" with scanner object.If the customer type is business then read the number of gallons from user and assign it to variable "gall". Then calculate cost of gallons, if gallons are less or equal to 8000 then multiply it with 0.006.And if gallons are greater than 8000, cost for first 8000 will be multiply by 0.006 and for rest gallons multiply with 0.008.Similarly if customer type is residential then for first 6000 gallons cost will be multiply by 0.005 and for rest it will multiply by 0.007. Then print the cost.
Output:
Enter customer type (R for residential or B for business ):r
enter the number of gallons:8000
total cost is: 44.0