How would you create a 2D array of Strings called paintSwatches that holds the paint manufacturer, paint color name and the paint collection name (in that order) for each of the 60,000 paint swatches a store carries

Answers

Answer 1

Answer:

String[][] paintSwatches = new String[6000][3];

Explanation:

The two-dimensional array is a data structure that holds and locates data in rows and columns. It is denoted by two square brackets after the data type when declaring the array.

The two-dimensional array "paintSwatches" would have 6000 rows and one column each of paint manufacturer, paint color name and paint collection name (that is, 3 columns).


Related Questions

What features do web development tools provide?

Web development tools come with several features to ease the process of building websites. Templates allow you to
experiment with a ___
Plug-ins allow you to___

Answers

The correct answer for the first choice is “variety of looks” and the other answer is “add features such as a payment system or spam blocker”
Explanation: platolivesmattertooyk?

Write a function that reads from a file the name and the weight of each person in pounds and calculates the equivalent weight in kilograms. Output the Name, weightLB, and weightKG in that order. Format your output to two decimal places. (1 kilogram

Answers

Answer:

#include <iostream>

#include <fstream>

#include <iomanip>

using namespace std;

int main(){

   string name;

   double weightKg, weightPd;

   cout<< fixed << setprecision(2);

   fstream myFile("filename.txt");

   while (getline( myFlie, name, weightPd)){

       weightKg = weight * 0.453592;

       cout<< name << weightPd <<weightKg;

   }

   myFile.close();

}

Explanation:

The C++ source code reads in the content of a file that has a name and weight value in pounds and outputs the name, weight in pounds and the weight in kilograms.

What are the correct steps to add the bill using the receipt capture feature in quick books online?

Answers

Answer:

How it Works

The Bill can be imported into QuickBooks in a verity of methods such as drag and drop, browse to upload, email and image upload from a mobile device. The imported data is processed by QuickBooks. In my testing this processing varied depending on the type of document sent but overall, the process was fast, and the Bill was ready to view and categorized within five minutes. There were several pieces of data already extracted from the document which were the data and dollar amount but all other details in my experience needed to be entered.

One thing to not is you can not expense by line items at this time. Instead you can only choose one expenses account per transaction. (if I were a betting girl, I would say this is in the works, but I have no official word on that) However, you can add Classes and Billable Customers.

How to Get Started:

1) From the QBO Navigation Bar choose Banking Center

2) Select the Receipts tab

3) Drag and drop, email or upload a mobile image of the document to QuickBooks (1 file at a time)

4) From the For Review section of the Receipts tab you can see when the document is ready for review

5) QuickBooks extracts, data including date and dollar amount

6) Click on Review in the Action column

7) Select Bill as Document Type (as shown highlighted in the 'red box')

8) Enter the remaining details:

- Enter Payee

- Approve Bill date and enter due date

- Select Account  

- Verify amount total

- Additional Fields (optional)

- Make expenses billable

- Select Customer

- Class

- Add reference number

9) Import into QuickBooks by Saving and Closing

Within, seconds your document is coded and published into QuickBooks as an Open Bill pending payment. Like I said for now all you can add is an account but if you published the document to QBO you could later open it and edit to add required items if necessary.

The last step in optimization is after you have posted the payment to the open bill you will be able to match the bank feeds in QBO if you have already imported your banking activity. This type of audit proofing your bookkeeping helps prevent fraud and assures accuracy.

Hope this helps!! Merry Christmas!! And Happy New Year!!

What are some of the ways we can resolve IPv4 address shortages? Check all that apply.

Answers

Answer:

I am not as close to the network as I used to be but I have not seen articles about the network apocalypse due to IPv4 address depletion. Unlike in the late 90’s when predictions of apocalypse were everywhere.

What happened?

Two things:

Network address translation (NAT) was introduced to allow organizations to use private addresses on their internal network and minimize the requirement for “real” IP4 addresses.

Second, IPv6 was created and introduced to expand the number of addresses available.

So, a direct answer is use IPv6 and/or NAT for internal networks.

Explanation:

For two arrays A and B that are already in ascending order, write a program to mingle them into a new array ordered C evenly, the size of C is varied, depending on the values of A and B: the even-indexed (the index starts from 0) elements come from A while odd-indexed elements are from B. For instance, if A is (1,4, 10,12): B is 12.3,10, 11) then the new array C is (1, 2,4,10,12). If a black-box test approach will be used, how many test cases should you design?

Answers

Answer:

def generate_list(listA, listB):

   listC = []

   for item in listA[0::2]:

       listC.append(item)

   for items in listB[1::2]:

     listC.append(items)

   return sorted(listC)

Explanation:

The python program defines a function called generate_list that accepts two list arguments. The return list is the combined list values of both input lists with the even index value from the first list and the odd index value from the second list.

Draw the tree that results when you add the values 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 to each of the following initially empty trees Binary search tree 2-3 tree 2-4 tree Red-black tree

Answers

Answer:

What exactly are you asking?

Explanation:

Please don't report me, I'll edit my answer once I know the question

We see that the  black height of a node is the number of black nodes on the path from the node to the root of the tree.

What is a Binary search tree?

The B\\binary search tree is described as rooted binary tree data structure with the key of each internal node being greater than all the keys in the respective node's left subtree and less than the ones in its right subtree.

A unique variety of self-balancing binary search tree is the red-black tree has the  following characteristics:

Any node's left subtree is shorter than the node itself.Any node's right subtree is bigger than the node itself.Each and every node has the same black height.

Binary search tree for 2-3 tree: is shown below:

   10

  /  \

 20   40

/  \  / \

30  50 60  70

Binary search tree for 2-4 tree is shown below:

   30

  /  \

 20   50

 / \   / \

10  40 60  70

/ \  / \  / \

80 90 100

Binary search tree for Red-black tree:

   20(R)

  /  \

 /    \

10(B)    30(R)

 /  \   /  \

40(B)  60(B)  70(B)

/ \  / \  / \

80(B) 90(B) 100(B)

Learn more about Binary search tree  at:

https://brainly.com/question/30391092

#SPJ2

Common uses of webinars include _____. Select all that apply.

A. corporate training

B. business meetings

C. distance learning

D. product demonstrations

Answers

Answer: distance learning

Explanation:

webinars are considered to be the best way that is currently used on a large scale to conduct online classes. it is referred to as the workshop, lecture, etc that conduct through the internet.  

it is defined as an interactive session that main aims to give, receive information in real-time. it consists of audio and video session between the listeners and speaker.

The common uses of the webinars incudes distance learning, corporate meetings, and product demonstration. Thus options B, C, and D are correct.

What is a webinar?

A webinar is an online event that is hosted by the organizations and companies and is broadcasted to the selected group of people by making the use of a computer and the internet.

These webinars can help in the launch of a product, can be useful for the distance learning purpose, and also help in business meetings.

Find out more information about the webinars.

brainly.com/question/20047596

why media is far from government​

Answers

Answer:

An independent media means that no one should control and influence its coverage of news. Media is far from independent, this is because of control of government over them. Government prevents some news items, scenes from a movie, or lyrics of songs from being shared with larger public, this is called as censorship.

hope it helps

pls mark as brainliest.....

An independent media means that no one should control and influence its coverage of news. Media is far from independent, this is because of control of government over them. Government prevents some news items, scenes from a movie, or lyrics of songs from being shared with larger public, this is called as censorship.


4. In a relational database, entities are defined by
O A. values.
O B. columns.
O C. attributes.
O D. rows.

Answers

Answer:

C. attributes

Explanation:

A relational database is a database system that stores information within its servers. It has rows and columns that contain the data stored in them and which can be accessed at any time with the right administrative privileges.

In a relational database, entities are defined by their attributes. This is because an entity is the data that needs to be stored so, the attribute specifies that information and gives its value.

Users report that the network is down. As a help desk technician, you investigate and determine that a specific router is configured so that a routing loop exists. What should you do next

Answers

Answer:

Determine if escalation is needed.

Explanation:

Since in this case, it has been determined that a specific router is configured in a way that a routing loop exists, the technician would further need to determine if the following issues are persistent;

having a switching loop on the networkgeneral router problemsrouting loopif there are broadcast storms.

