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
faust18 [17]
3 years ago
15

A company Digicom Parts manufactures 2 types of unique products for laptop and desktop computers. It manufactures 10 types of la

ptop products and 42 types of desktop products. Each product manufactured by the company has a unique productID from a-z and A-Z. The laptop product have productID (a, i, e, o, u, ALE, O, U) while the rest of the productIDs are assigned to the desktop products. The company manager wishes to find the sales data for the desktop products. Given a list of productIDs of the sales of the last N products, write an algorithm to help the manager find the productIDs of the desktop products.
Computers and Technology
1 answer:
Alisiya [41]3 years ago
6 0

Algorithms are used as a prototype of an actual program, during project design.

The algorithm the manager can use to find the productID of the desktop products is as follows:

Start

i = 0

if i > N, then Exit:

  Input productID:

       If productID.upper() == 'A' or 'I' or 'E' or 'O' or 'U':

                 Process data as desktop products

  i++

Go to step 2

Stop

Note that algorithms do not conform to programming syntax.

Read more about algorithms at:

brainly.com/question/24793921

You might be interested in
Chances are if you ar Chances are, if you are involved in a crash, it will happen __________ a. during a long trip. b. close to
JulijaS [17]
During a long trip. Hope this helps!
6 0
3 years ago
Read 2 more answers
The hot wires in a service entrance panel are most likely to be covered with ________ insulation. A. red B. green C. gray D. whi
exis [7]
The hot wires in a service panel is always covered with red or black. Please don't mix those up with any other colors because the results won't be good! You're welcome in advance.
8 0
4 years ago
How do you determine if a name is a variable holding a value or if it is a function call?
11Alexandr11 [23.1K]

The way to determine if a name is a variable holding a value or if it is a function call is by:

  • Instance variables are prefixed with self.

<h3>What is this call about?</h3>

A function call is known to be a kind of an expression that has the function name which is said to be accompanied by the function call operator, () .

Note that The way to determine if a name is a variable holding a value or if it is a function call is by:

  • Instance variables are prefixed with self.

See full question below

How do you determine if a variable in a method is an instance variable for the class?

a) Instance variables have leading underscores in their names.

b) Instance variables are prefixed with self..

c) Instance variables start with a capital letter.

d) all of the above

e) none of the above

Learn more about function call from

brainly.com/question/15071685

#SPJ11

5 0
2 years ago
The Word feature that would allow you to insert fields from an Access database into multiple copies of a Word document is called
Arte-miy333 [17]

Answer:

Mail Merge.

Explanation:

Microsoft Word refers to a word processing software application or program developed by Microsoft Inc. to enable its users type, format and save text-based documents.

Microsoft Access can be defined as a software application or program designed by Microsoft corporation to avail end users the ability to create, manage and control their database.

A Mail Merge is a Microsoft Word feature that avails end users the ability to import data from other Microsoft applications such as Microsoft Access and Excel. Thus, an end user can use Mail Merge to create multiple documents (personalized letters and e-mails) at once and send to all individuals in a database query or table.

Hence, the Word feature that would allow you to insert fields from an Access database into multiple copies of a Word document is called Mail Merge.

3 0
3 years ago
Write an if-else statement with multiple branches. If givenYear is 2100 or greater, print "Distant future" (without quotes). Els
Elanso [62]

Answer:

The program to this question in java can be given as

import java.util.Scanner;

//import package for take input from user.

public class Main //define class

{

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

{

Scanner input = new Scanner(System.in);

System.out.println("Enter a number:");

int givenYear=input.nextInt();

//if condition true output is "Distant future" (without quotes).

if (givenYear >= 2100)

{

System.out.print("Distant future");

}

// else if condition(2000-2099) true output is "21st century".

else if((givenYear >= 2000) && (givenYear <= 2099))

{

System.out.print( "21st century");

}

//else if condition (1900-1999) true output is "20th century".

else if((givenYear >= 1900) && (givenYear <= 1999)){

System.out.print( "20st century");

}

//else condition false output is "Long ago".

else{

System.out.print( "Long ago");

}

}

}

Explanation:

In this program we use the scanner class. Scanner class is used to take input from the user.When the user input the input the year. It hold on a variable(givenYear) that is integer type.Then we check the value between the ranges that is given in question.To check all the condition we use the if-elseif-else statement, and AND(&&) operator.AND operator is a logical operator that is used for compare two values together. The output of the program can be given as:

Output:

Enter a number: 2016

21st century

5 0
3 years ago
Other questions:
  • What protocol must be supported by routers in order to utilize remote assistance easy connect?
    10·1 answer
  • To transfer data packets between two or more networks, a ________ is used.
    11·1 answer
  • Which of these shortcuts becomes available only when text is highlighted?
    10·1 answer
  • URLs are directions that browsers follow in order to find specific web page files. What is the first part of the URL that is the
    14·1 answer
  • Your mom calls you. She is creating a book of poetry. Many of these poems only take up the first half of a document . She asks i
    10·2 answers
  • For this scenario related to turtle drawing, indicate whether it is better to write a loop or a function (or a set of functions)
    13·1 answer
  • Which among the following shortcut key is used to check spelling​
    12·2 answers
  • What term is used to refer to the requesting of information from a database?
    10·2 answers
  • From which latin word the word computer is derived​
    7·1 answer
  • Different between embedded computer &amp;<br> Micro controllers
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!