guys can you please help

Guys Can You Please Help
Guys Can You Please Help

Answers

Answer 1

Instruction 1: (0:0:6) = 6,0,9,0,2,3. This instruction seems to be the initialization of some variables. It is not clear what the variables are, but we can assume that they are necessary for the rest of the program to work. There does not appear to be any bugs or potential bugs in this instruction.

How to explain the program

Instruction 2: (0:1:2) = 1,0

This instruction sets a variable to 10. There does not appear to be any bugs or potential bugs in this instruction.

Instruction 3: (0:2:2) = 2,5

This instruction sets a variable to 25. There does not appear to be any bugs or potential bugs in this instruction.

Instruction 4: (0:3:2) = 3,4

This instruction sets a variable to 34. There does not appear to be any bugs or potential bugs in this instruction.

Instruction 5: (0:4:2) = 4,7

This instruction sets a variable to 47. There does not appear to be any bugs or potential bugs in this instruction.

Instruction 6: (1:0:4) = 5,0,0,1

This instruction seems to be the start of a loop that will iterate over the three invoice lines. The loop counter is initialized to 1. There does not appear to be any bugs or potential bugs in this instruction.

Instruction 7: (1:1:3) = 1,5,0. This instruction retrieves the quantity of the current invoice line (line 1 in the first iteration of the loop). The quantity is 1. There does not appear to be any bugs or potential bugs in this instruction.

Instruction 8: (1:2:2) = 0,2

This instruction retrieves the price of the current invoice line (line 1 in the first iteration of the loop). The price is 2. There does not appear to be any bugs or potential bugs in this instruction.

Instruction 9: (1:3:4) = 0,0,1,0. This instruction multiplies the quantity by 10 and adds the result to the price. The result is stored in a variable. There does not appear to be any bugs or potential bugs in this instruction.

Instruction 10: (1:4:3) = 3,0,0. This instruction retrieves the second digit of the result calculated in instruction 9 (the tens digit). There does not appear to be any bugs or potential bugs in this instruction.

Learn more about Program on

https://brainly.com/question/26134656

#SPJ1


Related Questions

psychological well-being of people who may be overwhelmed by instant messaging​

Answers

Instant messaging can have both positive and negative effects on psychological well-being, depending on how it is used and the individual's personal preferences and tendencies. Here are some potential ways that instant messaging could impact the psychological well-being of people who may be overwhelmed by it:

Positive effects:

- Social support: Instant messaging can provide a sense of social connectedness and support, especially for people who may feel isolated or lonely. Being able to easily reach out to friends or family members through instant messaging can help individuals feel less alone and more supported.
- Convenience: Instant messaging can be a convenient way to communicate, especially for people who may have difficulty with face-to-face interactions or phone calls. It allows for asynchronous communication, meaning that messages can be sent and received at any time, which can be helpful for people with busy schedules or who have difficulty with real-time conversations.
- Reduced anxiety: For some people, instant messaging can be less anxiety-provoking than other forms of communication, such as phone calls or face-to-face conversations. This may be especially true for people with social anxiety or other mental health conditions that make social interactions more difficult.

Negative effects:

- Information overload: Instant messaging can be overwhelming for some people, especially if they receive a large volume of messages or feel pressured to respond quickly. This can lead to stress and feelings of being overwhelmed, which can negatively impact psychological well-being.
- Interruptions: Instant messaging notifications can be distracting and interrupt people's work or other activities. This can lead to decreased productivity and increased stress.
- Social comparison: Instant messaging can also contribute to social comparison, as people may compare their lives to those of their friends or colleagues based on the messages they receive. This can lead to feelings of inadequacy or low self-esteem.

Overall, the impact of instant messaging on psychological well-being will depend on a variety of factors, including how it is used, individual preferences, and the individual's mental health status. It's important for individuals to be aware of how they are impacted by instant messaging and to take steps to manage their use if it is negatively impacting their well-being.

The statement that; psychological well-being of people who may be overwhelmed by instant messaging​ is true.

What is instant messaging?

Without a doubt, the widespread usage of instant messaging has changed how we communicate, making it simpler to engage with others in real time. However, having continual access to instant messaging has the potential to have severe consequences on some people's psychological health, particularly for those who can get overburdened by its use.