Write a class called Dragon. A Dragon should have a name, a level, and a boolean variable, canBreatheFire, indicating whether or not the dragon can breathe fire. The class should have getter methods for all of these variables- getName, getLevel, and isFireBreather, respectively. Dragon will alsomeed a constructor, a method to gain experience, and a method to attack. The constructor should take the name as the first argument and the level as the second argument. The constructor should initialize canBreatheFire based on the dragon's level. If the dragon is level 70 or higher, the dragon can breathe fire (meaning the third member variable should be set to true). You should create three getter (accessor) methods called getNameO getLevelO,and isFireBreatherO You should also create a method called attackO. This method does not return anything. If the dragon can breathe fire, it should print >>>999 1 public class Dragon private String name; private int level; private boolean canBreatheFire; 4 7 // Write the constructor here! public String getName(name) 9 10 return name; 12 13 14 - 15 public int getLevel(level) return level; 16 17 /Put getters here 18 19 20 21 221/ String representation of the object 23 24 - 25 26 27 3 28 // Put other methods here public String toStringO return "Dragon+ name +" is at level "+ level; 1 public class DragonTester extends ConsoleProgram 2 4 6 public void runCO // Start here! 7

Answers

Answer:

public class Dragon {

private String name;

private int level;

private boolean canBreatheFire;

public Dragon(String name,int level){

this.name=name;

this.level=level;

if(level>=70) {

this.canBreatheFire=true;

}

}

public String getName() {

return name;

}

public int getLevel() {

return level;

}

public boolean getCanBreatheFire() {

return canBreatheFire;

}

public void attack() {

if(getCanBreatheFire()) {

System.out.println(">>> 999");

}else {

System.out.println("Dragon does not have fire breath.");

}

}

public void gainExperience() {

level += 5;

}

public String toString() {

return "Dragon "+ name + " is at level "+ level;

}

Explanation:

The Java program above is a class called Dragon. An object instance of the dragon class has a name and level class variable. The level is used to determine the Boolean value of the canBreathFire class variable. The variables can be retrieved with the getter methods and the level updates by the experience method.

Anyone know how to do this?

Answers

Answer:

bro it is simple click on text and click between the lines and u can write easily.

hope u mark me brainliest thank u ♡♡♡

yea you basically fill it in with the information that will be provided on another page

hope this helps : )

brainliest plz

You're typing up a document and come across the word sentient. You don't believe the readers of the document will know the meaning of the word, and you would like to substitute another word that's more common. What Word feature would you use to assist you in selecting a different word?

Answers

You would use a software tool that looks up the synonyms such as The Thesaurus

You would use a software tool that looks up the synonyms such as The Thesaurus.

What are the application?

Applications are type of software that are installed in a specific operating system of a computer that deviates from those system software installed together with the system itself. These third-party applications are necessary for other functions such as entertainment, business, leisure and other needs addressing of which the system software can't provide.

A networking software can be defined as a set of executable instructions (codes) that is typically designed and developed to instruct a networking device on how to perform a specific task or transmit data from one location to another.

System software has software that has been intended to serve as the foundation for other software. The Operating systems like the macOS, Linux, Android, and the Microsoft Windows are the examples of the system software, as are computational science software, game engines, search engines, industrial automation, and software as a service applications.

Therefore, You would use a software tool that looks up the synonyms such as The Thesaurus.

Learn more about software on:

https://brainly.com/question/892475

#SPJ3

A desktop system on your network has been compromised. Despite loading different operating systems using different media on the same desktop, attackers appear to have access to that system every time it is powered up and placed on the network. This could be an example of what type of rootkit

Answers

Answer: Firmware rootkit

Explanation:

From the question, since despite loading different operating systems using different media on the same desktop, and the fact that attackers appear to have access to that system every time it is powered up and placed on the network. This could be an example of firmware rootkit

Firmware rootkits are a threat to ones online safety. In this scenario, the firmware of the computer are targeted by the rootkits and not the operating system and malware are then installed which can destroy the router, or hard drive. This can be used by hackers.

What is your favorite game that you like to play ? ? ?

Answers

Answer:

Elder Scrolls online on xbox

Explanation:

Answer:

minecraft

Explanation:

The logical way tables are linked is known as the database…

A. Schema
B. Primary Key

Answers

Answer:

B Primary Key

Explanation:

I think it is Primary Key but you can just make sure

