Suppose x, y, and z are int variables and ch is a char variable. Consider the following input: (2) 78 86 18 #42 & What value (if any) is assigned to x, y, z, and ch after each of the following statements executes?

Answers

Answer 1

Here's the value of x, y, z, and ch after each of the following statements execute:

X will be assigned the value 2.Y will be assigned the value 78.Z will be assigned the value 86.

The "value of a variable" refers to the data stored in the memory location that has been assigned a specific name (the variable). In programming, a variable is a storage location for a value. When you assign a value to a variable, that value is stored in memory, and you can access it later by referring to the variable name.

To find the value of variable you can determine it by coding that is shown below.

ch = 42;

Ch will be assigned the ASCII value of the character '*', which is 42.

x = &ch;

X will be assigned the memory address of the ch variable.

y = *x;

Y will be assigned the value stored at the memory address stored in x, which is 42.

z = &y;

z will be assigned the memory address of the y variable.

x = *z;

Learn more about variable: https://brainly.com/question/30365768

#SPJ4

Suppose X, Y, And Z Are Int Variables And Ch Is A Char Variable. Consider The Following Input: (2) 78
Suppose X, Y, And Z Are Int Variables And Ch Is A Char Variable. Consider The Following Input: (2) 78
Suppose X, Y, And Z Are Int Variables And Ch Is A Char Variable. Consider The Following Input: (2) 78
Suppose X, Y, And Z Are Int Variables And Ch Is A Char Variable. Consider The Following Input: (2) 78

Related Questions

declare an integer variable named cost and assign it the value held in the floating-point variable price, truncating the fractional part. assume that price has been declared and initialized.

Answers

A variable of the floating point type can store a real number, such as 43210, -3.33, or 0.01226. Because the decimal point can "float," or support a variable number of digits before and after it, the floating component of the name floating point refers to this property.

What is the floating-point variable price?

The formula below can be used to determine a floating point number's decimal equivalent: Number is equal to ( 1) s 2 e 127 1 f, where s is the exponent (between 0 and 255), e is the exponent (for positive integers), and f is the mantissa.

The term "fixed point" describes how numbers are represented in the equivalent way, with a set number of digits following, and occasionally before, the decimal point.

Therefore, The position of the decimal point in relation to the significant digits of the number can "float" when using floating-point encoding.

Learn more about variable price here:

https://brainly.com/question/28285449

#SPJ4

Which one of the following statements can be used to extract the last five characters from any string variable str?
a) str.substring(str.length() - 5, str.length())
b) str.substring(5, 5)
c) str.substring(str.length() - 4, 5)
d) str.substring(str.length() - 5, 5)

Answers

a) str.substring(str.length() - 5, str.length())

The correct answer is a) str.substring(str.length() - 5, str.length()).

What is substring?

Substring is a sequence of characters within a string. It can be a single character or a group of characters that are part of the string. Substrings are used in a variety of programming languages to perform certain operations on strings.

This statement will extract the last five characters of the string stored in the variable str. The first parameter of the substring method is the index of the first character to extract (in this case str.length() - 5) and the second parameter is the index of the last character to extract (in this case str.length()).

To learn more about substring

https://brainly.com/question/28290531

#SPJ4

to identify the types of systems that provide a strategic advantage to their firms, select the list that contains all the questions managers should ask

Answers

The questions managers should ask are:What competitive advantages does the system provide?What technologies does the system use?How will the system improve customer service?

What is the system ?

The system is a set of interconnected components that work together to achieve a common goal. It includes hardware, software, procedures, and personnel, and is designed to operate in a certain manner to provide a specific set of services or functions. A system can be made up of both physical and virtual elements, and can use a variety of technologies and components. It is important for a system to be designed with scalability in mind, allowing it to accommodate growth and changing needs. The system should also be designed with security in mind, ensuring that only authorized users can access the system.

To learn more about system

https://brainly.com/question/26986135

#SPJ4

5.Draw the hierarchy chart and then plan the logic for a program needed by Hometown Bank. The program determines a monthly checking account fee. Input includes an account balance and the number of times the account was overdrawn. The output is the fee, which is 1 percent of the balance minus 5 dollars for each time the account was overdrawn. Use three modules. The main program declares global variables and calls housekeeping, detail, and end-of-job modules. The housekeeping module prompts for and accepts a balances. The detail module prompts for and accepts the number of overdrafts, computes the fee, and displays the result. The end-of-job module displays the message Thanks for using this program.

b. Revise the banking program so that it runs continuously for any number of accounts. The detail loop executes continuously while the balance entered is not negative; in addition to calculating the fee, it prompts the user for and gets the balance for the next account. The end-of-job module executes after a number less than 0 is entered for the account balance.

I am looking for help with the b part

Answers

The hierarchy chart and the logic for a program needed by Hometown Bank are attached.

What is a hierarchy chart?

