What allows you to create a wireless connection among your smart devices.

Answers

Answer 1

Answer:

Probably Wi-Fi or a network but if you need more specific i'm not sure

Explanation:


Related Questions

Write a C program with a user defined function myFactorial, that calculates the factorial of a number entered by the user. Return the calculated factorial and print it in the main function.

Answers

Answer:

Written in C

#include <stdio.h>

int myFactorial(int n){

   int fact = 1;

   for (int k = 1; k<=n;k++)

   {

       fact*=k;

   }

   return fact;

}

int main() {

   int num;

   printf("Number: ");

   scanf("%d",&num);

   if(num>=0)    {

       printf("%d",myFactorial(num));

   }

   return 0;

}

Explanation:

I've added the full program as an attachment where I used comments to explain some lines

Which is equal?
1 KB = 2,000 Bytes
1 MB » 1,000 KB
3 GB = 5,000,000 KB
O 8 TB = 7,000 MB
4 PB - 2,500,000 GB

PLEASE HELP 10points

Answers

Answer:

1 mb = 1000 kb

all others are wrong although it's 1024 KB that's makes 1 mb but the value can be approximated

Microsoft
Excel Module 6

Answers

Answer:

what Is your question?

Suppose stuff is a three-dimensional jagged array of integers such that each row may have a different number of columns. Using an index-based approach, fill in the missing parts of the following code, which should print the sum of any odd integers located in odd-indexed cells in the array. (Odd-indexed means that every index associated with a particular cell is an odd integer.) You may assume that the each dimension contains at least two values. Be certain to make your solution as efficient as possible; don't do work that doesn't contribute to the answer.total=for g in ____:for t in_____:for h in ____:if _____:total= ______________

Answers

Answer:

this is python Suppose stuff

Explanation: easy

What will the operator 1 AND 1 return ?

Answers

When you perform a & 1 it will always return 0 or 1 depending upon the the last binary digit of a.

The operator 1 AND 1 return will be Basic Binary Math" module for a refresher as CIDR simplifies how routers and different community gadgets want to consider the elements of an IP address.

What is the operator ?

In arithmetic and on occasion in pc programming, an operator is an individual that represents an action, as for instance, x is a mathematics operator that represents multiplication.

The 1 and 1 return 1 if the least good sized little bit of x is 1 else zero . 1 & 1 = 1 , zero & 1 = zero . That's how the operator is defined. Any bit besides the ultimate one is zero due to the fact it is zero in 1.

Read more about operator:

https://brainly.com/question/25974538

#SPJ2

which of the following is 1000 of a second​

Answers

Answer:

what I don't understand your question

Incompatible Power Adapter: While using your laptop, you notice the battery life is running low. When you plug in the AC adapter that was included with the laptop, an error message is displayed stating that the AC adapter is incompatible. You unplug the AC adapter and plug it back in, but the same message keeps appearing. Why might this be happening

Answers

Answer:

1. in compatible adaptor

2. bad cable

3. software issues

4. damaged laptop battery

Explanation:

there are several reasons why this might be happening.

if this message is being displayed it means that the adaptor may not be compatible. this implies that it is spoilt or the laptop just needs to be shutdown. if this fails, then adaptor needs replacing.

the adaptor cable itself may be faulty and needs changing. the laptop's battery may be too old or damaged and needs replacing. also the laptop may be having software issues and needs updating.

pls help me i reallt need help

Answers

Answer:

Long-form work

Which group and tab do you need to be in to separate text into two columns? Paragraph group and Insert tab Page Layout group and Home tab Page Setup group and Page Layout tab Home group and Page Setup tab

Answers

Answer: Page setup group and page layout tab

Explanation:

:)

Answer:

Page setup group and page layout tab

Explanation:

just answered the question

A 'array palindrome' is an array which, when its elements are reversed, remains the same (i.e., the elements of the array are same when scanned forward or backward) Write a recursive, boolean-valued method, isPalindrome, that accepts an integer-valued array, and a pair of integers representing the starting and ending indexes of the portion of the array to be tested for being a palindrome. The function returns whether that portion of the array is a palindrome. An array is a palindrome if: the array is empty (0 elements) or contains only one element (which therefore is the same when reversed), or the first and last elements of the array are the same, and the rest of the array (i.e., the second through next-to-last elements) form a palindrome.

Answers

Answer:

Here is the JAVA program:

class Main {    

static boolean isPalindrome(int array[], int starting, int ending) {  /*a boolean method that takes an integer-valued array, and a pair of integers representing the starting and ending indexes of the portion of the array to be tested for being a palindrome */

   if (starting >= ending) {  //base case

       return true;     }  //returns true

   if (array[starting] == array[ending]) {  //recursive case

       return isPalindrome(array, starting + 1, ending - 1);     }  //calls isPalindrome recursively to find out palindrome

   else {  

       return false;    }  }  //returns false if array is not palindrome

 

   public static void main (String[] args) {  //start of main function

   int array[] = { 1,2,3,2,1};  //creates an array

   int size = array.length;   //computes the size of array

 System.out.print(isPalindrome(array, 0, size - 1));    } } //calls method to test array for being  a palindrome

Explanation:

The program works as follows:

array = { 1,2,3,2,1}

starting = 0

ending = size-1 = 5-1 = 4

if (starting >= ending) condition evaluates to false because starting i.e. 0 is not greater or equal to ending i.e. 4. So the program moves to the next if part

if (array[starting] == array[ending])

This becomes:

if (array[0] == array[4])

The element at 0th index is the first element of the array i.e. 1 and the element at 4th index of array is the last element of array i.e. 1. So both these elements are equal so the following statement executes:

return isPalindrome(array, starting + 1, ending - 1);

Now the starting and ending become:

starting+1 = 0+1 = 1

ending-1 = 3

if (starting >= ending) base condition evaluates to false because starting  is not greater or equal to ending. So the program moves to the next if part

if (array[starting] == array[ending])

This becomes:

if (array[1] == array[3])

The element at 1st index is 2 and the element at 3rd index of array is 2. So both these elements are equal so the following statement executes:

return isPalindrome(array, starting + 1, ending - 1);

Now the starting and ending become:

starting+1 = 1+1 = 2

ending-1 = 2

if (starting >= ending) base condition evaluates to true because starting  is  equal to ending. So the following statement executes:

       return true;    

This means the function returns true and this shows that array is a palindrome.

The screenshot of the program and its output is attached.

Pythonpython An ISBN-10 (International Standard Book Number) consists of 10 digits: d1d2d3d4d5d6d7d8d9d10. The last digit, d10, is a checksum, which is calculated from the other nine digits using the following formula: (d1 * 1 + d2 * 2 + d3 * 3 + d4 * 4 + d5 * 5 + d6 * 6 + d7 * 7 + d8 * 8 + d9 * 9) % 11 If the checksum is 10, the last digit is denoted as X according to the ISBN-10 convention. Write a program that prompts the user to enter the first 9 digits and displays the 10-digit ISBN (including leading zeros).

Answers

Answer:

Written in Python

print("Enter the first 9 digits: ")

d1 = int(input())

d2 = int(input())

d3 = int(input())

d4 = int(input())

d5 = int(input())

d6 = int(input())

d7 = int(input())

d8 = int(input())

d9 = int(input())

d10 = (d1 * 1+ d2 * 2 + d3 * 3 + d4 * 4 + d5 * 5 + d6 * 6 + d7 * 7 + d8 * 8 + d9 * 9)%11

if d10 == 10:

                                   print(str(d1)+str(d2)+str(d3)+str(d4)+str(d5)+str(d6)+str(d7)+str(d8)+str(d9)+"X")

else:

                                   print(str(d1)+str(d2)+str(d3)+str(d4)+str(d5)+str(d6)+str(d7)+str(d8)+str(d9)+str(d10))

                                   

Explanation:

This line prompts user for input

print("Enter the first 9 digits: ")

The next 9 line gets the first 9 ISBN digits

d1 = int(input())

d2 = int(input())

d3 = int(input())

d4 = int(input())

d5 = int(input())

d6 = int(input())

d7 = int(input())

d8 = int(input())

d9 = int(input())

This calculates the checksum

d10 = (d1 * 1+ d2 * 2 + d3 * 3 + d4 * 4 + d5 * 5 + d6 * 6 + d7 * 7 + d8 * 8 + d9 * 9)%11

The if condition prints the ISBN number by replacing the last digit with X if the checksum is 10 else it appends the original digits

if d10 == 10:

                                   print(str(d1)+str(d2)+str(d3)+str(d4)+str(d5)+str(d6)+str(d7)+str(d8)+str(d9)+"X")

else:

                                   print(str(d1)+str(d2)+str(d3)+str(d4)+str(d5)+str(d6)+str(d7)+str(d8)+str(d9)+str(d10))

