Assign to the boolean variable 'possiblecandidate' the value false if the int variable 'n' is even and greater than 2, or if the variable 'n' is less than or equal to 0; otherwise, assign true to 'possiblecandidate'. assume 'possiblecandidate' and 'n' are already declared and 'n' assigned a value.

Answers

Answer 1
possiblecandidate = true;
if( ( ( n >= 2 ) && ( n % 2 == 0 ) ) || ( n <= 0 ) )
    possiblecandidate = false;
Answer 2

Answer:

possiblecandidate = true;

if( ( ( n >= 2 ) && ( n % 2 == 0 ) ) || ( n <= 0 ) )

   possiblecandidate = false;

Explanation:


Related Questions

A file whose owner has read, write, and execute permissions has file permissions equivalent to an octal value of:

Answers

A file whose owner has read, write, and execute permissions has file permissions equivalent to an octal value of 7.

What kind of communications device sends and receives data and information to and from a digital line, such as isdn and cable?

Answers

The communication device that sends and receives data and information to and from a digital line, such as ISDN and cable is the broadband modem, or also called digital modem, in a case when the line is digital. If the line is ISDN than the modem is called ISDN modem. 

What are the main routing protocols used on internet?

Answers

Interior gateway protocols type 1, link-state routing protocols, such as OSPF and IS-IS.
Interior gateway protocols type 2, distance-vector routing protocols, such as Routing Information Protocol, RIPv2, IGRP
Exterior gateway protocols are routing protocols used on the Internet for exchanging routing information between Autonomous Systems, such as Border Gateway Protocol (BGP), Path Vector Routing Protocol. Exterior gateway protocols should not be confused with Exterior Gateway Protocol (EGP), an obsolete routing protocol

The keyboard preferences pane includes a list of keyboard shortcuts.

Answers

The answer is true the keyboard does have shortcuts.

Janith is creating a spreadsheet with the names, locations, dates, and costs of summer camps she is interested in attending. What is the most efficient way to also add pictures, camper reviews, staff information, activity schedules, and menus?

Answers

Answer:

Hyperlink camp’s web page.

Explanation:

Considering all the changes Janith wants to make to the document, the most effective way is to add hyperlinks from the web page in excel. Adding a spreadsheet or even a column to your document may not be the ideal way to add images or to meet your needs, so by adding a hyperlink to the excel webpage, you are assured of better images and the ability to update content as needed. , and the customer can view at the same time.

Calculate the average (as a double) of the values contained in the integer variables num1, num2, num3 and assign that average to the double variable avg. assume the variables num1, num2, and num3 have been declared and assigned values, and the variable avg declared.

Answers

avg = ( num1 + num2 + num3 ) / 3;

Final answer:

To find the average of the integer variables num1, num2, and num3 as a double, sum the variables, cast the sum to double, and divide by the number of variables, which in this case is 3.

Explanation:

To calculate the average as a double of the values contained in the integer variables num1, num2, and num3, you would first sum those values. Then, you divide the total sum by the number of items you have, which in this case is 3, since you're dealing with three values. The formula to calculate the average (avg) would look like this:

avg = (double)(num1 + num2 + num3) / 3;

Here, you are casting the sum of num1, num2, and num3 to a double to ensure the division is done using floating-point arithmetic, giving a double result which is stored in the variable avg. This is necessary because if the sum is not cast to a double, integer division would occur, potentially leading to an incorrect average due to truncation (cutting off the decimal points).

Which type of navigation involves multiple frames that are linked to a number of other frames?

A) bread crumbs
B) linear
C) reciprocal
D) web



Which type of navigation is similar to a book because users can move back and forth between frames?

A) hierarchical
B) linear
C) reciprocal
D) sequential


How many items should a menu system have?

A) 1-3
B) 5-8
C) 9-11
D) 13-18

Answers

not sure about 1 and 2 but im pretty sure 3 is B) 5-8

Based on the relational model, create the database metadata as part the physical designphase.b)from the metadata, write the sql create database and table statements (ddl) for all entities (tables).c)implement the tables in your mysql db.

Answers

Which is not a component of a database that describes how data is stored?

CAD software is used to_____. / create a printed document to send through a fax machine / enhance a photograph / design a building / filter large amounts of data

Answers

CAD software is used to design a building.

Cad software is used to design.

To create a digital file from an old photo, I would use a _____.

A. Printer

B. Scanner

C. Monitor

D. Modem

Answers

A scanner would create a digital file of the old photo.
The printer is used to create paper copies of a file which is the opposite of what we want. The monitor is used for output not input. And a modem is used to connect to the internet.
B. Scanner is your answer.

Having plug and play support means you can plug in a device, turn on the computer, and then immediately begin using the device true or false

Answers

True. The owner does not need to install any new drivers for the device to work, and they do not have to let the computer know that a new device has been connected. They simply can plug it in, and it will be ready to use.