The relationship between different modules or systems in an organization is depicted graphically using a hierarchy chart. A hierarchy chart is a common representation of an organizational structure in programming.

The hierarchy chart, commonly referred to as a structure chart, illustrates the connections between different modules. It gets its name from the fact that it's frequently used to illustrate how a firm is organized (or structured).

The hierarchy chart lacks the repetition or selection logic that genuine algorithms (flowcharts or pseudo-code) require.

Learn more about program on:

https://brainly.com/question/1538272

#SPJ1

All the files- documents, spreadsheets, pictures, songs, and so on- that you create and store during the day-to-day use of your computer.This is the meaning of?

Answers

All the files- documents, spreadsheets, pictures, songs, and so on- that you create and store during the day-to-day use of your computer is the meaning of computer data.

Computer data refers to all the digital information that is stored on a computer's hard drive or other storage media. This includes all types of files, such as documents, spreadsheets, pictures, songs, videos, and more. It is important to regularly back up important computer data to prevent data loss in case of hardware failure or other issues.

The data can be created and stored by an individual during the normal use of their computer, or it can be downloaded from the internet or other sources. The data can also be processed and manipulated by various software applications to create new or modified versions of the original data.

Learn more about computer data: https://brainly.com/question/20523497

#SPJ4

which of the following modern technologies made the liang and mahadevan experiment on flower blooming possible? -time-laspse videography
-mathematical modeling

Answers

The Liang and Mahadevan experiment on flower blooming was made possible by time-lapse videography.

Describe time-lapse videography?

Time-lapse videography is a technique used in photography and videography that captures the change in a scene over a period of time and condenses it into a shorter, accelerated video. It involves capturing images or videos at regular intervals, and then playing them back at a much faster speed to create the time-lapse effect.

Time-lapse videography can be used to capture a wide range of events, from the movement of clouds and the rising and setting of the sun, to the construction of a building or the growth of plants. By capturing these events over a long period of time and playing them back at a faster speed, time-lapse videography can reveal patterns, movements, and changes that would be difficult to see in real-time.

To create a time-lapse video, a photographer or videographer will typically use a digital camera or video camera and a tripod to keep the camera steady during the recording process. They will also need a remote control or intervalometer to trigger the camera at regular intervals, or software to control the camera and stitching the images together.

In addition to capturing natural events, time-lapse videography is also used in scientific research, film production, and advertising. Its ability to show change and movement over time can add an extra dimension to a scene and make it more interesting and engaging for the audience

To know more about videography visit:

https://brainly.com/question/17264502

#SPJ4

Which of the following masks, when used as the only mask within a Class B network, wouldsupply enough subnet bits to support 100 subnets? (Choose two.)a. /24b. 255.255.255.252c. /20d. 255.255.252.0

Answers

Of the given options, both "/20" and "255.255.252.0" would supply enough subnet bits to support 100 subnets.

Why 255.255.252.0?

A Class B network has a default mask of 255.255.0.0, which provides 16 bits for the network ID and 16 bits for the host ID. To support 100 subnets, we need at least 7 subnet bits.

"/20" is written in CIDR notation, which represents the number of bits used for the network ID. A "/20" mask means that 20 bits are used for the network ID, which leaves 12 bits for the host ID and subnet ID.

"255.255.252.0" is written in decimal notation, which represents the value of each octet in the IP address. When converted to binary, this mask provides 22 bits for the network ID and 10 bits for the host ID.

Both "/20" and "255.255.252.0" provide enough subnet bits to support 100 subnets.

To know more about  Class B Network, Check out:

https://brainly.com/question/14914663

#SPJ4

.

Your point of view regarding the comparison of G suite vs MS Office 365

Answers

Easy-to-use online versions of Office 365's well-known programs, including Word, Excel, Outlook, and PowerPoint, are available. G Suite provides online versions of its well-known applications.

How do Drive and Microsoft Office 365 differ from one another?

For Outlook, Word, Excel, PowerPoint, and OneNote, Microsoft 365, formerly known as Office 365, offers web, desktop, and mobile programs. To access files and documents and save them safely, use  Drive, a cloud storage and backup platform.

How do Microsoft 365 and Microsoft Suite differ from one another?

Products included in the Office 365 suite are referred to as "Microsoft Office 365." Microsoft has made a set of teamwork tools called the Office 365 suite available to help with business. These include Microsoft Teams, OneDrive, Microsoft Word, and Microsoft Exchange.

To know more about MS Office 365 visit:-

https://brainly.com/question/13785978

#SPJ1