To prepare his book report on The Adventures of Tom Sawyer, Anand must research life on the Mississippi River in the 1800s. Which strategy should Anand use in examining both the book and his research?

Answers

He should reread and find arcticles about life on the Mississippi River in the 1800s

Write a statement that compares the values of score1 and score2 and takes the following actions. When score1 exceeds score2, the message "player1 wins" is printed to standard out. When score2 exceeds score1, the message "player2 wins" is printed to standard out. In each case, the variables player1Wins,, player1Losses, player2Wins, and player2Losses,, are incremented when appropriate.
Finally, in the event of a tie, the message "tie" is printed and the variable tieCount is incremented.
So far this is what I have:
if score1>score2:
player1Wins=player1Wins+1
player2Losses=player2Losses+1
print("player1Wins")
elif score2>score1
player2Wins=player2Wins+1
player1Losses=player1Losses+1
print("player2Wins")
else:
score1=score2
tieCount=tieCount+1
print("tie")
___________________________
However, I'm still getting an error and not sure why. Am I indenting something wrong?

Answers

Answer:

player1Wins = player1Losses = player2Wins = player2Losses = tieCount = 0

score1 = 10

score2 = 10

if score1>score2:

   player1Wins=player1Wins+1

   player2Losses=player2Losses+1

   print("player1 wins")

elif score2>score1:

   player2Wins=player2Wins+1

   player1Losses=player1Losses+1

   print("player2 wins")

else:

   tieCount=tieCount+1

   print("tie")

Explanation:

Since your indentation can not be understand what you give us, please try to do it as you see in the answer part.

Although it seems that this is a part of the code, it is normal that you get errors. However, since you keep track of the variables, it is better to initialize the variables that will keep the counts. Since initially, they are 0, you may set them as 0. Also, if you assign the values to the scores, probably you would not get any error. This way, you may test your code as I did.

Other than these, in the else part you do not need to write "score1=score2", because if score1 is not greater than score2 and if score2 is not greater than score1, this already implies that they are equal

WHAT DO I KNOW ABOUT THE EVOLUTION OF COMPUTING?

Answers

Answer: i dont now

Explanation:

Write a program that asks for the user's first, middle, and last name as one input. The names must be stored in three different character arrays. The program should then store in a fourth array the name arranged in the following manner: the last name followed by a comma and a space, followed by the first name and a space, followed by the first initial of the middle name and a period. Display the contents of the fourth array on the screen. No standard strings can be used. Oh I'm so mean.
Sample input:
Neil Patrick Harris
Output:
Harris, Neil P.

Answers

Answer:

Here is the C++ program:

#include <iostream>  //to use input output functions  

#include <cstring>  // used to manipulate c strings  

using namespace std;  //to identify objects cin cout

const int SIZE = 20;  //fixes constant size for firstName, middleName and lastName arrays  

const int FULL_SIZE = 60;  //constant size for fullName array  

int main() {  //start of main method  

 char firstName[SIZE]; //declares a char type array to hold first name  

 char middleName[SIZE];//declares a char type array to hold middle name  

 char lastName[SIZE]; //declares a char type array to hold last name  

 char fullName[FULL_SIZE]; //declares a char type array to hold full name

 cout << "Enter first, middle, and last name:  ";  //prompts user to enter first name

 cin>>firstName>>middleName>>lastName;  //reads last name from user, stores it in lastName array

 strcpy(fullName, lastName);  //copies last name from lastName to fullName array using strcpy method which copies a character string from source to destination

 strcat(fullName, ", "); //appends comma "," and empty space " " after last name in fullName using strcat method which appends a string at the end of another string

 strcat(fullName, firstName);  //appends first name stored in firstName to the last of fullName

 strcat(fullName, " ");  //appends an empty space to fullName

  char temp[2];  //creates a temporary array to hold first initial of middle name

temp[0] = middleName[0];  //holds the first initial of middle name

strcat(fullName, temp);  //appends first initial of middle name stored in temp to the last of fullName

strcat(fullName, ".");   //appends period

    cout<<fullName;  } //displays full name

Explanation:

I will explain the program with an example

Lets say user enters Neil as first name, Patrick as middle and Harris as last name. So firstName char array contains Neil, middleName char array contains Patrick and lastName char array contains Harris.  

Next the fullName array is declared to store Neil Patrick Harris in a specific format:

strcpy(fullName, lastName);

This copies lastName to fullName which means fullName now contains Harris.

 strcat(fullName, ", ");

This appends comma and an empty space to fullName which means fullName now contains Harris with a comma and empty space i.e. Harris,

