Define a void function named drawDonut to draw a donut that can be called with this syntax: drawDonut( x, y, diameter, color ); The function should draw a circle for the donut at the given position, diameter, and color, then put a white hole in the center at 1/4 of the specified diameter. Make 3 calls to drawDonut in start to make 3 different donuts at different locations, and sizes. Make one donut yellow, another orange, and the last one brown.

Answers

Answer 1

The void function is depicted as given below. See the definition of a void function.

What is a void function?

Void functions are constructed and used in the same way as value-returning functions, except that they do not return a value once the function executes. In place of a data type, void functions utilize the term "void."

A void function executes a task and then returns control to the caller, but it does not return a value.

See the attached for the full solution.

Learn more about void functions at;
https://brainly.com/question/19539019
#SPJ1


Related Questions

In a relocatable dynamic partition scheme, the ____ contains a value that must be added to each address referenced in a program so that the system will be able to access the correct memory addresses after relocation. a. compaction register b. bounds register c. load register d. relocation register

Answers

In a relocatable dynamic partition scheme, the  bounds register contains a value that must be added to each address referenced in a program.

What is bounds registers?

This is known to be two registers that has its contents that are known are used to tell an area of memory where one can have access control.

Therefore, In a relocatable dynamic partition scheme, the  bounds register contains a value that must be added to each address referenced in a program.

Learn more about bounds register from

https://brainly.com/question/15041633

#SPJ1

which Yandere Simulator update removed the box of matches?

Answers

Answer:

Fixed the glitchy physics of Yandere-chan’s latest hairstyle. Removed exploit that allowed players to keep a character stationary indefinitely by talking to a student about their Task and never dismissing the Task Window. Adjusted the pathfinding grid so that it should be less likely for a student’s path to the male locker room to be blocked.

Explanation:

Answer:

i couldnt find the exact year but heres a list of bug fixes n stuff if this helps

Explanation:

https://yandere-simulator.fandom.com/wiki/Update_History

Think about how you view your emails—either the email service you use yourself or an email service you would choose to use. Describe that email service and then explain whether you use POP3 or IMAP to access your email. How do you know it’s POP3 as opposed to IMAP?

Answers

Answer:

and POP3, followed in later years. POP3 is still the current version of the protocol, though this is often shortened to just POP. While POP4 has been proposed, it's been dormant for a long time.

IMAP, or Internet Message Access Protocol, was designed in 1986. Instead of simply retrieving emails, it was created to allow remote access to emails stored on a remote server. The current version is IMAP4, though most interfaces don't include the number.

The primary difference is that POP downloads emails from the server for permanent local storage, while IMAP leaves them on the server while caching (temporarily storing) emails locally. In this way, IMAP is effectively a form of cloud storage.

Think about how you view your emails is either the email service you use yourself or an email service you would choose to use POP3, followed in later years.

What is POP3?

POP3, followed in later years as the POP3 is still the current version of the protocol, though this is often shortened to just POP. While POP4 has been proposed, it's been dormant for a long time.

IMAP, or Internet Message Access Protocol, was designed in 1986. Instead of simply retrieving emails, it was created to allow remote access to emails stored on a remote server. The current version is IMAP4, though most interfaces don't include the number.

The primary difference is that POP downloads emails from the server for permanent local storage, while IMAP leaves them on the server while caching (temporarily storing) emails locally. In this way, IMAP is effectively a form of cloud storage.

Therefore, Think about how you view your emails is either the email service you use yourself or an email service you would choose to use POP3, followed in later years.

Learn more about emails on:

https://brainly.com/question/14666241

#SPJ2

If you want to stop a loop before it goes through all of its iterations, the break statement may be used. Group of answer choices True False

Answers

Answer:

Answer is true

Explanation:

Which type of input devices used in big hero 6 movie

Answers

The  Input Devices Used in Movie Big Hero are:

A joystick medical robot Armored exoskeleton Jet-boots.

What are input device?

This is known to be a is a piece of instrument that helps gives or provide data to any information processing system.