The accompanying dataset shows the monthly number of new car sales in the last three years. Develop a multiple regression model with categorical variables that incorporate seasonality for forecasting sales.
Develop a multiple regression model with categorical variables that incorporate seasonality for forecasting​ sales, where December is the reference month.
Month Year Units
Jan 1 39,820
Feb 1 40,091
Mar 1 47,450
Apr 1 47,307
May 1 49,221
Jun 1 51,489
Jul 1 46,476
Aug 1 45,218
Sep 1 44,810
Oct 1 46,999
Nov 1 42,171
Dec 1 44,196
Jan 2 42,237
Feb 2 45,432
Mar 2 54,085
Apr 2 50,936
May 2 53,582
Jun 2 54,930
Jul 2 54,459
Aug 2 56,089
Sep 2 52,187
Oct 2 50,097
Nov 2 48,523
Dec 2 49,288
Jan 3 48,144
Feb 3 54,897
Mar 3 61,074
Apr 3 53,360
May 3 59,477
Jun 3 59,380
Jul 3 55,098
Aug 3 59,359
Sep 3 54,482
Oct 3 53,174
Nov 3 48,803
Dec 3 46,966

Answers

A multiple regression model incorporating seasonality for forecasting new car sales can be developed as follows:

Sales = β0 + β1*Jan + β2*Feb + β3*Mar + ... + β11*Dec + β12*Year

Where Jan, Feb, etc. are binary variables that indicate whether the month is January, February, etc., and Year is a variable that indicates the year. The variable Dec is used as the reference category, and the coefficients β1, β2, etc. represent the deviation of sales in each month from the sales in December. The coefficient β12 represents the overall trend in sales across the years

What is the purpose of incorporating seasonality into the multiple regression model?

The purpose of incorporating seasonality into the multiple regression model is to account for recurring patterns in the data related to specific time periods, such as months, and to provide a more accurate forecast of new car sales.

To know more about forecasting  visit: https://brainly.com/question/30187179

#SPJ4

Looking ahead a few months, suppose you've just finished the final exam for MAR 3023 and you're ready to sell back your book to get some cash for the holidays. According to the Multi-Attribute Model, which store are you most likely to choose? [All data are measured on 10-point scales like the ones discussed in lecture.]

Answers

Searching for information, evaluating options, and solving problems purchasing choice, appraisal after purchasing, information search.

If you receive an "A" on your next exam, you are most likely to attribute "I am incredibly smart!" based on the self-serving bias. You can regularly use this cognitive bias to preserve your sense of self-worth. When you link favorable events to character attributes, you feel more confident. By putting the blame for mistakes on outside forces, you stand up for your self-worth and absolve yourself of responsibility. How does bias that supports the leader's self-interest work? Due to their self-serving bias, managers may claim credit for their teams' successes in the workplace. They could also attribute their team's failures to outside factors (or their own flaws). As a result, workers could develop a distrustful and contemptuous attitude.

Learn more about Cognitive bias here:

https://brainly.com/question/29496971

#SPJ4

Which of the following is true regarding Regression Output in Excel using the Regression tool in the Data Analysis ToolPak?Group of answer choices:a. p-values that are less than 0.01 are said to be statistically significant at the .05 level.b. The R Square value can be any number between -1 and +1.c. Significance F values close to 1 indicate that the model fits the sample data well.d. The intercept value will always be negative.

Answers

Option b. The R Square value can be any number between -1 and +1 is true.

The R-squared value, also known as the coefficient of determination, is a measure of the goodness of fit of the regression model. It is a value between 0 and 1, with 0 indicating that the model does not fit the data at all and 1 indicating that the model perfectly fits the data.

A value close to 1 indicates that the model fits the data well, while a value closer to 0 indicates that the model does not fit the data well. The R-squared value can never be negative as it is a measure of the proportion of the total variance in the dependent variable that is explained by the regression model.

Learn more about excel: https://brainly.com/question/3441128

#SPJ4

Consider the discussion in Section 1.3 of packet switching versus circuit switching
in which an example is provided with a 1 Mbps link. Users are generating
data at a rate of 100 kbps when busy, but are busy generating data only with
probability p = 0.1. Suppose that the 1 Mbps link is replaced by a 1 Gbps link.
a. What is N, the maximum number of users that can be supported simultaneously
under circuit switching?
b. Now consider packet switching and a user population of M users. Give a
formula (in terms of p, M, N) for the probability that more than N users
are sending data.

Answers

a. It can support a maximum of 1 Mbps / 100 kbps = 10 users simultaneously.

b. The formula would be calculated using N = 10 and M = the number of users being considered.

a. In circuit switching, a dedicated physical path is established between the sender and receiver for the duration of the communication. The maximum number of users that can be supported simultaneously is limited by the capacity of the link. In this case, the link has a capacity of 1 Mbps, so it can support a maximum of 1 Mbps / 100 kbps = 10 users simultaneously.

b. In packet switching, the data is divided into small packets, each of which is transmitted individually and can take a different path to reach its destination. With M users, the probability that more than N users are sending data at the same time is given by:

P(more than N users sending data) = 1 - (1 - p)^M

Where p = 0.1 is the probability that a user is busy generating data. This formula gives the probability that at least one of the M users is sending data. To find the probability that more than N users are sending data, we can subtract the probability that exactly N users are sending data:

P(more than N users sending data) = 1 - (1 - p)^M - (M choose N) * p^N * (1 - p)^(M-N)

Where (M choose N) is the binomial coefficient, which gives the number of ways to choose N items from M items.

With the 1 Gbps link, the maximum number of users N is still 10, so the formula would be calculated using N = 10 and M = the number of users being considered.

Learn more about packet switching and circuit switching here: https://brainly.com/question/17613816

#SPJ4

Which of the following DHCP scope options assigns a static IP configuration to a device using that device's MAC address?A. ReservationB. OfferC. DiscoverD. Dhcp server

Answers

A. Reservation is a specific configuration within a DHCP scope that assigns a static IP address to a device using that device's MAC address.  

Reservations are useful in situations where it is important to maintain a consistent IP address for a device, such as when configuring a server or when a device requires a fixed IP address for remote management.

In Dynamic Host Configuration Protocol (DHCP) scopes, a reservation is a feature that allows an administrator to assign a static IP address configuration to a device using that device's MAC address.

When a device with a reservation requests an IP address from the DHCP server, the server will assign the IP address that has been reserved for that device, ensuring that the device will always receive the same IP address.

Learn more about Reservation: https://brainly.com/question/13384376

#SPJ4

Virtually all computers are ____

Answers

Virtually all computers consist of hardware and software. They enable a computer to compensate for physical memory shortages, temporarily transferring data from one computer to another in a fraction of a second.

What are the functions of computers?

The functions of the computer are as follows:

It is a data processing device that significantly performs four major functions: input, process, output, and storage. There are basically used for the basic functions of computers - input, storage, processing, and output.

It is a set of electronic devices that manipulate information or data. It has the capability to store, retrieve, and process data. You may already know that you can use a computer to type documents, send emails, play games, browse the Web, etc.

Therefore, virtually all computers consist of hardware and software.

To learn more about computers, refer to the link:

https://brainly.com/question/24540334

#SPJ1

fill in the blank. ___ is when a specific time and level of product are chosen for an analysis against different points in the logistics system

Answers

"What-if analysis" is when a specific time and level of product are chosen for an analysis against different points in the logistics system.

What-if analysis is a type of modeling technique that is used to simulate different scenarios and explore the potential outcomes. In the context of logistics, it involves selecting a specific time and level of product and analyzing it against various points in the logistics system. For example, you might choose a particular product and use a what-if analysis to examine the impact of changes in the supply chain, such as different production processes or shipping routes, on the cost and delivery time of that product.

The purpose of a what-if analysis is to help make informed decisions by allowing you to see the potential consequences of different actions and make changes before actually implementing them. This can be a valuable tool for improving supply chain efficiency and reducing costs, as well as for managing risk and preparing for unexpected events.

Learn more about What-if analysis here:

https://brainly.com/question/28249987

#SPJ4

Logan is considering web app development as a career option. Which of the following languages does he not need to master?a. CSSb. JavaScriptc. HTML5d. Logo

Answers

Logan is considering web app development as a career option. The language do he not need to master is Logo.

What are the functions of a Logo?

Professional graphic designers frequently generate logos using programmes like Adobe Illustrator or Photoshop, but occasionally non-designers can create logos using more approachable programmes like Canva or Procreate. When designing a logo, both its intended usage and its content must be taken into account. A powerful logo communicates a company's mission and makes it simple to distinguish the business from rivals. A company's logo is a component of its larger brand identity, which also includes non-design monikers that are particular to the business and other design components like typography and colour scheme.

To know more about Logo, Check out:

https://brainly.com/question/29302035

#SPJ4

.

The CSS box model describes how the parts of a CSS box fit together and the size of the box. What is the actual width of the following box's visible part under the standard box model? box {width: 200px; padding: 10px; margin: 0 15px; border: 2px 5px;}
230px
220px
200px
260px

Answers

Any text, images, or other HTML components are shown in the content area of a box in CSS.

What exactly is the CSS box model and which CSS properties make up its component parts?

Borders, margin, padding, and the actual content are just a few of the attributes that may be found inside a CSS box. The layout and design of web pages are created using it. A square prism is what the web browser provides for each element in accordance with the CSS box model.

How does the size of a box model depend on CSS properties?

It has the margin-box height and width as its parameters. The margin-top, margin-right, margin-bottom, margin-left, and shorthand margin attributes all affect how big the margin area will be.

To know more about box in CSS visit :-

https://brainly.com/question/14152823

#SPJ4

______data would be useful for creating a report containing last year's revenue, which won't be changing.
A. Field
B. Linked
C. Embedded
D. Integrated

Answers

A. Field data would be useful for creating a report containing last year's revenue, which won't be changing.

What is Field data?

The process of analyzing field note data takes place over time and starts as soon as a field researcher enters the field and continues as interactions take place, as the researcher records descriptive notes, and as the researcher considers the significance of those interactions and descriptive notes.