strcat(fullName, firstName);

This appends firstName to fullName which means Neil is appended to fullName which now contains Harris, Neil

 strcat(fullName, " ");  

This appends an empty space to fullName which means fullName now contains Harris, Neil with an empty space i.e. Harris, Neil

char temp[2];

temp[0] = middleName[0];

This creates an array to hold the first initial of middle name i.e. P of Patrick

strcat(fullName, temp);

This appends an the first initial of middleName to fullName which means fullName now contains Harris, Neil P

strcat(fullName, ".");

This appends a period to fullName which means fullName now contains Harris, Neil P.

Now    cout <<"Full name is:\n"<<fullName<< endl; prints the fullName so the output of this entire program is:

Full name is:                                                                                                                                  Harris, Neil P.

The screenshot of the program along with its output is attached.

Which best describes what online reading tools aim to help readers do? *100 POINTS*

Answers

Answer:

Read faster

Explanation:

Technology inspires learners to learn as well. They keep trying to figure time to discover and learn stuff from blogs , videos, applications, and games on their computers. At the very same time, kids will understand and have pleasure, which lets them keep involved with the subject.

Answer:

ITS NOT B I THOUGHT IT WAS BUT DO NOT PUT B I PUT B AND GOT THE QUESTION WRONG

Explanation:

DONT PUT B just trying to help idk the answer but not b

                                                                                                                                                                                                                                               

Extend to also calculate and output the number of 1 gallon cans needed to paint the wal. Hint: Use a math function to round up to the nearest gallon. (Submit for 2 points, so 5 points total)Enter wall height (feet): Enter wall width (feet): Wall area: 1000 square feet Paint needed: 2.86 gallons Cans needed: 3 can(s) Choose a color to paint the wall: Cost of purchasing blue paint: $ {'red': 35, 'blue': 75} Expected output Enter wall height (feet): Enter wall width (feet): Wall area: 1000 square feet Paint needed: 2.86 gallons Cans needed: 3 can(s) Choose a color to paint the wall: Cost of purchasing blue paint: $75

Answers

Answer:

Here is the Python program:

import math #import math to use mathematical functions

height = float(input("Enter wall height (feet): ")) #prompts user to enter wall height and store it in float type variable height

width = float(input("Enter wall width (feet): ")) #prompts user to enter wall width and store it in float type variable width

area = height *width #computes wall area

print('Wall area: {} square feet'.format(round(area))) #displays wall area using round method that returns a floating-point number rounded

sqftPerGallon = 350 #sets sqftPerGallon to 350

paintNeeded = area/ sqftPerGallon #computes needed paint

print("Paint needed: {:.2f} gallons".format(paintNeeded)) #displays computed paint needed up to 2 decimal places

cansNeeded = int(math.ceil(paintNeeded)) #computes needed cans rounding the paintNeeded up to nearest integer using math.ceil

print("Cans needed: {} can(s)".format(cansNeeded)) #displays computed cans needed

colorCostDict = {'red': 35, 'blue': 25, 'green': 23} #creates a dictionary of colors with colors as key and cost as values

color = input("Choose a color to paint the wall: ") #prompts user to enter a color

if color in colorCostDict: #if the chosen color is present in the dictionary

    colorCost = colorCostDict.get(color) #then get the color cost from dictionary and stores it into colorCost using get method that returns the value(cost) of the item with the specified key(color)

    cost = cansNeeded * colorCost #computes the cost of purchasing paint of specified color per cansNeeded

  print("Cost of purchasing {} paint: ${}".format(color,colorCostDict[color])) #displays the real cost of the chosen color paint

print("Cost of purchasing {} paint per {} gallon can(s): ${}".format(color,cansNeeded, cost)) #displays the cost of chosen color paint per cans needed.

Explanation:

The program first prompts the user to enter height and width. Lets say user enter 20 as height and 50 as width so the program becomes:

Wall area computed as:

area = height *width

area = 20 * 50

area = 1000

Hence the output of this part is:

Wall area: 1000 square feet                                                                                                                     Next program computes paint needed as:

paintNeeded = area/ sqftPerGallon

Since sqftPerGallon = 350 and area= 1000

paintNeeded = 1000 / 350

paintNeeded = 2.86

Hence the output of this part is:

Paint needed: 2.86 gallons

Next program computes cans needed as:      

cansNeeded = int(math.ceil(paintNeeded))

This rounds the computed value of paintNeeded i.e. 2.86 up to nearest integer using math.ceil so,