Note that the Input Devices Used in Movie Big Hero “6”  are  a medical robot made by by Tadashi Hamada., Armored exoskeleton and others.

Learn more about input device from

https://brainly.com/question/24455519

#SPJ1

An instance of ________ describes programming errors, such as bad casting, accessing an out-of-bounds array, and numeric errors. RuntimeException Exception Error Throwable NumberFormatException

Answers

An instance of Runtime Exception describes programming errors, such as bad casting, accessing an out-of-bounds array, and numeric errors.  

What is a runtime exception?

The Runtime Exception is known to be the parent class that is often seen  in all exceptions of the Java programming language that are known to crash or break down the program or application when they happen.

Therefore, An instance of Runtime Exception describes programming errors, such as bad casting, accessing an out-of-bounds array, and numeric errors.

Learn more about Runtime Exception from

https://brainly.com/question/3620278

#SPJ1

In 25 words or fewer, explain why businesses use social media to digitally market their products.

Answers

Due to the accessibility of social media platforms, businesses have the opportunity to follow their potential customers. Social media marketers need to know more about their target market's needs, wants, and interests in order to develop a more effective marketing plan to draw in these potential customers.

What is social media?

Social media is a term used to describe online communication. Social media systems enable users to have discussions, exchange information, and create content for the internet.

Users utilize social media networks, sometimes referred to as digital marketing, as a platform to create social networks and share information in order to develop a company's brand, boost sales, and enhance website traffic.

Hence, the significance of the social media is aforementioned.

Learn more about on social media, here:

https://brainly.com/question/18958181

#SPJ1

The constructor for Object supports methods that are used to retrieve and define properties for any object. True False

Answers

The constructor for Object supports methods that are used to retrieve and define properties for any object is a True statement.

What is the constructor of an object?

The Object constructor is known to be one that forms an object wrapper for any kind of given value.

When the value is null or undefined , it will form and return an empty object and as such, The constructor for Object supports methods that are used to retrieve and define properties for any object is a True statement.

Learn more about Object supports  from

https://brainly.in/question/34445581

#SPJ1

Which web-authoring software enables users to create sophisticated web pages without knowing any html code?.

Answers

Answer: One of the best software

Explanation: Dreamweaver!

10101 base 2 - 110+2​

Answers

Answer:

-87

Explanation:

(10101 base 2) = 21

21 - 110 +2 = -87

Write a function named swapFrontBack that takes as input an array of integers and an integer that specifies how many entries are in the array. The function should swap the first element in the array with the last element in the array. The function should check if the array is empty to prevent errors. Test your function with arrays of different length and with varying front and back numbers.

Answers

Answer:

#include <iostream>

#include <vector>

using namespace std;

void swapFrontBack(vector<int>& nums) {

if(nums.size() < 2) {

return;

}

swap(nums[0], nums[nums.size()-1]);

}

void printit(vector<int>& arr) {

for(int i = 0; i < arr.size(); i++) {

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

}

cout << endl;

}

int main() {

vector<int> num1;

swapFrontBack(num1);

printit(num1);

num1.push_back(1);

swapFrontBack(num1);

printit(num1);

num1.push_back(2);

swapFrontBack(num1);

printit(num1);

vector<int> num2(10, 1);

num2[9] = 2;

swapFrontBack(num2);

printit(num2);

return 0;

}

Explanation:

Which feature of cryptography is used to prove a user's identity and prevent an individual from fraudulently reneging on an action?

Answers

A feature of cryptography which is used to prove an end user's identity and prevent an individual from fraudulently reneging on an action is nonrepudiation.

What is nonrepudiation?

Nonrepudiation can be defined as an assurance that the sender of a message is given a proof of delivery and the recipient of this message is also provided with a proof of the sender’s identity, so none of them can deny having processed this message.

This ultimately implies that, nonrepudiation is a security service which has a feature of cryptography and it can be used to prove an end user's identity and prevent an individual from fraudulently reneging on an action

Read more on nonrepudiation here: brainly.com/question/14631388