Therefore, field data, which comprises anonymized performance data from users in the real world on a variety of devices and network situations, is a historical report on how a certain URL has performed. The lab data is based on a defined set of network conditions and a simulated load of a page on a single device.

Learn more about Field data from

https://brainly.com/question/30177146
#SPJ1

in debugging mode, which of the following (when typed into the memory window's address bar) will directly jump to the first memory address of variable username?

Answers

The debugging system is used to find logic, run-time, or execution faults; the MASM assembler is used to find syntax errors.

In which register is the 32-bit address of the following instruction that will be sent to the instruction execution cycle stored?

The next instruction to be fed into the instruction execution cycle is located at its 32-bit address in the EIP register. The Status & Control Register's status flags are implemented as separate bits.

In the arm programming model, how many 32-bit registers are at the programmer's disposal?

ARM core registers An ARM processor has thirteen general-purpose 32-bit registers, numbered R0 to R12, in the application-level perspective. SP, LR, and PC, three special purpose 32-bit registers, are referred to as R13 to R15.

To know more about debugging visit:-

https://brainly.com/question/30366571

#SPJ4

Using C language, alter the program such that only the correct output is sent to the standard output stream (stdout), while error and help messages are sent to the standard error stream (stderr).
(Hint:use fprintf.)
See the expected output listed in the comment at the top of main.c for an example of what should go to stdout.
#include
#include
#include
#include "smp0_tests.h"
#define LENGTH(s) (sizeof(s) / sizeof(*s))
/* Structures */
typedef struct {
char *word;
int counter;
} WordCountEntry;
int process_stream(WordCountEntry entries[], int entry_count)
{
short line_count = 0;
char buffer[30];
while (gets(buffer)) {
if (*buffer == '.')
break;
/* Compare against each entry */
int i = 0;
while (i < entry_count) {
if (!strcmp(entries[i].word, buffer))
entries[i].counter++;
i++;
}
line_count++;
}
return line_count;
}
void print_result(WordCountEntry entries[], int entry_count)
{
printf("Result:\n");
while (entry_count-- > 0) {
printf("%s:%d\n", entries->word, entries->counter);
}
}
void printHelp(const char *name)
{
printf("usage: %s [-h] ... \n", name);
}
int main(int argc, char **argv)
{
const char *prog_name = *argv;
WordCountEntry entries[5];
int entryCount = 0;
/* Entry point for the testrunner program */
if (argc > 1 && !strcmp(argv[1], "-test")) {
run_smp0_tests(argc - 1, argv + 1);
return EXIT_SUCCESS;
}
while (*argv != NULL) {
if (**argv == '-') {
switch ((*argv)[1]) {
case 'h':
printHelp(prog_name);
default:
printf("%s: Invalid option %s. Use -h for help.\n",
prog_name, *argv);
}
} else {
if (entryCount < LENGTH(entries)) {
entries[entryCount].word = *argv;
entries[entryCount++].counter = 0;
}
}
argv++;
}
if (entryCount == 0) {
printf("%s: Please supply at least one word. Use -h for help.\n",
prog_name);
return EXIT_FAILURE;
}
if (entryCount == 1) {
printf("Looking for a single word\n");
} else {
printf("Looking for %d words\n", entryCount);
}
process_stream(entries, entryCount);
print_result(entries, entryCount);
return EXIT_SUCCESS;
}

Answers

Answer:

agaiinn im telling u againnn i already explained so much

What is Direct-Attached Storage (DAS) and How Does it Work?

Answers

(DAS) is a type of storage solution that connects directly to a computer or server, rather than connecting over a network. This type of storage is typically used in single user environments.

What is the environments?

Environments are the natural surroundings in which living things exist. This includes air, water, soil, plants, animals, and other factors that make up the world around us. It is essential for the survival of all species, as every organism depends on its environment for sustenance and shelter. The environment is a complex system of interacting elements that affect each other. These interactions can be both positive and negative, and they can have far-reaching consequences for the world’s ecosystems. Environmental degradation can lead to the destruction of habitats, the decline of species, and the disruption of life-sustaining processes.

To learn more about environments

https://brainly.com/question/29384911

#SPJ4

A(n) _____ is a common output device for soft copy.A)liquid crystal displayB)floppy diskC)laser printerD)electrostatic plotter

Answers

A typical output device for soft copy is a liquid crystal display.

What is a typical output device?

Common examples of output devices include monitors, projectors, headphones, speakers, printers, and plotters (physical reproduction in the form of text or graphics). A display device is the output device that is most typically utilized to graphically convey output on computer screens.

An illustration of soft copy output

Any output that can be quickly changed, kept in computer memory, and displayed on a screen is referred to as soft-copy output. A physical copy of information that is created on paper is referred to as a hard copy output. It is difficult to change them. Monitor.

To know more about liquid crystal display visit:-

https://brainly.com/question/1177423

#SPJ4