Constant notifications and the need for quick replies can increase stress and anxiety by instilling a sense of urgency and pressure. The drive to always be available and the fear of missing out (FOMO) can be debilitating.

Learn more about instant messaging:https://brainly.com/question/29105572

#SPJ2

Missing parts;

psychological well-being of people who may be overwhelmed by instant messaging​ T/F

use document.write to output the solution of 12*6​

Answers

Answer:

below

Explanation:

it has the coding for what you need. Brainly doesn't let me write it

1 Discuss in detail a point included when implement ICT policy
2 What is the responsibility of school relating to ICT?​

Answers

Identify health and safety issues regarding the use of ICT resources. Plan training opportunities for staff to develop their skills and understanding in ICT. Include audits of both technical aspects (eg an inventory of serial numbers of equipment and licences) and ICT skills (eg staff capability).ICT enables the use of innovative educational resources and the renewal of learning methods, establishing a more active collaboration of students and the simultaneous acquisition of technological knowledge. Furthermore, ICTs are of great help in developing discernment.

Explanation: is this correct for u? I hope that it is

PatJohn has made a backup copy of his most important files onto a removable drive. What should PatJohn do next?

Question 1 options:

-Copy the backup to the cloud
-Nothing, he is done
-Store the backup in a secure location
-Test the backup to make sure it works

Answers

After making a backup copy of his most important files onto a removable drive, PatJohn should B. store the backup in a secure location.

Why should the backup be stored ?

Storing the backup in a secure location is important to protect the backup from theft, damage, or loss. The secure location could be a locked drawer, safe, or off-site location such as a safety deposit box.

By storing the backup in a secure location, PatJohn can ensure that he will still have access to his important files in case of a disaster or other unforeseen events.

Find out more on backup at https://brainly.com/question/30562999

#SPJ1

9
Select the correct answer.
A copy center uses a spreadsheet (shown below) to track the number of pages it prints per day. These are the entries from last week. The blank cells stand for days on which no print orders came.

What formula can you use to find the total number of days on which pages were NOT printed?

A.
=COUNT(B3:B7)
B.
=COUNT(B2:B8)
C.
=COUNT(B2,B8)
D.
=7-COUNT(B2:B8)
E.
=8-COUNT(B2:B8)

Answers

The correct formula to find the total number of days on which pages were NOT printed is D. = 7 - COUNT(B2:B8)

Why is this the correct formula ?

This is because there are 7 days in the week, so we need to subtract the number of days on which pages were printed (which is the count of the non-blank cells in the range B2:B8) from 7 to find the number of days on which pages were not printed.

For example, in the given spreadsheet, there were 4 days on which pages were printed (cells B3, B4, B5, and B7 are not blank). Therefore, the total number of days on which pages were NOT printed is 7-4=3.

Find out more on correct formulas at https://brainly.com/question/7160363

#SPJ1

program to find a factorial in c language by calling a function factorial()

Answers

#include <stdio.h>

int factorial(int n) {

   return (n == 0 || n == 1) ? 1 : n * factorial(n-1);

}

int main() {

   

   //Print factorial.

   int input;

   scanf("%d", &input);

   printf("%d", factorial(input));

   

   return 0;

}

HELP PLEASE I REALLY NEED HELP ON MY CODE HELP!
https://jsfiddle.net/kayleeervin/p5ursw89/3/
if you cant get in go to jsfiddle and type in this
function playGane() {
let playerChoice = prompt("Choose: Rock, Paper or Scissors");
let computerChoice = Math.random();
if (computerChoice < 0.34)(
computerChoice "rock";
}
else if (computerChoice = 0.67) {
computerChoice = "paper";
} else {
computerChoice = "scissors";
}
alert("Computer chose: " + computerChoice);

function compareChoices(player, computer)(
if (player as computer) {
return "It's a tie!";
} else if (player === "rock") {
if (computer === "scissors") {
return "You win!";
} else {
return "Computer wins!"
} {
{} else if (layer "paper")
if (computer a "rock") {
return "You win!";
} else {
return "Computer wins!";
}
else if (player "scissors")
if as "paper") {}
(computer
return "You win!";
}
else {
return "Computer wins!";
}
}
}
alert(compareChoices(playerChoice.toLowerCase(), computerChoice));
let playAgain confirm("Do you want to play again?");
if (playAgain) {
playGame():
} else {
alert("Thanks for playing!");
}
}
playGame();