cansNeeded = 3                                                                  

Hence the output of this part is:

Cans needed: 3 can(s)                                                                                                                            Next program prompts user to choose a color to paint the wall

Lets say user chooses 'blue'

So the program get the cost corresponding to blue color and multiplies this cost to cans needed to compute the cost of purchasing blue paint per gallon cans. So

cost = cansNeeded * colorCost

cost = 3 * 25

cost = 75

So the output of this part is:

Cost of purchasing blue paint per 3 gallon can(s): $75                                                                                        The screenshot of the program along with its output is attached.

Romans are credited with “inventing” the capital city l? T or F

Answers

Answer:

T

Explanation:

just finished the assignment on edge

PLEASE HURRY!!!
What is the output of the following program? Assume numA is 4, numB is 2, and numC is 6.

if numA < numB and numB < numC:
print(numA)
elif numB < numA and numB < numC:
print(numB)
else:
print(numC)

A) 2.0
B) numA
C) 4.0
D) numB

Answers

Answer: 2.0

Explanation: I did this on ed genuity , I’m terrible at this so I don’t really have an explanation

Answer:

A)2.0

Explanation:

You are probably inputting this into the wrong section of python. Most beginners of python(Including me) start out by going into a new untitled blank coding slate. This type of code isn't meant to go into the coding slate. This is meant to go into the python shell. Therefore if you put this into the coding slate, you won't get back a result at all because half of your functions are rendered useless.

A dietician wants you to write a program that will calculate the number of calories a person can lose by walking at a slow pace for a mile; however, the user will have only the distance given by a pedometer, which is measured in steps and not miles. Assume each mile a person walks is equivalent to 2000 steps, and that for every mile walked, a person loses 65 calories. Allow the user of the program to enter the number of steps taken throughout the day. The program will calculate the distance in miles and the number of calories lost. The user of the program should also be able to enter the day of the week the data is being calculated for. The day of the week, the distance in miles, and the calories lost should then be displayed to the screen.
How would I write the calculation for this problem in pseudocode?

Answers

Answer:

The pseudocode is as follows

1. Input Steps

2. Input Day

3. Miles = Steps/2000

4. Calories = 65 * Miles

5. Print Calories

6. Stop

Explanation:

This line gets the number of steps for the day

1. Input Steps

This line gets the current day

2. Input Day

The line calculates number of miles

3. Miles = Steps/2000

This line calculates the calories lost

4. Calories = 65 * Miles

This line prints the calories lost

5. Print Calories

The pseudocode ends here

6. Stop

for your output.
1. Tools which are made of plastic should be kept clean and sanitized
properly in preparation for the next patron​

Answers

Answer:

True

Explanation:

Indeed, nail care tools and equipment should be safely handled, and one way to do this according to the "T.L.E LEARNING MODULE " is to ensure that all "tools which are made of plastic should be kept clean and sanitized  properly in preparation for the next patron​."

Hence, a chemical solution such as bleach could be used to sanitize the tools used after a session.

Submit your three to five page report on three manufacturing careers that interest you.

Answers

Answer:

Manufacturing jobs are those that create new products directly from either raw materials or components. These jobs are found in a factory, plant, or mill. They can also exist in a home, as long as products, not services, are created.1

For example, bakeries, candy stores, and custom tailors are considered manufacturing because they create products out of components. On the other hand, book publishing, logging, and mining are not considered manufacturing because they don't change the good into a new product.

Construction is in its own category and is not considered manufacturing. New home builders are construction companies that build single-family homes.2 New home construction and the commercial real estate construction industry are significant components of gross domestic product.3

Statistics

There are 12.839 million Americans in manufacturing jobs as of March 2020, the National Association of Manufacturers reported from the Bureau of Labor Statistics.4 In 2018, they earned $87,185 a year each. This included pay and benefits. That's 21 percent more than the average worker, who earned $68,782 annually.5

U.S. manufacturing workers deserve this pay. They are the most productive in the world.6 That's due to increased use of computers and robotics.7 They also reduced the number of jobs by replacing workers.8

Yet, 89 percent of manufacturers are leaving jobs unfilled. They can't find qualified applicants, according to a 2018 Deloitte Institute report. The skills gap could leave 2.4 million vacant jobs between 2018 and 2028. That could cost the industry $2.5 trillion by 2028.

Manufacturers also face 2.69 million jobs to be vacated by retirees. Another 1.96 million are opening up due to growth in the industry. The Deloitte report found that manufacturers need to fill 4.6 million jobs between 2018 and 2028.9