Write the following program in C++
A vineyard owner is planting several new rows of grapevines, and needs to know how many grapevines to plant in each row. She has determined that after measuring the lenght of a future row, she can use the following formula to calculate the number of vines that will fit in the row, along with the trellis end post assemblies that will need to be constructed at each end of the row:
v=R-2E/S
The terms in the fomula are V=the number of grape vines that will fit in the row
R is the lenght of the row, in feet
E is the amount of space, in feet used by an end post assembly
S is the space between vine, in feet
Write a program that makes the calculation for the vineyard owner.
the rows are 275ft in lenght the trellis is 9 ft adn the spaccing of plants in 5 ft
the program should caluclate and display the number of grapevines thagt will fit in the row

Answers

Program in C++ to calculate the number of vines that can be planted in a space or row. Output image of the algorithm and code is attached.

C++ Code

#include<iostream>

using namespace std;

int main() {

// Define variables

float lenght_row;

float number_of_vines;

float space_btwn_vine;

float space_post;

// Input valid data

cout << "Lenght of the row (feet): ";

cin >> lenght_row;

do {

 cout << "Amount of space used by end post assembly (feet): ";

 cin >> space_post;

 if (!(space_post<lenght_row)) {

  cout << "Invalid, try again" << endl;

 }

} while ((space_post>=lenght_row));

do {

 cout << "Space between vine (feet): ";

 cin >> space_btwn_vine;

 if (!(space_btwn_vine<lenght_row-space_post)) {

  cout << "Invalid, try again" << endl;

 }

} while ((space_btwn_vine>=lenght_row-space_post));

// Calculating the number of vines that will fit in the row

number_of_vines = (lenght_row-2*space_post)/space_btwn_vine;

// Output

cout << "" << endl;

cout << "Number of vines that will fit in the row: " << number_of_vines << endl;

return 0;

}

To learn more about C++ coding see: https://brainly.com/question/28185875

#SPJ4

can i get answers please (Essentials of Software Engineering, Fourth Edition) True/False1. All requirements activities are needed in the same degree for all software projects.2. A software engineering team must plan requirements engineering activities for all software projects.3. During the requirements elicitation, the list of what the customer wants as the functions for the new software is not elicited, just what the business needs to do.4. A use case contains requirement information.5. Requirements definition involves formally spelling out the requirements.6.SRS is the artifact that spells out the final specific software requirements from the requirements engineering activities.7. Requirements are the "what" and design is the "how."8.The requirements engineering activities include review and validation, which are the testing of the requirements.9. High-level requirements elicitation serves as the opportunity, needs, and justification for the software project in the client’s business world.10. Low-level requirements elicitation uncovers constraints for the software project to be developed.11. Collection of the detail level information pertaining to data and their formats includes the input and output data of the software system.12. The requirements are ordered once they are elicited and collected.13. The detailed requirements section of the SRS is the shortest section.

Answers

The correct essentials of Software Engineering:

(1) False (2) True (3) False (4) True

What is software engineering?

A methodical engineering approach to software development is known as software engineering. A software engineer is a person who designs, develops, maintains, tests, and evaluates computer software using the concepts of software engineering. To address real-world issues, software engineers design and build computer systems and applications. For computers and applications, software engineers—also known as software developers—write software. It is more about coding and programming than practical engineering. Examples of tasks a software engineer might conduct are: examining the needs of a designated user group, then creating software that satisfies those needs. examine current computer systems and offer suggestions for improvements, The process of evaluating user requirements, designing, developing, and testing software applications is known as software engineering.

To know more about software engineering, check out:

https://brainly.com/question/29991682

#SPJ4

YOU HAVE AN EXISTING SYSTEM THAT HAS A SINGLE DDR3 MEMORY MODULE INSTALL. YOU WOULD LIKE TO ADD MORE MEMORY TO THE THREE REMAINING EMPTY MEMORY SLOTS. WHAT SHOULD YOU DO TO MAKE SURE YOU GET THE RIGHT MEMORY FOR THE SYSTEM? (select two)
– Purchased the fastest memory module possible
– Purpose additional modules that are the same as what currently installed
– Update the bios, then purchase the newest memory modules available
– Check the motherboard documentation to find which modules are supported
– Purchased the slowest modules to ensure compatibility

Answers

Check the motherboard documentation to find which modules are supported. In this case option C is correct

The main printed circuit board (PCB) in general-purpose computers and other expandable systems is referred to as a motherboard. It is also known as a mainboard, main circuit board,[1] mb, mboard, backplane board, base board, system board, logic board (only in Apple computers), or mobo. It houses and enables communication between many of the critical electronic parts of a system, including the memory and central processing unit (CPU), and it offers connectors for additional peripherals. A motherboard, as opposed to a backplane, typically houses important sub-systems, including the central processor, input/output and memory controllers for the chipset, interface connectors, and other parts designed for general use.

A PCB with expansion options is referred to as a motherboard. This board is frequently referred to as the "mother" of all components attached to it, as suggested by its name,