when did project management first emerge as a profession

Answers

it emerge in 1940 and they started building

many cities

You created a vm and installed windows server 2008 r2 over the network, using pxe boot. when you start the vm, it doesn't attempt to boot from the network. what should you do?

Answers

Hehehdjekdjdbd besbbs

What is the term for a web site that uses encryption techniques to protect its data?

Answers

The answer is secure site, I hope it helps.

Which type of software provides more control over text and graphic placement in the layout of a page than word processing software? data management software presentation software graphics software spreadsheet software desktop publishing software previous next?

Answers

i love microsoft's Bissnuss software correction! 

For a biology presentation, Sofia wants to summarize the various body systems and their key functions. Which element can she use to present this kind of information effectively?

Sofia can summarize the various body systems and their related functions with the help of (an audio clip, a graph, a table). She can also add a (chart, flowchart, bulleted list) to display the process of digestion from beginning to end.

Answers

i still say its table and bullet lst

The first answer is a table

The second a bulleted list

Typically, you need to score _____ or higher on an AP exam to receive college credit for the AP course in the subject tested by the exam. A. 3 B. 10 C. 100 D. 1

Answers

the answer is A). 3 or higher

Typically, you need to score 100 or higher on an AP exam to receive college credit for the AP course in the subject tested by the exam.

What is AP exam?

Students must be informed of when and where to report for the tests by AP coordinators. Under no circumstances is it permissible to test early or at times other than those announced by College Board.

Programs that were started in 1951 gave rise to the AP tests. Advanced standing at the standard age for attending college following high school completion is more desirable, for many reasons, than accelerating the graduation of capable students from high school at age 1512 or 16.

In 1955, the College Board took over management of the program and testing, choosing the curricula and pedagogical strategies while leaving ETS in charge of creating and grading the exams.

Therefore, Typically, you need to score 100 or higher on an AP exam to receive college credit for the AP course in the subject tested by the exam.

To learn more about AP exam, refer to the link:

https://brainly.com/question/26562785

#SPJ5

What determines the keystroke to open a cmos editor? how can you find this information?

Answers

Determining the keystrokes of opening the cmos editor depends on the ram contained in the parameters in BIOS.It can be a very daunting task however made more accessible by instructions detailed in various ways by others.Research is needed.

Which behavior could be acceptable at a classical concert as well as at a ball game? standing for an exceptional performance cheering for your favorite performer talking throughout the event eating during the event

Answers

Standing for an exceptional performance would be normal "acceptable" in both scenarios.

I believe it would be B As well as A but...

We all have our favorite athlete and singer so..

personally i believe the answer is:

B) cheering for your favorite performer

Web navigation gives the user a sense of control.

A) True
B) False


Which of the following is a common element used for naviagtion?

A) background images
B) hex codes
C) tabbed menus
D) translator



Which of the following are types of navigation styles?

A) bread crumbs
B) site map
C) straight navigation
D) web navigation


Drop-down menus are similar to tabbed dividers in a three-ring binder.

A) True
B) False

Answers

1. a.
2. d
3. b
I hope this helps

Answer:

1. True - Web navigation provides users feedback on where they are on the site, and where they can go.

2. tabbed menus - Tabbed menus are a popular navigation UI design pattern. It's a widely used navigation style in smartphone applications.

3. bread crumbs, web navigation and site map - All of these UI navigation design styles are crucial for any website today. They allow users to understand a site easily.

4. False - Drop down menus are menu styles that are used whenever there is finite amount of possible data.

Explanation:

Print speed is typically measured in ____.

Answers

pages per minute (ppm) 
dots per second (dps) 
pixels per minute (ppm) 
characters per second(cps)

A slide can contain a link to another slide another document or a web page true or false

Answers

That is True. very very true.

________ is installed on your computer, and when the program is opened, your e-mail downloads to your computer.

Answers

An email client is installed, like Microsoft Outlook for example.

Answer:

E-mail client

Explanation:

The mail client is responsible for communicating with the mail server, picking up the messages that have reached the electronic mailbox and displaying them in an orderly manner so that they can be read comfortably. It also allows you to write new messages and is also responsible for delivering them to the mail server so that it can channel them to your destination

You can distinguish three types of mail clients according to the way to access them:

Installed on a PC. They run directly from a personal computer. On personal computers that have Windows / xx as an operating system, mail clients will be versions for Windows such as: Eudora, Pegasus, Messenger (Mozilla), Messenger (Netscape), Outlook (Microsoft), Outlook Express (Microsoft), Exchange ( Microsoft).

Residents on the server. It requires connecting to the server by remote terminal using encrypted connection (ssh, which is the preferred option), or simple connection (telnet, anzio, netterm, qvtnet). Once the remote terminal of the server is opened, one of the mail clients installed on it runs.