#SPJ1

The four memory management techniques presented in this chapter share the requirement that the entire program being executed must be ____.

Answers

The four memory management techniques requires that the entire software program that's being executed must be loaded into memory.

What are the 4 memory management techniques?

In Computer science, there are four memory management techniques and these include the following:

Single contiguous allocation.Partitioned allocation.Paged memory management.Segmented memory management.

As a general rule, the aforementioned memory management techniques requires that the entire software program that's being executed must be loaded into memory.

Read more on memory here: https://brainly.com/question/13081782

#SPJ1

What was one effect of better printing methods during the Ming Dynasty? Updated trade routes A new merchant class Increased literacy rates More codes and laws

Answers

The one effect of better printing methods during the Ming Dynasty For millennia its mastery made China the only withinside the international capable of produce copies of texts in splendid numbers and so construct the biggest repository of books.

What have been 3 consequences of the printing revolution?

Printed books have become extra conveniently to be had due to the fact they have been less difficult to supply and inexpensive to make. More humans have been capable of learn how to study due to the fact they may get books to study.

As in Europe centuries later, the advent of printing in China dramatically diminished the fee of books, for that reason assisting the unfold of literacy. Inexpensive books additionally gave a lift to the improvement of drama and different kinds of famous tradition. Freed from time-ingesting hand copying, the unfold of tradition and know-how accelerated, ushering international civilization onto a brand new stage.

Read more about the Ming Dynasty:

https://brainly.com/question/8111024

#SPJ1

Answer:

c

Explanation:

Ken is conducting threat research on Transport Layer Security (TLS) and would like to consult the authoritative reference for the protocol's technical specification. What resource would best meet his needs

Answers

As, Ken is conducting threat research on Transport Layer Security (TLS), the best resource that would best meet his needs is internet RFC's.

What are Internet RFCs?

A Request for Comments (RFC) is known to be a kind of a formal document obtained from the Internet Engineering Task Force ( IETF ) and it is one that shows or tells  the outcome of committee drafting and review done by interested parties.

Note that as Ken is conducting threat research on Transport Layer Security (TLS), the best resource that would best meet his needs is internet RFC's.

See options below

A. ACADEMIC JOURNAL

B. INTERNET RFC's

C. SUBJECT MATTER EXPERT

D. TEXTBOOKS

Learn more about  internet RFC's from

https://brainly.com/question/12950573

#SPJ1

When evaluating a website's content, whether or not the information is up to date is considered part of the ________ element.

Answers

The currency element constitutes information whether the information of the website is current or up to date.

Website

A website is a term used to describe unique publicly accessible web pages that are identified by a domain name. Information on websites is typically updated by website owners, hence, some websites may not be updated frequently when compared to others. Thus, the currency element is an element users take into consideration when evaluating a website's content, whether or not the information is up to date.

You can learn more about the currency element here https://brainly.in/question/48673521

#SPJ1

list three things that can spoil a printer if they are not of the correct specification and explain what damage may be caused​

Answers

Explanation:

Debris, excess ink splatted around (from refilling probably) and the presence of small objects do contribute to paper jams and cause your printer to work inefficiently. Some printers have self-cleaning functions especially, for printer heads

Ready to attempt the final challenge? Supply the 3 passwords you received via the first 3 challenges to proceed! Password from challenge #1 (all lowercase): Password from challenge #2 (all lowercase): Password from challenge #3 (all lowercase):

Answers

Using the knowledge in computational language in python it is possible to write a code that through a list manages to organize the largest and smallest numbers in order.

Writting the code in python:

# finding largest in the list

list_max = challenge3[0]

for i in range(len(challenge3)) :

   if challenge3[i] > list_max :

       list_max = challenge3[i]        

print("largest in the list = ", list_max)

# number of times largest occurs in list

max_count = 0

for i in range(len(challenge3)) :

   if challenge3[i] == list_max :

       max_count += 1        

print("number of times largest occurs in list = ", max_count)

# finding second largest in the list