Answers

There are some syntax errors in the code that is provided. Below given are some suggested fixes.

What is syntax errors?

When you write code that does not follow the syntax rules of the programming language you are using, you make a syntax error.

When you attempt to run or execute the code, the compiler or interpreter will typically catch these errors.

1. On line 5, there is a syntax error. You need to use the assignment operator (=) instead of the comparison operator (==) to assign the value "rock" to the computerChoice variable. Replace the line with:

computerChoice = "rock";

2. On line 13, there is a syntax error. The opening curly brace ({) should be placed after the condition, not before it. Replace the line with:

} else if (player === "rock") {

3. On line 15, there is a syntax error. The closing curly brace (}) should be placed after the else statement, not before it. Replace the line with:

} else {

4. On line 17, there is a syntax error. The opening curly brace ({) is unnecessary and should be removed.

5. On line 19, there is a syntax error. The closing curly brace (}) is unnecessary and should be removed.

To know more about programming language visit:

https://brainly.com/question/30438620

#SPJ1

pls asap Casey's teacher needs to give him feedback on his history essay, including about his grammar and spelling. What's the MOST likely way they'll deliver this feedback?

Question 1 options:

by writing comments on his paper


by verbally telling him all the things they found wrong


by creating a memo about the changes


by sending him a text

Answers

The most likely way Casey's teacher will deliver feedback on his history essay, including about his grammar and spelling, is by writing comments on his paper.

Write a short note on grammar.

Grammar refers to the rules and principles that govern the structure and use of language. It encompasses various elements such as syntax, semantics, and morphology, and includes rules related to word order, sentence structure, and punctuation. Proper grammar is important for effective communication as it helps to convey meaning clearly and accurately.

Good grammar is important in both written and spoken communication. In written communication, grammar errors can make text difficult to understand or even change the meaning of a sentence. In spoken communication, grammar errors can make it difficult for listeners to understand what is being said or can make the speaker sound unprofessional.

Grammar is a skill that can be improved through practice and study. There are many resources available for learning and improving grammar, including books, online courses, and tutoring services. Improving grammar can help individuals communicate more effectively in various settings, including academic, professional, and personal contexts.

To learn more about grammar, visit:

https://brainly.com/question/1952321

#SPJ1

Say true or false
1. Software that used to perform single task called system software.
2. Software that used to run the hardware parts of the computer and other application software is called application software
3. Spreadsheet is examples of application software.
4. Schools have no responsibility relating to ICT.
5. Microsoft malicious removal tool is examples of virus software.​

Answers

Answer:

1. False - Software that is used to perform a single task is called application software, while system software is used to run and manage the hardware and other software on the computer.

2. False - System software is used to run and manage the hardware and other software on the computer, while application software is used to perform specific tasks for the user.

3. True - Spreadsheet is an example of application software that is used to perform specific tasks for the user, such as organizing data and performing calculations.

4. False - Schools have a responsibility to provide and manage ICT (Information and Communication Technology) resources for their students, including hardware, software, and internet access, to support their learning and development.

5. False - Microsoft Malicious Software Removal Tool is not an example of virus software, but it is an anti-malware utility designed to remove specific malicious software from infected systems.

Hope this helps!

I NEED HELP Felix is going back through an email he wrote and editing it to make it more to the point and to get rid of extra words where they're not needed. What characteristic of effective communication is he working on?

Question 1 options:

conciseness


completeness


correctness


courteousness

Answers

Answer:

it's correctness please mark me as a brainliest

Shari works as a sales manager with a retailer that has stores across the United States. She has the regional sales figures for each product as shown in the spreadsheet.

Which function can she use to calculate the total sales of product XYZ?



A.
MAX(B5:E5)
B.
COUNT(B5:E5)
C.
SUM(B5:E5)
D.
ROUND(B5:E5)
E.
MIN(B5:E5)

Answers

Shari can use the SUM function to calculate the total sales of product XYZ. The formula would be something like C, SUM(B8:E8).

What is the purpose of a spreadsheet?

A spreadsheet is a software tool used for organizing and manipulating numerical data. The purpose of a spreadsheet is to make it easier to perform calculations, analyze data, and create visual representations of the data.

Spreadsheets can be used for a variety of tasks, such as budgeting, financial analysis, project management, inventory tracking, and scientific research. They are particularly useful for tasks that involve large amounts of data or complex calculations, as they allow for easy organization and manipulation of the data.

Find out more on spreadsheet here: https://brainly.com/question/26919847

#SPJ1

Missing _________________ affects the restore process and makes you unable to restore all the remaining backup file. Please consider a weekly full backup, a daily differential backup and hourly log backup.

Answers

"Missing any of the backup files affects the restore process and makes you unable to restore all the remaining backup files. Please consider a weekly full backup, a daily differential backup, and hourly log backup."

What is the backup?

The statement is referring to a backup and restore process in the context of data backup and recovery. In this process, backups are created periodically to protect data from loss or damage, and these backups are used to restore the data in case of any data loss event, such as hardware failure, accidental deletion, or data corruption.

The statement highlights the importance of having all the necessary backup files in the restore process. If any of the backup files are missing, it can have a significant impact on the ability to fully restore the data. For example, if a full backup is missing, it may not be possible to restore all the data since the full backup contains the baseline copy of all the data.

Read more about backup  here:

https://brainly.com/question/17355457

#SPJ1

Task 1: Work Profiles in Marketing and Advertising Perform online or offline research about possible roles and job descriptions in the marketing and advertising industries. Write a short paragraph (about 200-500 words) that lists the jobs available, job responsibilities, and requisite skills associated with any one job of your choice. Type your response here:

Task 2: Skills and Interests Make an inventory of your skills and interests. List seven to ten points. Next, write a paragraph describing your key skills and overall approach to work and aptitude. Given your skills and interests, which job profile in advertising or marketing, which you described in task 1, appears best suited to you? If you lack one or more of the skills, how would you address this deficit? Type your response here:​

Answers

One job available in the marketing and advertising industry is a Marketing Coordinator.

What is the explanation for the above response?

A Marketing Coordinator is responsible for coordinating and implementing marketing strategies and campaigns for a company or organization. Their job responsibilities include researching target markets, developing and implementing marketing plans, managing social media and digital marketing efforts, coordinating events and promotions, and analyzing marketing data to measure campaign success.

To be successful in this role, a Marketing Coordinator should possess strong communication, organizational, and analytical skills, as well as the ability to work collaboratively and creatively. Additionally, knowledge of marketing tools and software, such as Go. ogle Analytics, Adobe Creative Suite, and social media management platforms, is often required. Based on my skills and interests, I believe a role as a Marketing Coordinator would be well-suited for me. I possess strong communication and organizational skills, as well as a creative mindset and a passion for data analysis.

However, I may need to further develop my knowledge of marketing tools and software to excel in this role. I would address this by taking online courses, attending workshops, or seeking mentorship or guidance from colleagues in the industry.

Learn more about Marketing at:

https://brainly.com/question/13414268?

#SPJ1

to decode the age, name, weight, and breed of the
pet described in the record to the right.
=0
Age
Fill out the age, name, weight, and breed of the pet in the table below.
Name
Weight
What other information might someone want to put in the record?
How would this information be encoded?
14
15
Breed
I just need the answer so I can get a decent grade can you guys do it straight forward?

Answers

The information that someone might want to put in the record for a pet could include its gender, color, vaccination status, date of last vet visit, and any medical conditions or dietary restrictions.

What is the explanation for the above response?

This additional information could be encoded using various methods, such as adding new columns to the existing table or creating a separate table linked to the original table through a common identifier such as a pet ID.

The encoding would depend on the specific data storage and retrieval system being used.

Thus, it is correct to state that the information that someone might want to put in the record for a pet could include its gender, color, vaccination status, date of last vet visit, and any medical conditions or dietary restrictions.

Learn more about record at:

https://brainly.com/question/31388398

#SPJ1

Technician A says the ecm closes the intake air control valve at low speeds .
Technician B says the ACIS adjusts intake manifold length to maximize emissions

Answers

The first technician is the one that is not correct

What would happen with the air control valve

Technician A's statement is incorrect. The ECM (engine control module) does not control the intake air control valve. Instead, it controls the throttle body to regulate the amount of air entering the engine. Technician B's statement is also incorrect. The ACIS (acoustic control induction system) adjusts the length of the intake manifold to optimize power and torque, not to maximize emissions.

Read more on air control valve here:https://brainly.com/question/30106449

#SPJ1

what is the correct order of academic writing process?

Answers

Answer:

Pre-writing : Organizing : Writing the first draft : Revising/Editing : Finalizing

Hope it helped! :)