Types of Manufacturing Jobs

The Census divides manufacturing industries into many sectors.10 Here's a summary:

Food, Beverage, and Tobacco

Textiles, Leather, and Apparel

Wood, Paper, and Printing

Petroleum, Coal, Chemicals, Plastics, and Rubber

Nonmetallic Mineral

Primary Metal, Fabricated Metal, and Machinery

Computer and Electronics

Electrical Equipment, Appliances, and Components

Transportation

Furniture

Miscellaneous Manufacturing

If you want details about any of the industries, go to the Manufacturing Index. It will tell you more about the sector, including trends and prices in the industry. You'll also find statistics about the workforce itself, including fatalities, injuries, and illnesses.

A second resource is the Bureau of Labor Statistics. It provides a guide to the types of jobs that are in these industries. Here's a quick list:

Assemblers and Fabricators

Bakers

Dental Laboratory Technicians

Food Processing Occupations

Food Processing Operators

Jewelers and Precious Stone and Metal Workers

Machinists and Tool and Die

Medical Appliance Technicians

Metal and Plastic Machine Workers

Ophthalmic Laboratory Technicians

Painting and Coating Workers

Power Plant Operators

Printing

Quality Control

Semiconductor Processors

Sewers and Tailors

Slaughterers and Meat Packers

Stationary Engineers and Boiler Operators

Upholsterers

Water and Wastewater Treatment

Welders, Cutters, Solderers

Woodworkers11

The Bureau of Labor Statistics describes what these jobs are like, how much education or training is needed, and the salary level. It also will tell you what it's like to work in the occupation, how many there are, and whether it's a growing field. You can also find what particular skills are used, whether specific certification is required, and how to get the training needed.11 This guide can be found at Production Occupations.

Trends in Manufacturing Jobs

Manufacturing processes are changing, and so are the job skills that are needed. Manufacturers are always searching for more cost-effective ways of producing their goods. That's why, even though the number of jobs is projected to decline, the jobs that remain are likely to be higher paid. But they will require education and training to acquire the skills needed.

That's for two reasons. First, the demand for manufactured products is growing from emerging markets like India and China. McKinsey & Company estimated that this could almost triple to $30 trillion by 2025. These countries would demand 70 percent of global manufactured goods.12

How will this demand change manufacturing jobs? Companies will have to offer products specific to the needs of these very diverse markets. As a result, customer service jobs will become more important to manufacturers.

Second, manufacturers are adopting very sophisticated technology to both meet these specialized needs and to lower costs.

What is the importance of material and component

Answers

Answer:

The innovative values of an object can be underlined by the chosen material; in fact its mechanical and chemico-physical properties, as well as its forming, joining and finishing technologies, all participate to the success of a product. ...

Explanation:

[tex]hii[/tex]hope this helps you ✌️✌️✌️

Which of the statements is correct about Smart Guides and Rulers?

Answers

Answer:

Hey! here's ur answer

Explanation:

Specify these angles in the Smart Guides preferences. When you move an object or artboard, use the Smart Guides to align the selected object or artboard to other objects or artboards. The alignment is based on the geometry of objects and artboards. Guides appear as the object approaches the edge or center point of other objects.

-Uh, hope this helps!

Create a program that asks for the user's first, middle, and last name as one input. The names must be stored in three different character arrays. The program should then store in a fourth array, the name, arranged in the following manner: the last name followed by a comma and a space, followed by the first name and a space, followed by the first initial of the middle name and a period. For example, if the user entered "Carol Lynn Smith", it should store "Smith, Carol Lynn" in the fourth array. Display the contents of the fourth array on the screen.

Answers

Answer:

Here is the C++ program:

#include <iostream>  //to use input output functions

#include <cstring>  // used to manipulate c strings

using namespace std;  //to identify objects cin cout

const int SIZE = 20;  //fixes constant size for firstName, middleName and lastName arrays

const int FULL_SIZE = 60;  //constant size for fullName array