list_sec_max = challenge3[0]

for i in range(len(challenge3)) :

   if challenge3[i] > list_sec_max and challenge3[i] < list_max :

       list_sec_max = challenge3[i]        

print("second largest in the list = ", list_sec_max)

# number of times second largest occurs in list

sec_max_count = 0

for i in range(len(challenge3)) :

   if challenge3[i] == list_sec_max :

       sec_max_count += 1        

print("number of times second largest occurs in list = ", sec_max_count)

# location of first occurence of largest in the list

first_index = -1

for i in range(len(challenge3)) :

   if challenge3[i] == list_max :

       first_index = i

       break        

print("location of first occurence of largest in the list = ", first_index)

# location of first occurence of largest in the list

last_index = -1

for i in range(len(challenge3) - 1, -1, -1) :

   if challenge3[i] == list_sec_max :

       last_index = i

       break        

print("location of first occurence of largest in the list = ", last_index)

See more about python at brainly.com/question/13437928

#SPJ1

HELP! Write a program that generates 6 random numbers between 0 and 30, prints the numbers as shown, calculates the sum and the average of these numbers, and prints them

Answers

The program that generates 6 random numbers between 0 and 30 and makes mathematical computations is:

import random

import statistics

a = random.random()

b = random.random()

c = random.random()

d = random.random()

e = random.random()

f = random.random()

print("Generated Numbers:")

print(a, b, c, d, e, f)

seq = (a, b, c, d, e, f)

mean = statistics.mean(seq)

median = statistics.median(seq)

mode = statistics.mode(seq)

print("Mean =", mean)

print("Median =", median)

print("Mode =", mode)

Read more about programming here:

https://brainly.com/question/23275071

#SPJ1

As part of your regular system maintenance, you install the latest operating system updates on your Windows 10 computer. After several days, you notice that the system locks up and reboots from time to time. You suspect that a recent update is causing the problem. How can you quickly restore the computer to its state before the updates

Answers

Answer is restore the system using a restore point.
Explained: System Restore lets you roll your system settings back to a specific date when everything was working properly.

PLS ANSWER, WILL GIVE BRAINLIEST
PHOTOGRAPHY: In 200 words or more explain the difference between deep and shallow depth field and when would you use either technique when taking a photograph?

Answers

Answer:

The difference between a shallow and a deep depth of field is how much of your photo is in focus.

Explanation:

With a shallow depth of field, only a small portion of it will be sharp. This will help your viewer focus on the most important part of the image.

Assume your organization has 200 computers. You could configure a tool to run every Saturday night. It would query each of the systems to determine their configuration and verify compliance. When the scans are complete, the tool would provide a report listing all systems that are out of compliance, including specific issues. What type of tool is being described

Answers

The tool that would provide a report listing all systems that are out of compliance, including specific issues is Security Compliance Manager.

What are compliance tools?

The Security Compliance Manager is known to be a form of downloadable tool that one can use as it helps a person to plan, ascribe, operate, and manage a person's security baselines for Windows client and other forms of server operating systems.

Note that in the case above, The tool that would provide a report listing all systems that are out of compliance, including specific issues is Security Compliance Manager.

Learn more about Security Compliance Manager from

https://brainly.com/question/24338783

#SPJ1

Self-driving cars are a result of developments in which field of computer
science?

Answers

Answer: I think Artificial Intelligence (AI)

Explanation:

Select the correct answer.
What does firewall software do?
A.
It improves network connectivity.
B.
It monitors network traffic to block malicious content.
C.
It adds some new features to the operating system.
D.
It installs viruses in the system.

Answers

Answer:

B

because it is an antivirus

1. A teacher asked a student to capture and print out a one-slide presentation using MSWord,       showing everything on the screen.
i)       What keys or combination of keys can be used to carry out this operation ?
ii)     Describe the procedures to be followed by the student in carrying out this operation?
iii)  Describe the procedure to be followed by the student in carrying out this assignment using the keyboard.
b) A system Analyst was hired to set up a computer laboratory for Gan di Gan International      School,
    i.) Mention three hardware devices the analyst would need to set up the laboratory
   ii) List two database applications likely to be recommended by the analyst
  iii) State five Word Processing packages likely to be installed