Click on ONE answer only.
What does this sign indicate?

Answers

Answer:

A Side Road (W2-2) symbol sign may be used in advance of an intersection to indicate the presence of an intersection and the possibility of turning or entering traffic.

Explanation:

1 Which of the following is an example of application software?

A.operating system B. MS-word C. system software D. all E, A and C
2 is processing textual information

A. word processing B. MS-power point C. information D. document E, ALL
3. pice of code that loaded on your computer without your knowledge

A. Antivirus

B, computer virus

C. message
D. file

E, all

4 Which of the following is an example of system software?

A, complier B. interpreter C, assembler


D, A and B E, all

5, is computer software used to detect malware

A. virus


B. program

C. software

D. anti-virus

E, none

6, is computer program that control particular types of device attached to the computers. A. hardware B. software C. device drivers D. application E, all

7, One of the following is audio file formal supported

by MS-power point

A. AIFF B. MIDI

C, MP3

D WAVE

E, all


Answers

1. B. MS-word
2. A. word processing
3. B. computer virus
4. E. all
5. D. anti-virus
6. C. device drivers
7. C. MP3

This symbol Get N user

Answers

The symbol "\n" represents a newline character in programming. It is a special character that is used to represent the end of a line of text and the beginning of a new line. In many programming languages, including Python and C, the "\n" character is used to create a line break or a new line in a string of text.