int main() {  //start of main method

     

  char firstName[SIZE]; //declares a char type array to hold first name

  char middleName[SIZE];//declares a char type array to hold middle name

  char lastName[SIZE]; //declares a char type array to hold last name

  char fullName[FULL_SIZE]; //declares a char type array to hold full name

 

  cout << "Enter first name: ";  //prompts user to enter first name

  cin>>firstName;  //reads first name from user, stores it in firstName char array

  cout << "Enter middle name: ";  //prompts user to enter middle name

  cin>>middleName;  //reads middle name from user, stores it in middleName char array

  cout << "Enter last name: ";  //prompts user to enter last name

  cin>>lastName;  //reads last name from user, stores it in lastName array

  strcpy(fullName, lastName);  //copies last name from lastName to fullName array using strcpy method which copies a character string from source to destination

  strcat(fullName, ", ");  //appends comma "," and empty space " " after last name in fullName using strcat method which appends a string at the end of another string

  strcat(fullName, firstName);  //appends first name stored in firstName to the last of fullName

  strcat(fullName, " ");  //appends an empty space to fullName

  strcat(fullName, middleName);  //appends middle name stored in middleName char array to the fullName char array

   

  cout <<"Full name is:\n"<<fullName<< endl; } //displays the full name

Explanation:

I will explain the program with an example inshaAllah

Lets say user enters Carol as first name, Lynn as middle and Smith as last name. So firstName char array contains Carol, middleName char array contains Lynn and lastName char array contains Smith.

Next the fullName array is declared to store Carol Lynn and Smith in a specific format:

strcpy(fullName, lastName);

This copies lastName to fullName which means fullName now contains Smith.

  strcat(fullName, ", ");

This appends comma and an empty space to fullName which means fullName now contains Smith with a comma and empty space i.e. Smith,

strcat(fullName, firstName);

This appends firstName to fullName which means Carol is appended to fullName which now contains Smith, Carol

  strcat(fullName, " ");

This appends an empty space to fullName which means fullName now contains Smith, Carol with an empty space i.e. Smith, Carol

 strcat(fullName, middleName);

This appends middleName to fullName which means Lynn is appended to fullName which now contains Smith, Carol Lynn

Now    cout <<"Full name is:\n"<<fullName<< endl; prints the fullName so the output of this entire program is:

Full name is:                                                                                                                                  

Smith, Carol Lynn

The screenshot of the program along with its output is attached.

Read the list of Cybersecurity First Principles. In addition to the Cybersecurity Principles, research the Adversary Model of cybercrime using your textbook and the Internet. Using the information you uncover, as well as your own critical thinking skills, write a summary report that details each of the cybersecurity principles and describes the Adversary Model, including resources, capabilities, intent, motivation, risk aversion, and access.

Answers

Answer:

Throughout the interpretation portion below, this same overview of the look at various is summed up.

Explanation:

The cybersecurity architecture as well as concepts are required to ensure websites and software apps from perpetrators that aim to interrupt, pause, modify, or redirect data flow.

Domain separation:

This term in something like a program describes a set of data or orders that deserve security outside a program, a field of duty or regulation could be a domain.

Process isolation:

A process seems to be a program that runs on a computer, and each process seems to have a memory region.

Resource encapsulation:

There are several tools for a machine. The memory, hard drive, communication overhead, battery life, or a display may have been a commodity.

Least privilege:

In a machine, a privilege is another permission for the operator to operate on controlled machine property.

Layering:

A layer seems to be a different step in the sense of information protection that really should be penetrated by an offender to break a device.

Abstraction:

Abstraction has been the idea that it is possible to think about something complex and difficult as well as encompass it more obviously.