Answers

The keyboard combinations that can be used to capture and print out a one-slide presentation using MSWord, showing everything on the screen is Function key + PrtScr

What is a Key Combination?

This refers to the procedure that is used to combine two or more keys on the keyboard to execute a task.

Hence, we can see that the procedure that can be used to carry out the operation is:

Enter the screen you want to capture and printPress the Function key, followed by the PrtScr. Please note this can vary slightly, depending on the keyboard.

The hardware devices that would be needed to be set up by the system analyst at a computer laboratory are:

System UnitLaptops/MonitorPower adaptersEthernet cables, etc

The database applications that can be recommended by the system analyst are:

MySQL, SQL Server

The five word processing packages that are likely to be installed are:

G00..gle DocsMsWordMSOfficeDropbox PaperCorel WordPerfect

Read more about word processing here:

https://brainly.com/question/985406

#SPJ1

(n) ____ operator requires a single operand either before or after the operator. unary single binary

Answers

A unary operator requires a single operand either before or after the operator.

Who is a  unary operator?

This is known to be a person or  an operator that is often known to use or operate only on a single operand so as to return a new value.

Note that A unary operator requires a single operand either before or after the operator.

Learn more about   unary operator from

https://brainly.com/question/13814474

#SPJ1

Despite how well you might take care of your computer, problems can always arise. when troubleshooting problems you encounter, at what point should you engage a professional for assistance? why? at what point might you consider purchasing a new computer?

Answers

If troubleshooting problems is the one you encounter, the best thing to do is for one to get a professional to help one to see if the problem with the hardware  is one that is within the computer chassis.

What is troubleshooting?

Troubleshooting is known to be a form of systematic method that is often used in problem-solving that is known to help one to see and also correct issues that are linked with complex machines, electronics, computers and software systems.

Hence, If troubleshooting problems is the one you encounter, the best thing to do is for one to get a professional to help one to see if the problem with the hardware  is one that is within the computer chassis.

Learn more about troubleshooting from

https://brainly.com/question/9572941

#SPJ1

Chris is responding to a security incident that compromised one of his organization's web servers. He believes that the attackers defaced one or more pages on the website. What cybersecurity objective did this attack violate

Answers

The cybersecurity objective that the above attack violate is known as Integrity.

What is Cybersecurity aims?

Their objectives is majorly to protect any computers system, networks, and other kinds of software programs from any type of cyber attacks.

Note that The cybersecurity objective that the above attack violate is known as Integrity as they are not the kind of people that keep to their words.

Learn more about cybersecurity from

https://brainly.com/question/12010892

#SPJ1

_____ are standard settings that control how the screen is set up and how a document looks when you first start typing

Answers

The standard settings that control how the screen of a computer is set up and how a document looks when you first start typing is called default settings.

What is a word processing software?

A word processing software can be defined as a type of software that is designed and developed so as to enable its end users type, format and save text-based documents such as:

In Computer technology, the standard settings that control how the screen of a computer is set up and how a document looks when you first start typing on a word processing software is called default settings.

Read more on word processing here: brainly.com/question/24043728

#SPJ1

Which type of attack involves changing the boot order on a PC so that the hacker can gain access to the computer by bypassing the install operating system

Answers

The type of attack that involves changing the boot order on a PC so that the hacker can gain access to the computer by bypassing is known as Physical attack.

What is physical attack in computer security?

In a physical attack, this is known to be where an attacker is said to have physical access to any kind of physical asset in the area of the infrastructure system so that they can damage it, disable it, or others.

Note that based on the above, The type of attack that involves changing the boot order on a PC so that the hacker can gain access to the computer by bypassing is known as Physical attack.

Learn more about Physical attack from

https://brainly.com/question/11609218

#SPJ1