Through the Web From a web browser you can access, through a web-secure (encrypted) connection, the messages received, as well as send new messages.

which course must first-time drivers in florida take to be eligible for their learners license?
a. effects of alcohol safety course
b. thirty-hour driver education course
c. traffic law and substance abuse education (TLSAE)
d. DUI-DWI resistance and prevention

Answers

C) traffic laws and substance abuse education

C. Traffic Laws and Substance Abuse education

Toolchain "mingw gcc" is not detected. refer to "c/c++ development user guide", "before you begin" how to install toolchains.

Answers

Answer: "The CDT MinGW toolchain will find this install if it is located in the default C:\MinGW directory, the MinGW bin directory is placed in your path, or if the MinGW location is stored in the MINGW_HOME environment variable. Note that the Wascana IDE has been discontinued."

A _____ network is one in which all network devices are connected to one another through a single central device called the hub node.

Answers

Answer: Switch

Explanation: A switch a device that connects devices together on a computer network, by using packet switching to receive, process and forward data to the destination device.

Source:  Networking _ Hardware Encyclopedia

Your computer is configured to obtain an ipv4 address and dns server address automatically. what utility will help you to find the ipv4 address of your computer?

Answers

ifconfig -a # windows: ipconfig /all

ip addr

Final answer:

To find your computer's IPv4 address, you can use the Command Prompt on Windows or Terminal on Mac and Linux, executing 'ipconfig' or 'ifconfig' respectively.

Explanation:

To find the IPv4 address of your computer, one effective utility you can use is the Command Prompt on Windows or Terminal on MacOS and Linux. This utility allows you to execute commands that can retrieve system information, including your computer's IP address.

For Windows users, you can open the Command Prompt by searching for 'cmd' in the start menu. Once opened, type the command 'ipconfig' and press enter. Your computer's IPv4 address will be listed under the relevant network adapter, typically labeled as 'IPv4 Address'.

For MacOS and Linux users, you can open the Terminal. In this utility, type the command 'ifconfig' for Linux or 'ipconfig getifaddr en0' for MacOS and press enter. Your IP address should be displayed as a result of this command.

These commands are straightforward ways to retrieve your computer's IP address without needing to navigate through various menus in your system's settings.

Which action should you take when sending a large attachment?

Answers

Cancel out other tasks, let the internet focus upon the one attachment.

The master system database stores a database template that is used as a blueprint when creating a new user database.

Answers

An attribute in a relation of a database that serves as the primary key of another relation in the same database is called a

Desktop operating systems sometimes are called ______ operating systems because they also work in conjunction with a server operating system.

Answers

Client, because they are a part of the server operating system request line. The client asks for a request for information or data from the provider (the server) and the server provides this to its client (the desktop computer). They work together hand in hand one is recieving information and one is sending information
Other Questions
A mouse had a gene sequence of GTT coding for leucine, an amino acid.____ mutation in this gene led to the formation of GTG. However, the amino acid formed was leucine, despite the mutation. This is a_______ mutation for the mouse. How can human use of fossil fuels be detrimental to the environment? Sentience refers to an animal's ability to A skier with a 65kg mass skies down a 30 degree incline hill. The coefficient of friction is 0.1. a. Draw a free body diagram. b. Determine the normal force. c. Determine the acceleration of the skier down the hill. Factor the expression over the complex numbers. x^2+50 Can somebody help me find the missing one What is an animal that is classified as an invertebrate? a. flounder b. fish c. shark d. sponge In eukaryotes, the process of the cell division is called mitosis, true or false ? The cranial nerve with a dual origin (brain and spinal cord) is the ________. Miguel has 3 times as many rabbits as Sarah. Miguel has 6 rabbits. How many rabbits does Sarah have? Textiles woven from alpaca wool were common among the people of How did president grant's cabinet members affect his presidency? HELP NEEDED FAST!!!!Why should you research the companys mission and goals?You can use this information to show how you will be an asset to the company.This information will tell you whether or not the company is profitable. You can find out about the company's status and success rate by reading this information. It isnt necessary to look at this information. Please help me with math please, they are number lines. Find the measure of D if A = 5 2 x + 30 B = 7 2 x + 40 C = 9 2 x + 10 D = 5 2 x + 20 the underlined words are in parenthesis.despite their name, french fries are not originally from france.(french fries are not originally from france)A. independent clause.B. adjective clause.C. adverb clause. D. noun clause. pick a clause(this question is not about the origin of French fries) Which metallic element may be considered as the periodic table's "cruel joke", and why? Noah visited 40 people in 4 hours. How long will it take him to visit 120 people? During which process in the mitochondria is glucose converted into adenosine triphosphate Please help!!!!!! Identify the class and noun function of the pronoun. For intensive pronouns put NONE for nouns functionsThe coach himself decided to play during practice. Noun function:Pronoun class: Steam Workshop Downloader