This finding maximum number function will keep on going until we reach at the last value
[12, 18, 299, 38, 999, 89, 101, 500, 801, 45]

Answers

In which algorithm first the maximum element is found and then placed at the end?
Heapsort algorithm
The Heapsort algorithm involves preparing the list by first turning it into a max heap. The algorithm then repeatedly swaps the first value of the list with the last value, decreasing the range of values considered in the heap operation by one, and sifting the new first value into its position in the heap.

Write a function called no_you_pick. no_you_pick should have two parameters. The first parameter is a dictionary where the keys are restaurant names and the values are lists of attributes of those restaurants as strings, such as "vegetarian", "vegan", and "gluten-free".
#
#The second parameter is a list of strings representing of necessary attributes of the restaurant you select.
#
#Return a list of restaurants from the dictionary who each contain all the diet restrictions listed in the list, sorted alphabetically. If there are no restaurants that meet all the restrictions, return the string
#"Sorry, no restaurants meet your restrictions". Types of diet restrictions that exist in this question's universe are: vegetarian, vegan, kosher, gluten-free, dairy-free
#
#For example:
#grading_scale = {"blossom": ["vegetarian", "vegan", "kosher", "gluten-free", "dairy-free"], \
# "jacob's pickles": ["vegetarian", "gluten-free"], \
# "sweetgreen": ["vegetarian", "vegan", "gluten-free", "kosher"]}
#guests_diet = ["dairy-free"]
#no_you_pick(grading_scale, guests_diet) -> ["blossom"]


#Write your code here!
def no_you_pick(restaurants, preferred_diet):
result = []
for i in preferred_diet:
for key, value in restaurants.items():
# print(value)
if i in value:
result.append(key)
result.sort()
return result
return "Sorry, no restaurants meet your restrictions"

#Below are some lines of code that will test your function.
#You can change the value of the variable(s) to test your
#function with different inputs.
#
#If your function works correctly, this will originally
#print: blossom
grading_scale = {"blossom": ["vegetarian", "vegan", "kosher", "gluten-free", "dairy-free"], \
"jacob's pickles": ["vegetarian", "gluten-free"], \
"sweetgreen": ["vegetarian", "vegan", "gluten-free", "kosher"]}
guests_diet = ["dairy-free"]
print(no_you_pick(grading_scale, guests_diet))
**My code doesn't seem to work, any help with it I'll really appreciate it!**

Answers

Answer:

...

Explanation:

Is there anything you should be doing and / or do better at home to make sure your computer is always clean and running efficiently?

Answers

Answer:

Using the proper computer equipment and regularly performing a few small maintenance activities will help to keep your computer running smoothly and efficiently.

Organize your installation disks

Protect Your Computer Equipment from Power Surges. ...

Defragment Your Hard Drive. ...

Check Your Hard Disk for Errors. ...

Backup Your Data.

Update everything

Clean up your software.

Run antivirus and spyware scans regularly.

Explanation:

apply the fade transition with smoothly effect to all slides in the presentation​

Answers

Answer:

12

Explanation:

its very long answer so that it is that

Describe the user interface in other high-technology devices commonly found in the home or office, such as a smartphone, HD television, fitness watch, or microwave oven. Pick one specific device and discuss how well its interface is designed and how easy it is to use. Does the device use the same techniques as computer system interfaces, such as menus and icons

Answers

Answer:

Explanation:

Different technologies use different user interface designs in order to make the user experience as easy and intuitive as possible. This varies drastically from one device to another because of the capabilities and size of each device. If we take a fitness/smart watch into consideration, this device does not use pop up menus or side scrolling menus but instead uses large full screen menus where each option nearly fills the entire screen. That is done because the smart watch screens are very small and making everything full screen makes reading and swiping through options that much easier for the user. If the user interface were the same as in a television or smartphone it would be impossible to navigate through the different options on such a tiny screen.

What is the default zoom percentage in Word?

50%
100%
150%
200%

Answers

Answer:

The default zoom percentage in Word is 100%.

Answer:

100

Explanation:

Write a C++ function, smallestIndex, that takes as parameters an int array and its size and returns the index of the first occurrence of the smallest element in the array. To test your function, write a main that prompts a user for a list of 15 integers and outputs the index and value of the first occurrence of the smallest value.