To know more about motherboard here

https://brainly.com/question/12795887

#SPJ4

FILL IN THE BLANK. With more than ____ predefined color schemes, Word provides a simple way to select colors that work well together.

Answers

With more than 20 predefined color schemes, Word provides a simple way to select colors that work well together.

Multi-Tool Word for Xenix Systems was the name given to it when it was first made available on October 25, 1983[9]. [10] [11][12] Later versions were created for a variety of other operating systems and hardware, such as SCO Unix (1990), Microsoft Windows (1989), Atari ST (1988), OS/2 (1989), Apple Macintosh running Classic Mac OS (1985), AT&T UNIX PC (1985), Web browsers (2010), iOS (2014), and Android (2015). Before 2013, Microsoft Word versions can be used on Linux by using Wine.

Commercial versions of Word are available for purchase as a stand-alone item or as a part of the Microsoft Office software suite, which can be obtained as a perpetual license or as a component of a Microsoft 365 subscription.

To know more about MS WORD here

https://brainly.com/question/20659068

#SPJ4

Scott, a security architect, has decided to adopt public key infrastructure (PKI) for a more formal approach to securely handling keys in his medium-sized organization. Scott's system will initiate a connection to a target system. During the formal PKI process, which of the following allows Scott's system to get the target's public key?
A.Private key of trusted entity
B.Public key of a trusted entity
C.Public key of a registration authority
D.Private key of trusted target

Answers

During the formal PKI process, the key that allows Scott's system to get the target's public key is:

B. Public key of a trusted entity.

In Public Key Infrastructure (PKI), a trusted entity, such as a Certificate Authority (CA), is responsible for issuing and managing digital certificates. The digital certificate contains the target's public key, which can be used by Scott's system to initiate a secure connection.

The private key of the trusted entity or the registration authority is used to sign the certificate and ensure its authenticity, but is not used to initiate the connection. The private key of the target is used to decrypt the information sent to it, but its public key is used to encrypt the information sent to the target.

Learn more about PKI process:

brainly.com/question/28155903

#SPJ4



4) Create a Java application that calculates a restaurant bill
from the prices of the appetizers, main course and
desert. The program should calculate the total price of
the meal, the tax (6.75% of the price), and the tip (15%
of the total after adding the tax). Display the meal total,
tax amount, tip amount, and the total bill.

Answers

The following C++ program  code has comments that provide explanations.

How is a bill derived from a meter reading?

You can determine how many units you've consumed by taking your current meter reading and subtracting the prior reading from it (you can see this on your most recent bill). After that, multiply the units by your tariff's current unit rate.

#include <iostream>

using namespace std;

int main()

{

//declare all  required fields in double format

 double mealCost =MC;

  double taxPercenatage=6.75;

 double tipPercentage=15;

// displaying original Meal Cost

  cout<< "Meal Cost: "<<mealCost<<endl;

// get  total tax percentage from meal cost

  double totalTax= taxPercenatage /100 * mealCost;

// display  tax amount

  cout<< "Tax Amount: "<<totalTax<<endl;

// getting tip amount from the meal cost and tax amount.

  double totalTip = tipPercentage/100 * (mealCost+totalTax);

//displaying tip amount

  cout<< "Tip Amount: "<<totalTip<<endl;

// now adding all three values and get the total amount that customer

// has to pay

double totalAmount = mealCost+totalTax+totalTip;

//Displaying the total amount

  cout<< "Total Bill: "<<totalAmount<<endl;

return 0;

}

To know more about  program  visit:-

https://brainly.com/question/13439195

#SPJ1

A smartphone stores the following data for each photo that is taken using the phone.
- The file name of the photo
- The date and time the photo was taken
- The geographic location where the photo was taken
Assume that all of the photos that have been taken on the phone are accessible. Which of the following can be determined using the photo data described above?
I. The number of photos that were taken at a particular geographic location.
II. The number of photos that were taken in the last year
III. The name of the person who took the most recent photo

Answers

The correct options are:

I. The number of photos that were taken at a particular geographic location can be determined using the photo data described above.

II. The number of photos that were taken in the last year can also be determined using the date and time information for each photo.

What is the smartphone  about?

I. The number of photos that were taken at a particular geographic location can be determined using the geographic location information stored for each photo. For example, if the phone stores the latitude and longitude of each photo, you could search for all photos taken within a certain radius of a specific location to determine the number of photos taken there.

Therefore, in II. The number of photos that were taken in the last year can be determined by looking at the date and time information for each photo and counting the number of photos taken within the last 365 days.

Learn more about smartphone  from

https://brainly.com/question/917245

#SPJ1

which of these statements is false regarding the windows 10 versions available? a.windows 10 enterprise is similar to the pro edition but designed for licensing by small businesses. b.windows 10 pro comes with extra networking and management features. c.windows 10 home is designed for domestic consumers. d.windows 10 education/pro education is for schools and colleges.