A regular polygon is an n-sided polygon in which all sides are of the same length and all angles have the same degree(i.e the polygon is both equilateral and equiangular). The formula for computing the area of a re polygon is
n * s2(s squar)
area = -----------------------------------------
4 * tan(pi/n)
write a function that return the area of a regular polygon using the following header.
double area(int n, double side.
write a main function that prompts the user to enter the number of sides and the side of a regular polygon, and display the area.
The program needs to allow the user to run the calculations as needed until the user chooses to end the program.

Answers

Answer:

import java.util.Scanner;

public class Main

{

public static void main(String[] args) {

    Scanner input = new Scanner(System.in);

    int n;

    double side;

    char choice;

    while(true){

        System.out.print("Enter the number of sides: ");

     n = input.nextInt();

     System.out.print("Enter the side of a regular polygon: ");

     side = input.nextDouble();

   

     System.out.println("Area is: " + area(n, side));

     

     System.out.print("Do you want to continue(y/n): ");

     choice = input.next().charAt(0);

     

     if(choice == 'n')

         break;

    }

}

public static double area(int n, double side){

    double area = (n * Math.pow(side, 2) / (4 * Math.tan(Math.PI / n)));

    return area;

}

}

Explanation:

Create a function named area that takes two parameters, n and side

Calculate the area using the given formula

Return the area

In the main:

Create an indefinite while loop. Inside the loop:

Ask the user to enter the n and side

Call the area() function passing the n and side as parameters and print the result

Ask the user to continue or not. If the user enters "n", stop the loop

text in a cell can be algined as dash​

Answers

Answer:

Text and numbers can be aligned to the left, right or center of a cell, as well as to the top, middle and bottom.

The Footnote Text style defines characters as ____________.

Question 2 options:

12 point Times New Roman and paragraphs as single-spaced and right aligned


10 point Times New Roman and paragraphs as double-spaced and left-aligned


12 point Times New Roman and paragraphs as double-spaced and right-aligned


10 point Times New Roman and paragraphs as single-spaced and left-aligned

Answers

Answer:

D 10 point Times New Roman and paragraphs as single-spaced and left-aligned

Emerson needs to tell his browser how to display a web page. Which tool will he use?

Group of answer choices

HTML

Web viewer

Operating system

Translator

Answers

Answer:

HTML

Explanation:

HTML stands for "Hypertext Markup Language." It allows the creation of electronic documents which use semantics to indicate a particular text. The different HTML elements are being separated by "angle brackets" in order to make up a tag. These tags are not visible, but they make it possible for the browser's page to be interpreted.

Answer:

HTML

Explanation:

Other Questions
What happened to the light of our early universe? (Complete sentences) Where can the slide layout be changed?from the Edit menufrom the Task panefrom the Slide panefrom the Tools menu 4. This technique can be used to show the form of an object on a flat surface. (1 point)patternshadingcontoursketch Which cell is the most specialized? Where is Central America located? What is the upper most layer of the Atmosphere? Group of answer choicesMesosphereTroposphereThermosphereStratosphere A car has a 16-gallon fuel tank. When driven on a highway, it has a gas mileage of 30 miles per gallon. The gas mileage (also called "fuel efficiency") tells us the number of miles the car can travel for a particular amount of fuel (one gallon of gasoline, in this case). After filling the gas tank, the driver got on a highway and drove for a while.How many miles has the car traveled if it has the following amounts of gas left in the tank (15 galllons)? What is the slope of the line that passes through the points (8, 8)(8,8) and (20, -2) ? (20,2)? Write your answer in the simplest form. The difference of two supplementary angles is 58 degrees. Find the measures of the angles. What is the value of Variable g in this equationG^3=729 What might you visualize when you read the title of this article: Quit Bugging Me! Global warming and Superbugsa.Bugs growing stronger due to global warmingc.A new breed of indestructible bugb.Giants bugs taking over the Earthd.none of the abovePlease select the best answer from the choices providedABCD The Act that required colonists to provide a room and food in their OWN homesto a British soldier was known as The.. *Tea ActStamp ActWrits of AssistanceQuartering Act Which type of government did the ancient Greek city of Athens have?a socialist governmenta dictatorshipa direct democracyan absolute monarchy figure B is a scale copy of figure A. 3 by 3 3 by 9 Dan constructs a scale model of a building with a rectangular base. His model is2 inches in length and 1 inch in width. The scale on the model is 1 inch = 35 feet.What is the actual perimeter, in yards, of the base of the building?und Help i need good grade on this or ill never make it i have 2 cows and my mom has 4 but my sister sells 3 how many do i have Essay Questions What is Anthropology? To receive full points for this question, you must: Define Anthropology Identify and briefly describe the four subfields of Anthropology Briefly describe the doctrine of holism as it appears in the Kottak Text Choose one example of research in a particular society from any assigned reading. Explain how this example uses a holistic approacth. Indicate which subdisciplines of anthropology contributed to your selected reading, and in what ways they contributed.What are the characteristics of culture? To receive full points for this question, you must: Identify and define six characteristics of Culture Select an article from the white "Annual Editions" reader and provide the main point of the article. Which of the six characteristics of culture appear in the article? Give specific examples with your discussion of each definition.I choose the Article is Eating Christmas in the Kalahari Bonus Problem, for 5 bonus points: If you could have any job in Anthropology, what would you do, and why? To recieve full points for this question, you must: Indicate what your favorite job in Anthropology would be, and why. Give at least one example from any two assigned readings that pertain to your choice.My favorite Job in Anthropology is Anthropologist . Angels partner, Lisa, owns the remaining portion of the bakery. Write a simplified ratio to represent Angels ownership to Lisas ownership in the bakery. On the back of the books jacket, there is a picture of the author. What is the subject of this sentence?