Answers

Answer:

Explanation:

The code in C++ is written as:

#include <iostream>

using namespace std;

int smallestIndex(int arr[],int size)

{

int min=arr[0],ind=0;

for(int i=0;i<size;i++)

{

if(min>arr[i])

{

min=arr[i];

ind=i;              NOTE: ind serves as a variable that is holding the smallest

}                                   element index of array

 

}

return ind;

}

int main() {

int arr[15];

cout<<"Enter 15 integers: ";

for(int i=0;i<15;i++)

cin>>arr[i];

for(int i=0;i<15;i++)

cout<<arr[i]<<" "<<endl;

int index=smallestIndex(arr,15);

cout<<"The position of the first occurrence of the smallest element in list is: "<<index<<endl;

cout<<"The smallest element in list is: "<<arr[index];

}

OUTPUT:

Enter 15 integers:

4

5

8

4

6

1

2

1

4

5

7

9

5

7

8

4   5  8  4  6  1  2  1  4  5  7  9  5  7  8  

The position of the first occurrence for the smallest element in the list is 5

The smallest element in the list is: 1

the processes of only seeing only some records frome data table is called as what​

Answers

Explanation:

For other uses, see Table. An example table rendered in a web browser using HTML. A table is an arrangement of data in rows and columns, or possibly in a more ... The first row is not . is called Html

Please NEED HELP ASAP WILL MARK BRAINLIEST ONLY #8

Answers

Answer:

I think its A

Explanation:

Write a public member function removeRandom that removes a random element from the ArrayBag. This method should also return a boolean indicating whether an element was actually removed

Answers

Answer:

Explanation:

The following code is written in Java. It is a function that takes in the ArrayList called ArrayBag as a parameter and randomly removes one of the elements in the ArrayList. As long as the ArrayBag has at least 1 element it will return true otherwise it will return false.

public static boolean removeRandom(ArrayList ArrayBag) {

               Random rand = new Random();

               

               if (ArrayBag.size() > 0) {

                       int randomNumber = rand.nextInt(ArrayBag.size());

                       ArrayBag.remove(randomNumber);

                       return true;

               } else {

                       return false;

               }

       }

Create a method named replaceCastMember that allows the name of a castMember at an index in the castMembers array to be changed. The method should take in 2 arguments, the int index and the String castMemberName. The method should return a true if the replacement was successful, false otherwise. (Note: Only update the castMember in the array if the index is valid)

Answers

Answer:

Explanation:

The following code is written in Java. It is a method that takes in the two parameters as requested and checks whether or not the index exists in the array. If it does then it replaces the String in that Index with the new castMemberName String parameter that was given. If the replacement is successful then it returns a True boolean, if not then it returns a False boolean. The array being used must be named castNames and have a global scope to be accessible by the method since it is not passed as a parameter.

public static boolean replaceCastMember(int index, String castMemberName) {

               System.out.println(castNames.size());

               if (index <= castNames.size()) {

                       castNames.remove(index);

                       castNames.add(index, castMemberName);

                       return true;

               } else {

                       return false;

               }

       }

You are reviewing the output of the show interfaces command for the Gi0/1 interface on a switch. You notice a significant number of CRC errors displayed. What are the most likely causes

Answers

Answer:

Collision or electromagnetic interference (EMI)

Explanation:

Some network cables connected to switch or router ports are prone to internal collision (between two frames or packets) and external collision with electromagnetic waves from other sources (EMI).

Electromagnetic waves are also known as radio waves or signals. When they are transmitted, the network cable acts as a receiver, the received signal interferes with the packet in the cable. This is why the cyclic redundancy check (CRC) throws an error.

In the program below, numA is a
def multiply(numA, numB):
product = numA* numB
return product
answer = multiply(8,2)
print (answer)

parameter

qualifier

accumulator

return value

Answers

Answer:

parameter

Explanation:

In the function 'multiply' you can pass values in that are to be used inside the function. These are called 'parameters' and are in parentheses after the function name.

- A qualifier is a name that adds extra information, such as 'final' to prevent reassignment

- An accumulator is a variable you use to sum up a bunch of values

- A return value is a mechanism to pass the result of a function back to the calling program (into 'answer' in above example).

