1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
12345 [234]
4 years ago
13

Consider the following statements: struct supplierType { string name; int supplierID; }; struct paintType { supplierType supplie

r; string color; string paintID; }; paintType paint; What is the data type of paint.supplier?
Computers and Technology
1 answer:
Romashka [77]4 years ago
3 0

Answer:

The answer is "supplierType"

Explanation:

Description of the code:

  • In the given program two structure is defined, that is "supplierType and paintType", in which "supplierType" structure two-variable name and "supplierID" is defined, that datatype is "String and integer".
  • In the next step, "paintType" is declared, in which "supplierType" object supplier is created, in which two string variable "color and paintID" are defined, in which "supplierType" data type is supplied.
You might be interested in
Brainiest To Best Answer!! Java coding help, can you tell me what Switch and Case does using the example below?
fiasKO [112]
The switch statement is an n-way branch. An n-way branch can branch to any of an arbitrary number ( n ) of branches. An if statement can branch two ways, whether the condition is true or false.

The example you gave is a great example of how how code is written can make the code make sense or not.

public void setQuiz( int quiz, int grade )
{
  switch( quiz )
  {
    case 1: // if quiz == 1
      grade1 = grade; //where was grade1 declared?
      break;  // otherwise execution will continue through the next case block
    case 2: // if quiz == 2
      grade2 = grade;
      break;
  }
}

The variable named in the switch statement is tested against each case statement and whichever case statement's value matches, the rest of the switch statement's code is executed. (That's why the break statements are needed) Usually switch statements are written with a default case at the end as a "catchall".
4 0
4 years ago
What are concepts and accrual​
Darya [45]

Answer:

umm oh nvrm i forgot

Explanation:

4 0
3 years ago
Read 2 more answers
How many worksheets display in the excel window when you create a new blank workbook?
zalisa [80]
By default it is 3 worksheets.  By default it is 3 worksheets. But it could be some settings that can change this quantity
4 0
4 years ago
The more _____ a thumb drive has, the more storage capability it will provide. Hertz, bytes or pixels. The more _____ a micropro
beks73 [17]

Answer:

a) bytes

b) hertz

c) 1) hertz  and 2) bytes

Explanation:

A byte is the basic unit of information and data stored in a computer storage.  Hence, the storage capability of a drive will be measured in Bytes. On the other hand speed of processor is measured in terms of number of cycles made per second i.e hertz. Hence, the higher the value of hertz the higher is the speed of the computer.

5 0
3 years ago
Assume that an array of integers named a that contains exactly five elements has been declared and initialized. Write a single s
Alik [6]

array[0] = 2 * array[4];

5 0
3 years ago
Other questions:
  • You have created a number of different documents using several applications including word, excel, and powerpoint. these files a
    10·1 answer
  • Question 4 of 10
    5·1 answer
  • What software is typically used for larger systems?
    11·1 answer
  • 11. If the following pseudocode were an actual program, what would it display:
    6·2 answers
  • Where can I easily find an easy app or program to use for making/editing videos?
    13·1 answer
  • A man has a set of n keys, one of which fits the door to his apartment. He tries the keys randomly, throwing away each ill-fitting
    10·1 answer
  • Was the type writer the first part of the keyboard? ​
    8·1 answer
  • 1.Customer service is assistance provided by a company to the people who buy or use its products or services.
    13·2 answers
  • Select the functions in the Insert tab in PowerPoint.
    8·1 answer
  • A ____________________ machine is used to gather or arrange in their proper sequence.
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!