What is the symbol about?

When used in a string, the "\n" character is interpreted by the programming language as a command to move to the next line when displaying or printing the text. For example, if you want to print two lines of text in separate lines, you can use the "\n" character to create a line break between them.

Here's an example in Python:

python

print("Hello, world!\nWelcome to brainly.")

Output:

css

Hello, world!

Welcome to brainly.

Read more about symbol here:

https://brainly.com/question/200830

#SPJ1

Which description best fits the role of computer network architects?

A.
They design, implement, and test databases.
B.
They maintain and troubleshoot network systems.
C.
They design, test, install, implement, and maintain network systems.
D.
They design, configure, install, and maintain communication systems.

Answers

Note that the description best fits the role of computer network architects is: They design, test, install, implement, and maintain network systems. (Option C)

What is the explanation for the above response?


The explanation for the response is that computer network architects are professionals responsible for designing, implementing, and maintaining communication networks.

This involves tasks such as designing and configuring network systems, installing hardware and software components, and testing network performance to ensure optimal functionality. They also provide technical support and troubleshooting for network-related issues. While database design may be a related field, it is not the primary responsibility of network architects.

Similarly, maintaining and troubleshooting network systems are important tasks, but do not encompass the full scope of responsibilities for network architects.

Learn more about computer network architects at:

https://brainly.com/question/20903288

#SPJ1

where do you guys that run Brainly get the answers?

Answers

Answer: They will collect the answers in the storage of answer

Explanation:They will stored many answer in the data . But they give the correct answer .

Access the EDGAR archives at Sec.gov, where you can review 10-K filings for all public companies. Search for the 10-K report for the most recent completed fiscal year for two online retail companies of your choice (preferably ones operating in the same industry, such as Staples Inc. and Office Depot Inc., Amazon and Walmart, etc.). Prepare a presentation that compares the financial stability and prospects of the two businesses, focusing specifically on the performance of their respective e-commerce operations. wrong answer will get reported!!!!

Answers

In order to find the 10-K reports for the most recent completed fiscal year for two online retail companies, you can follow these steps:

Go to the Securities and Exchange Commission (SEC) website at www.sec.gov.

Click on the "Company Filings" link in the top menu.

In the "Search for Company Filings" box, enter the name of the first online retail company and click "Search."

On the search results page, look for the company's most recent 10-K filing and click on the "Documents" button.

In the "Documents" page, look for the 10-K report for the most recent completed fiscal year and download it.

Repeat the same process for the second online retail company.

How to explain the information

Once you have obtained the 10-K reports for both companies, you can compare their financial stability and prospects by looking at key financial metrics such as revenue, gross margin, operating income, net income, and cash flow from operating activities. rates, and average order value.

You can also analyze their competitive position by looking at market share data and customer satisfaction ratings. Additionally, you should consider any major business initiatives or investments that the companies have made in their e-commerce operations, such as new product launches, acquisitions, or partnerships.

