A company Digicom Parts manufactures 2 types of unique products for laptop and desktop computers. It manufactures 10 types of laptop 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.

Answers

Answer 1

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:

https://brainly.com/question/24793921


Related Questions

BEBE
What options does the Table Tools Layout contextual tab contain? Select three options.
O modify text direction
change font
insert rows and columns
O add border and shading
O split table

Answers

Answer:

Modify text direction.change font, and insert row and coulumns

Explanation:

Answer:

What options does the Table Tools Layout contextual tab contain? Select three options.

modify text direction

insert rows and columns

split table

Explanation:

The program allows the user to type in any linux command and then executes that command, such as "pwd" or "echo". The problem is that it should allow multiple commands to be typed in and executed at the same time, but it only allows one at a time currently. Please help fix it so it allows multiple commands to be typed and executed.
Code:
#include
#include
#include
#include
#include
#include
void parse(char *line, char **argv)
{
while (*line != '\0') { /* if not the end of line ....... */
while (*line == ' ' || *line == '\t' || *line == '\n')
*line++ = '\0'; /* replace white spaces with 0 */
*argv++ = line; /* save the argument position */
while (*line != '\0' && *line != ' ' &&
*line != '\t' && *line != '\n')
line++; /* skip the argument until ... */
}
*argv = '\0'; /* mark the end of argument list */
}
void execute(char **argv)
{
pid_t pid;
int status;
if ((pid = fork()) < 0) { /* fork a child process */
printf("*** ERROR: forking child process failed\n");
exit(1);
}
else if (pid == 0) { /* for the child process: */
if (execvp(*argv, argv) < 0) { /* execute the command */
printf("*** ERROR: exec failed\n");
exit(1);
}
}
else { /* for the parent: */
while (wait(&status) != pid) /* wait for completion */
;
}
}
void main(void)
{
char line[1024]; /* the input line */
char *argv[64]; /* the command line argument */
while (1) { /* repeat until done .... */
printf("Enter Shell Command -> "); /* display a prompt */
fgets(line, 1024, stdin); /* read in the command line */
printf("\n");
parse(line, argv); /* parse the line */
if (strcmp(argv[0], "exit") == 0) /* is it an "exit"? */
exit(0); /* exit if it is */
execute(argv); /* otherwise, execute the command */
}
}
This function receives a commend line argument list with the */ /* the first argument being cd and the next argument being the */ /* directory to change.

Answers

Where is the question

I wake up the computer and remind it what to do ​

Answers

Answer:

what's the question or answer you want or is it a joke?

Explanation:

You enter a hardware store where you have an account, pick up a pair of $5.00 pliers, and wave them at the manager as you leave the store. This would be an example of a(n):

Answers

Shoplifting! Did he pay for those?!?!

The given situation is an example of shoplifting.

What is hardware?

All the mechanical components made of simply plastic or metal used in houses or industries are termed as hardware.

You enter a hardware store where you have an account, pick up a pair of $5.00 pliers, and wave them at the manager as you leave the store.

This gives an idea of the shoplifting, as he hold the account with them. He doesn't need to pay every time he buys anything.

This, this would be an example of shoplifting.

Learn more about hardware.

https://brainly.com/question/15232088

#SPJ2

Internet privacy refers to the level of information sharing on the web collected through web cookies, caches, and browsing history true or false

Answers

The level of information sharing on the web that are mainly collected through web cookies, caches, and browsing history of a web browser is referred to as Internet privacy: True.

A web browser can be defined as a software program that is typically designed and developed for viewing a HTML document or browsing the Internet.

An Internet privacy refers to the level of privacy protection an end user has while browsing the Internet, especially with reference to the vast range of protocols, technologies, and frameworks (concepts) that are deployed.

This ultimately implies that, Internet privacy relates to the level of information sharing on the web that are mainly collected on a web browser through the following means:

Web cookiesCachesBrowsing history

Read more: https://brainly.com/question/3840341

what is the full form of computer​

Answers

Answer:

Common Operating Machine Purposely Used for Technological and Educational Research

Explanation:

"A computer is a general-purpose electrical device that is used to do arithmetic and logical processes automatically," according to some.

When do you think is the right time to use Styles,

Answers

Answer:

1. Democratic Management Style

2. Coaching Management Style

3. Affiliative Management Style

4. Pacesetting Management Style

5. Authoritative Management Style

6. Coercive Management Style

7. Laissez-Faire Management Style

8. Persuasive Management Style

smart art is considered a​

Answers

Explanation:

visual representation of information and ideas, and a chart is a visual illustration of numeric values or data. Basically, SmartArt graphics are designed for text and charts are designed for numbers. Use the information below to decide when to use a SmartArt graphic and when to use a chart.

Game Changer Technologies has four software teams. Each of them is developing four different examples of its new game app. Which software development methodology is used by the Game Changer teams

Answers

The software development methodology used by the Game Changer teams is called; Prototyping

We are given that;

- Game changer technologies has four software teams

- Each of the teams develops 4 different examples of the new game app.

Now, since each of them is developing four four different examples of its new game app, the method being used is called prototyping. This is because prototyping is referred to as the early approximation of the final system of a product whereby such a product is built, tested and rebuilt if required until an acceptable prototype is achieved.

When the acceptable prototype is gotten, then it will be used to develop its final game app.

Read more about prototype at; https://brainly.com/question/25824140

Match the vocabulary to the appropriate definition.
•Organizes data to allow it to be easily retrieved
and read
•Extremely versatile data structures
•Pulling related code together in objects
•Helps programmers when they revisit code or
are new to the code
•Storing code in a centralized servers
*Arrays
*Data Structures
*Hierarchies
*Repository
*Documentation

Answers

Answer:

Pulling related code together in objects is Arrays

Helps programmers when they revisit code or are new to code-- Documentation

Explanation:

This is all I know

Good documentation Helps programmers when they revisit code or are new to the code.

What is good documentation?

Good Documentation is known to be the guidelines that helps one or allows one to follows the steps for  recording raw data entries in a legible, right and reproducible way.

Note that Good documentation Helps programmers when they revisit code or are new to the code.

Learn more about code from

https://brainly.com/question/4514135

#SPJ1

Other Questions
May I please receive help? Which sentence from this conclusion paragraph is most likely part of the summary of the main points? (1) Both speeches show how skillfully manipulated language can be used to change people's minds. (2) Brutus explains that his love for Caesar is the reason for his death, and the crowd supports him. (3) Then Antony provides evidence that shows Brutus is wrong, and the crowd believes him too. (4) So, Shakespeare's lasting message is that language is a powerful tool. (5) This is as true today as it was in Shakespeare's time. Read the following sentence. We weren't sure if we wanted to go east or west, so decided to go to the intercity shopping mall. If the affix inter- means between, what does the word intercity mean? O A disreputable place in a city In the middle of, or between cities O On the outskirts of a city Outside of city limits Pete grabbed 18 mixed nuts, StartFraction 2 Over 9 EndFraction of which were almonds. Which equation shows how to determine the number of almonds Pete grabbed? What is this game called? I really need this question answered When the North Vietnamese attacked Phuoc Long, they were testing the United States to see if the U.S. would _____.send the U.S.S. Maddox to the Gulf of Tonkininvade Cambodiasend military advisors to the NLFreenter the conflict Gum disease, as it worsens, progresses from____to____ 7+xy is a ______( type of polynomial) Given logv5 3 0.6826 and logv5 8 1.2920, evaluate the expressions.A) logv5 2B) logv5 (75/8) 1. Every ( person / people) in your family went to the same school.2. (Some / any) friends of mine are studying abroad.3. I have never drunk ( some/any) alcoholic drinks before . 4. Rabies (was/were) used to be unable to cure.5. How many (fish/ fishes) did you buy?6. It is (a/an) honor to recerive this reward.7. I have only (a/one) T-shirt to wear.8. How (many/much) kilos of flour do you need?9. Are there any ( mice/ mouse) in your house?10. I have never seen any ( aircraft/ aircrafts) before. _______________________________________________________________ Which expression is equivalent to (x+3)+y?A: x+(3+y)B: x(3+y)C: (x+3)+(x+y)D: (x+3)+(3+y) Why were armies positions moved so little during WWl Drag and drop the answers to the boxes to correctly complete the proof.Given: Rhombus JKMH with diagonals intersecting at point PRhombus J K M H with diagonals J M and H K intersecting at PProve: JMHKBy the definition of Response area, JKKM and by the reflexive property of congruence, KPKP . Because the diagonals of a rhombus bisect a pair of opposite angles, JKPMKP , making JKPMKP by the Response area. Because Response area, JPKMPK, and these angles are right angles because two angles that form a linear pair are congruent, thereby making JMHK by the definition of perpendicular segments.Response area means blank The answers are Congruent segments, a rhombus, a parallelogram, SSS congruence postulate, ASA congruence postulate, SAS congruence postulate, CPCTC, they are adjacent, and vertical angles are congruent If TU = 6 units, what must be true?O SU + UT = RTO RT + TU = RS RS + SU = RUTU + US = RS Find the area of an equilateral triangle with side length 4.6 cm. Round your answer to 1 DP. Help...? Thanks! No links a sweater was on 20% discount. the amount of discount was $7 what was the original price? What should I do in this situation?? (No links, trolls or copy and paste) My mums b0yfriend keeps m3ntally hUrting me. He makes me have panic aTTacks and he makes me Upset all the time. he always says "no" when I ask him something....What should i do?? Question 4 of 5Which word completes the analogy?lizard : reptile : orange :A. ballB. animalC. fruitD. apple