the best presentations try to include as much text as possible on each slide true or false ​

Answers

true is answered of that question
Other Questions
How has Reverend Hale changed? What is the purpose behind this change What is the slope of (-3,-5)(-6.-11) p(x)=2x3-3x2+14x15 and why? A sample of 11 students using a Ti-89 calculator averaged 31.5 items identified, with a standard deviation of 8.35. A sample of 12 students using a Ti-84 calculator averaged 46.2 items identified, with a standard deviation of 9.99. Can we conclude that the mean number of times identified with the Ti-84 calculator exceeds that of the Ti-89 calculator by more than 1.80 sner mer-----//---------\\--\/--//------\\--//----\\//----()-----------()---\/----()------()----------()---- = ----()--------------()----()---------()----- -----()------()-------- --------()-----()--------- ---------()-----()--------- ---------()------()-------- --------()------------()()()()() Can you please translateon Saturday and I prefer in french Using a disguised name, Ben sends threat mails and bullies his school friends on various online forums. This is an example of deindividuation that is primarily based on _____. Write a program that prompts the user to input a string and outputs the string in uppercase letters. (Use a character array to store the string.) Dillon is writing about an event in Esperanza Rising.They were in a large clearing, surrounded by grape fields. Row upon row of white wooden cabins formed long lines, connected like bunkhouses. Each cabin had one small window and two wooden steps that led to the door.Which writing best describes Esperanzas reaction to her new home?Esperanza is disappointed with the work cabins. In her mind, they are not as nice as the servants cabins in Mexico. They remind her of horse stables. She hears people speaking in English and wonders if she will ever fit in here.Esperanza is pleased with the work cabins. They are not as spacious as her old home, but she sees many people playing and working outside. She hopes to make new friends.Esperanza is homesick for her old home. She sees the new cabins and cries to her mother. She hopes that she will soon be able to return to Mexico to her beautiful house in Aguascalientes.Esperanza is excited about living somewhere new. She feels like having a new adventure, and she is happy to meet new people and learn how to work outside. The nucleus is found in the center of an atom options: True False 20 POINTS510a22b5c102d2 The nation is currently experiencing a period of rising prices. Inflation is making consumer goods increasingly difficult to afford as wages have remained constant. As a member of Congress, what changes would you suggest to fiscal policy to balance the budget and indirectly address inflation? Suggest at least two specific changes to revenue and expenditures. Electrons that provide the energy for the production of most of a cell's ATP are carried to the electron transport cham by molecules. Someone please explain, it's most of my homework! I already did half the problem! Ellie bought 5 cups of apple juice and 7 sandwiches for $25.00. Jim bought 2 cups of apple juice and 3 sandwiches for $10.50. How much did each cup of apple juice cost? How much did each sandwich cost. I set up the equations 5a+7s=25 and 2a+3s=10.5. How do I solve them? what is dark matter can we travel faster than speed of lightwhat is chlorophyll Larry is 8 years older than his sister. Two times Larry's age is five morethan three times his sister's age. How old is Larry now? 2. The Youngs decided to book the room at the price that Mrs. Young was given, $1879, because it included breakfast for both of them for the entire stay. The travel agent could not match that price. At the end of the trip, Mr. Young received a bill showing a pre-tax amount of $1879. The tax is 8.5%. When the Youngs went to check out, they told the front desk that the refrigerator in the room had not worked during the majority of their time there. The hotel decided to give them a 5% discount off the pre-tax amount. Mr. Young says the new total will be $1944.77. He shows Mrs. Young how he found the new total.Since we have to add 8.5% tax and subtract 5% for the discount, this means we will add 3.5% in the end.8.5 5 = 3.5Therefore, we just need to multiply the cost of the room by 3.5% and add this number to the cost of the room to determine what we owe.3.5% x 1879= 0.035 x 1879= 65.765, which rounds to $65.77. Add $65.77 to the total $1879 to get $1944.77.Explain why Mr. Youngs calculations are incorrect. What is the correct total? Show your work. Round your answers to the nearest cent. Sue has 85 flowers she puts them in seven vases with the same number of flowers in each vase except one how many flowers are in the vase with the greatest number of flowers Which of these is the best source of information about a health product? I need help(practice quiz)