Overall, the goal of the presentation should be to provide a comprehensive analysis of the financial performance and prospects of both companies, with a specific focus on their e-commerce operations.

Learn more about financial on

https://brainly.com/question/989344

#SPJ1

what is considered both an input and output device?

Answers

A touch screen display is considered both an input and output device.

What is the explanation for the above response?

A touch screen can receive input from users through touch and gestures, such as tapping, swiping, and pinching, which are then translated into commands or data that can be processed by a computer or device.

At the same time, it can display visual output to the user, such as text, images, and videos. The touch screen display allows for a more intuitive and interactive user experience, as users can directly manipulate the content displayed on the screen.

Touch screen displays are commonly used in smartphones, tablets, laptops, ATMs, kiosks, and other interactive systems.

Learn more about output device at:

https://brainly.com/question/13014449

#SPJ1

Jayden wants to upgrade his computer. Before he starts upgrading the hard drive and video card, what should he check to make sure the system can support it?

Question 2 options:
PSU
CPU
NIC
Monitor

Answers

Before upgrading the hard drive and video card of his computer, Jayden should check the A. PSU (power supply unit).

What does the PSU do ?

The PSU is responsible for supplying power to all the components of a computer, and a more powerful video card or hard drive may require more wattage than the current PSU can provide.

Checking the CPU (central processing unit) may also be important, as a new video card or hard drive may put more strain on the CPU and cause performance issues if it is not powerful enough. However, the PSU should be the first consideration when upgrading components that require more power.

Find out more on the PSU at https://brainly.com/question/24249197


#SPJ1

write a qbasic program using FOR and NEXT command to compute the multiples of 7

Answers

Here's a QBasic program using FOR and NEXT commands to compute the multiples of 7:

FOR i = 1 TO 10

PRINT 7 * i

NEXT i

This program will print out the multiples of 7 from 7 to 70, with each multiple on a new line. You can change the value of the TO parameter in the FOR statement to generate more or fewer multiples, depending on your needs.

What is SQL?

graphical representation of data
graphical representation of data

tables holding data that are connected through common fields, such as an ID number
tables holding data that are connected through common fields, such as an ID number

a language used to

Answers

SQL stands for Structured Query Language, which is a programming language used for managing and manipulating data stored in relational databases.

What is SQL ?

It is used to create, modify, and query relational databases that consist of tables holding data that are connected through common fields, such as an ID number.

SQL is not a graphical representation of data, but rather a language used for interacting with and manipulating data in a relational database.

Find out more on SQL at https://brainly.com/question/25694408

#SPJ1

What was Martin’s problem that was presented to the dragon?

Answers

"Martin and the Dragon" is a children's story by author and illustrator, Stephen W. Huneck.

What happened in the story?

In the story, Martin's problem was that he was very sad and unhappy. He lived in a small village and had no friends or family to spend time with. One day, he decided to go for a walk in the forest where he came across a dragon who asked him what was troubling him. Martin told the dragon about his loneliness and how unhappy he was.

The dragon listened to Martin and offered to help him by becoming his friend. Martin was surprised that a dragon wanted to be his friend, but he agreed to give it a try. The dragon and Martin spent many days together, playing and exploring the forest. Martin's loneliness disappeared, and he became very happy.

In the end, Martin realized that sometimes help comes from unexpected places, and that true friends can come in all shapes and sizes.

Read more about narrations here:

https://brainly.com/question/1934766

#SPJ1

In September 2015, a federal court considered the copyright claim for “Happy Birthday,” held by Warner/Chappell. “Happy Birthday” had the same melody and similar words as the “Good Morning” song, which was written in 1893 by two sisters. Publication of "Happy Birthday" occurred first in 1911 and it was mentioned at the time that the two songs shared the same tune.


Do you think that the Happy Birthday song deserves copyright protection based on these facts? What about copyright law?


Share the results regarding the outcome of the court case as well, include an opinion on what happened.


Include References

Answers

Answer:yes it is a copy right protection

Explanation:

Because,Happy Birthday” had the same melody and similar words as the “Good Morning” song, which was written in 1893 by two sisters.

Assign numMatches with the number of elements in userValues that equal matchValue. userValues has NUM_VALS elements. Ex: If userValues is {2, 1, 2, 2} and matchValue is 2, then numMatches should be 3.