Answers

The regulatory regime is one of the crucial differences between Windows 10 Pro and Enterprise.

What tasks does the shell perform out for an operating system?

The shell oversees how you and the operating system interact by asking you for input, interpreting that input for the operating system, and handling any output the operating system produces as a result. You can interface with the operating system through shells.

Which version of Windows 10 is more user-friendly and intended primarily for users at home and in small offices?

The Home and Pro editions of Windows 10 are offered at retail in the majority of nations and come pre-installed on new computers, out of the five main editions that are available for personal computing devices. Home is meant for Pro is oriented towards power users and small businesses, while Home is for home users.

To know more about windows 10 visit:

https://brainly.com/question/14406373

#SPJ4

Other Questions
most scientific experts suggest that children should not participate in organized sport before the age of: Fimd the explicit formula.-4,-12,-36,-108 Find the surface area of the prism.22 cm7.5 cm5.5 cm Triangle HIJ is similar to triangle KLM. Find the measure of side MK. Round your answer to the nearest tenth Programming with Lists Multisets, or bags, can be represented as list of pairs (x, n) where n indicates the number of occurrences of x in the multiset. type Bag a - [(a,Int)] For the following exercises you can assume the following properties of the bag representation. But note: Your function definitions have to maintain these properties for any multiset they produce! (1) Each element x occurs in at most one pair in the list. (2) Each element that occurs in a pair has a positive counter. As an example consider the multiset {2, 3, 3,5,7,7,7,8), which has the following representation (among others) Note that the order of elements is not fixed. In particular, we cannot assume that the elements are sorted. Thus the above list representation is just one example of several possible. (a) Define the function ins that inserts an element into a multiset. ins :: Eq a => a-> Bag a-> Bag a (Note: The class constraint "Eq a =>" restricts the element type a to those types that allow the comparison of elements for equality with --.) (b) Define the function del that removes an element from a multiset. del Eq a -> Bag a Bag a (c) Define a function bag that takes a list of values and produces a multiset representation bag :: Eq a => [a] -> Bag a For example, with xs7,3,8,7,3,2,7,5] we get the following result. > bag xs (Note: It's a good idea to use of the function ins defined earlier.) (d) Define a function subbag that determines whether or not its first argument bag is contained in the second. subbag Eq aBag a Bag aBool Note that a bag b is contained in a bag b' if every element that occurs n times in b occurs also at least n times in b'. (e) Define a function isbag that computes the intersection of two multisets. isbag Eq Bag a ->Bag a -Bag a (0) Define a function size that computes the number of elements contained in a bag. sizeBag a ->Int data indicate that the present rate of freshwater consumption in most developed countries is.A. UnsustainableB. SustainableC. OverharvestingD. Agricultural irrigation a native american client discusses cultural beliefs with the nurse providing care. in order to recognize any negative feelings or stereotypes the nurse has, which should the nurse do to ensure culturally competent nursing care can be provided? If a state gave its residents preference in obtaining work at the state's utility provider, this would likely violate which of the following Constitutional clauses? All Board members have 3 fundamental duties a)duty of care, b)duty of loyalty, c) duty of obedience. If any 2 or more of these duties become in conflict which duty should take precedence over the other(s) and why? Valerie is driving to Houston. Her distance from Houston decreases 120 mi every 2 h. After 3 h.her distance from Houston is 60 mi. Valerie's distance from Houston in miles, y, is a function ofthe number of hours she drives, z.What is the rate of change? Find the change in Valerie's distance each hour.rate of change: ? how did the decision in plessy v. ferguson affect both the north and the south? group of answer choices the basis for separate but equal legislation was established. If angels were to govern men, neither external nor internal controls on government would be necessary. -James Madison, Federalist Paper No. 51Which of the following supports Madison's belief that internal and external controls on government are necessary? Fill in the blanks below in order to justifywhether or not the mapping shownrepresents a function.Set A736Set BThe mapping diagram above8representssince for each numberSet A (the output) thereare multiple mappings 5-3a functionin joint force air component commander (jfacc), joint force land component commander (jflcc), and joint force maritime component commander (jfmultiple choicec) are all examples of if you flip a fair coin 9 times, what is the probability of each of the following getting all tails If a battery has a radius of 4 millimeters and a height of 32 millimeters, approximately what is the area of the surface to be covered by the label? Use 3.14 for and round to the nearest hundredth. Giving an older sibling parenting responsibilities for a younger sibling most likely result in A. The older child resenting thisB. Both children appreciating the closenessC. The older child doing better at schoolD. The younger child respecting this 2k + 36 = 6k - 12 thx!! Why is it important for businesses to understand the law ofdemand and the market demand schedule ? A technician is setting up a new desktop computer and will be installing the hard drive directly on the motherboard without using cables to connect it. Which of the following will the technician be installing?A. ThunderboltB. eSATAC. M.2D. SCSI