Other Questions
PLEASEEEEE: Determine whether its a change in increase or decrease then find the person, make sure to ROUND to nearest whole percent:ALSO THE ANSWER IS NOT 182%1994 cost: $171.33 and 1995 cost: $201.59 I feel as if the one I chose it right but Im not sure, can someone confirm for me. Juan, Mary, Celia, and Mark work as information specialists at a high tech company. They each spent a certain amount of time fixing a problem with the database. Out of the total number of hours all the workers spent, what percent of that time is Celia's?A) 17%B) 18%C) 21%D) 25% In an attempt to escape his island, Gilligan builds a raft and sets to sea. The wind shifts a great deal during the day, and he is blown along the following straight lines:2.5 km 45 north of west; then4.70 km 60 south of east; then5.1 km straight east; then7.2 km 55 south of west; and finally2.8 km 5 north of east.What is his final position relative to the island? km south of east Meredith is a 17-year-old girl who weighs 82 pounds and is gaunt and frail. Although she fears food and eating, she focuses on food by talking about it, collecting cookbooks, and cooking huge meals for others. Whenever she looks at herself in the mirror, she thinks she is disgustingly fat. Meredith is suffering from __________. What is the purpose of a reference point? Write an algorithm that describes the second part of the process of making change (counting out the coins and bills). What is the midpoint of the segment shown below?A. (-15, -15)B. (-15,-15)c. (-1/5, -15)D. (-15-15) Graciela's used to be the industry leader in restaurant supplies, but over the years competition grew and the company's market share declined. Graciela's has launched several marketing campaigns and introduced new products and services. However not much else in the company has changed, and it still relies on the same team of managers. Graciela's is experiencing ______. Solve x2 6x + 9 = 0 by completing the square.A) x = 3B) x = 3C) x = 3 and x = 3D) x = 1 and x = 9 brainliest!!!!!!Question 4(Multiple Choice Worth 1 points)(06.05 MC)Given the functions k(x) = 2x - 5 and p(x) = x - 3, find (k. p)(x). (kop)(x) = 2x - 6x + 4 (kop)(x) = 2x - 12x + 13(kop)(x) = 2x - 12x + 18(kop)(x) = 2x - 8 an a horizontal number line, positive numbers are____On a vertical number line, negative numbers are_____The number 0 is Im super confused please help me Review the four points shown on the polar coordinatesystem.5ad6BC7627/34/323/2N450/3A6D11/6Which point represents (-6.II) ?Opoint AOpoint BOpoint COpoint D What's the range of the graph? I have a menu that I could choose from and this is the option that I have. A university is interested in promoting graduates of its honors program by establishing that the mean GPA of these graduates exceeds 4.20. A sample of 37 honors students is taken and is found to have a mean GPA equal to 4.30. The population standard deviation is assumed to equal 0.40. The parameter to be tested is __________. Read the excerpt from "A Genetics of Justice" by JuliaAlvarez.My father and mother were once again trapped in a police state. They laid low as best they could. Now that they had four young daughters, they could not take anychances. For a while, that spark which has almost cost my father his life and which he had lighted in my mother seemed to have burnt out. Periodically, Trujillo would demand a tribute, and they would acquiesce. A tax. a dummy vote, a portrait on the wall. To my father and other men in the country, the most humiliating of these tributes was the occasional parade in which women were made to march and turn their heads andacknowledge the great man as they passed the reviewstand.What is the central idea in this paragraph? Having four young daughters made the family more of a target because of Trujillo's mandatory tributes. Trujillo required people to take part in tributes and parades, which were &iforced by the police state. The author's parents fought against the dictatorship, even though they participated in the tributes. The author's parents tried to get by in the dictatorship, but felt humiliated by the tributes they were forced to participate in. is 2(x+4)=4x+3-2x+5 no solution or infinite solutions? Because state corporate laws differ, persons wishing to incorporate may look for the state that offers the most advantageous tax or other provisions. Group of answer choices False True Un constructor tiene un predio, por lo que est considerando que los terrenos sean rectangulares con un permetro de 64 metros.