Your code will be tested with the following values:
matchValue: 2, userValues: {2, 1, 2, 2} (as in the example program above)
matchValue: 0, userValues: {0, 0, 0, 0}
matchValue: 10, userValues: {20, 50, 70, 100}

Answers

This code checks to see if each userValues element matches matchValue by iterating through each one. If that's the case, numMatches is raised by 1.

A property or an array?

The user must have access to a control that allows multiple value selection in order to change the values in an array property. The user-selected values are written to array elements when the form is submitted Values can be entered into an array property using a multiple-selection list box or a collection of checkboxes on a form. Controls are items that show data, make it easier to enter or update data, carry out actions, or allow users to make choices. Controls generally make the form simpler to use.

if (userValues[i] == matchValue) numMatches++; numMatches = 0;  (int i = 0; i NUM_VALS; i++);

To know more about code  visit:-

https://brainly.com/question/17293834

#SPJ1

What’s the output of the code?

Answers

The output is : (3+2) = 5
Other Questions
A patient who has developed postmenopausal osteoporosis will begin taking alendronate [Fosamax]. The nurse will teach this patient to take the drug:a. at bedtime to minimize adverse effects.b. for a maximum of 1 to 2 years.c. while sitting upright with plenty of water.d. with coffee or orange juice to increase absorption. please solve correctly my grade depends on it true or false? only women make follicle-stimulating hormone (fsh); only men make luteinizing hormone (lh). false true Questions three and four please how do pigments, such as phycoerythrin in red algae and fucoxanthin in brown algae, benefit these autotrophic protists? 7. A stock trades at $120 and has a standard deviation of returns of .4, use the Black-Scholes model to price a call and a put that expire in 180 days. The call and put options have an exercise price of $100. The risk-free rate is 8 percent. Assume the stock will pay a dividend of $3 on day 75. Apply the known dividend adjustment to the Black-Scholes model and compute new call and put prices. List 2 of the three issues that often went unchallenged in rural areas. calculate the monthly finance charge for the credit card transaction. assume that it takes 10 days for a payment to be received and recorded, and that the month is 30 days long. (round your answers to the nearest cent.) $400 balance, 19%, $50 payment Read the sentence from an argumentative essay about homelessness.There should be services to give homeless people a break from the stuff they have to deal with in their everyday lives. in paging-based systems, it is possible for a process to access memory outside of its page table. group of answer choices true false a person, place, object, event, or concept in the user environment about which the organization wishes to maintain data refers to a(n): group of answer choices The advantages and disadvantages passed down from generation to generation are referred to as ______.a. habitusb. social-class reproductionc. the culture of povertyd. class regeneration a coin is tossed 10,000 times. what is the chance that the number of heads will be in the range 4850 to 5150? how did eisenhower present his political ideas during his campaign for president in 1952? the die will be rolled 12 times. let x be the number times the die lands on a green square. x has a binomial distribution. what is a trial? a single roll of the 20-sided die what would be considered a success? a green square how many trials? n food for less (ffl), a grocery store, is considering offering one hour photo developing in their store. the firm expects that sales from the new one hour machine will be $150,000 per year. ffl currently offers overnight film processing with annual sales of $100,000. while many of the one hour photo sales will be to new customers, ffl estimates that 60% of their current overnight photo customers will switch and use the one hour service. suppose that of the 60% of ffl's current overnight photo customers, half would start taking their film to a competitor that offers one hour photo processing if ffl fails to offer the one hour service. the level of incremental sales in this case is closest to: the characteristic rapid edits, creative camera angles, compressed narratives, and staged performances of what television channel heavily influenced the advertising industry in the mid-1980s? Using the graph, determine the coordinates of the x-intercepts of the parabola. Area of a triangle with base, b, and height, h:A = 1/2 bh = 1/(____)(____) =Area of a rectangle with length, e, and width, w:A = lw= (______)(______) = .square feetArea of base of prism=square feet+square feet in choosing sides concerning ceo duality, two schools of thought exist. which of the following would not be a consideration for the agency theory school of thought? group of answer choices ceo duality complicates the issue of ceo succession. ceo duality reinforces popular doubts about the legitimacy of the corporate governance system as a whole. ceo duality can create conflicts of interest that can negatively affect the interests of the shareholders. firm performance always is improved under ceo duality.