True Or False: when a class variable is assigned the address of an object, it is said that the variable references the object.

Answers

Answer 1

When a class variable is assigned the address of an object, it is said that the variable references the object ---- True

What are class objects and variables?

A class describes the contents of the objects that belong to it. It describes collections of data fields (so-called instance variables) and defines operations (so-called methods).

Object: Objects are members (or instances) of classes. An object has the behavior of its class. A class variable, also known as a static variable, is declared with the static keyword inside a class, but outside a method, constructor, or block. There is only one copy of each class variable per class, no matter how many objects are created from it.

What is a reference to an object?

References also contain information that helps create instances of the objects they reference. It contains the Java class name of this object and the class name and location of the object factory used to create the object.

Learn more about class variables :

brainly.com/question/14465589

#SPJ4


Related Questions

Given a variable d of type int has been declared and the following function headers.
int f1(int a);
void f2(int &n);
bool f3(int r, char c);
Which of the following statements has a syntax error?
A. cout << f1(10);
B. f2(d);
C. if (f3(f1(d), 'x')) {
++d;
}
D. f2(10);

Answers

As f2() expects a variable, but a constant has been provided, (D) has incorrect syntax.

What is a variable?

A variable in programming is a value that is subject to change based on external factors or input. Typically, a program is made up of data that the program uses while it is running and instructions that tell the computer what to do.

Constants or fixed values that never change make up the data, while variables (whose initial values are typically set to "0" or some other default value because the program's user will supply the actual values) are also present. In most cases, certain data types are used to define both constants and variables.

The form of the data is dictated by and constrained by each data type. Examples of data types include a decimal representation of an integer or a string of text characters that is typically constrained in length.

Learn more about variables

https://brainly.com/question/2804470

#SPJ4

there are 20 offices located across the country with one corporate headquarters where the datacenter currently resides. all offices are connected via site to site vpn to the corporate office. all servers and services are centrally managed. client considerations: there are 100 desktops/workstations in each remote location with 200 at the corporate headquarters. all other users are field users and connect to corporate resources via home devices or portable devices.

Answers

VPNs, which provide secure Internet connections between individual users and their organization's network, have several advantages. And in this case, a VPN is the best option to connect corporate headquarters with 20 offices that are located across the country.

What is a VPN?

VPN is an abbreviation for "virtual private network," which is a service that protects your internet connection and online privacy. It encrypts your data, protects your online identity by masking your IP address, and allows you to safely use public Wi-Fi hotspots.

They provide more secure site-to-site connections, transfer information much faster than WANs, and, most importantly for small and medium-sized businesses, VPNs are much less expensive, because each office can use a single leased line to the Internet, lowering broadband costs.

To know more about VPN, visit: https://brainly.com/question/28945467

#SPJ4

When this tool under the Review Tab is turned on, it allows the user to see and track all changes as they are being made in MS Word

Last Markup

Track Changes

No Markup

Answers

Track Changes tools under the Review Tab is turned on, it allows the user to see and track all changes as they are being made in MS Word. Hence option 2 is correct.

What is MS word?

MS word is defined as Microsoft's widely used commercial word processor. Microsoft Word makes it easier to create basic word processing documents like letters and reports by including color and clip art.

Pick Track Changes from the Review tab's options. Choose one of the following options from the Track Changes drop-down list: Select Just Mine to keep track of modifications you make exclusively to the document. Select For Everyone to keep track of all user edits to the page.

Thus, track Changes tools under the Review Tab is turned on, it allows the user to see and track all changes as they are being made in MS Word. Hence option 2 is correct.

To learn more about MS word, refer to the link below:

https://brainly.com/question/11695086

#SPJ1

If you want to make an image look more like a sketch, which option should you use in the Adjust group?
O Color
O Corrections
O Artistic Effects
O Brightness and Contrast

Answers

Answer:

Artistic Effects

Explanation:

Artistic effects change the appearance of an image by attempting to mimic art media like paint or pencil, add texture (e.g., cement), or create other changes like blurring.

real-time scheduling question 3 options: a real-time task's cpu utilization can be calculated by dividing the length of the period by its service time for one period. a periodic task is a job that is repeated at regular intervals. schedulability refers to a property indicating whether a real-time system (a set of real-time tasks) can meet its deadline. soft real-time systems must guarantee that real-time tasks will be serviced according to their deadline requirements. real-time systems apply an admission-control algorithm to decide whether a task is admitted (guaranteeing that it will complete on time) or rejected (if it cannot guarantee that the task will be serviced by its deadline).

Answers

Almost all programs alternate between processing data on the CPU and waiting for I/O of some type. (Even a straightforward memory fetch takes a long time compared to CPU speeds).

What does a computer's real-time system do?

Any information processing system with hardware and software components that execute real-time application operations and can react to events within defined time restrictions is referred to as a "real-time system."

Real-time CPU scheduling – what is it?

The scheduler, clock, and hardware components of the processing system make up a real-time scheduling system. A process or task is schedulable in a real-time system; tasks are accepted by a real-time system and finished according to the task deadline dependent on the scheduling algorithm's characteristics.

to know more about CPU processing here:

brainly.com/question/22266515

#SPJ4

in order to obtain the content of emails from a third party internet service provider of a taxpayer under active criminal investigation

Answers

In order to obtain the content of emails from a third party internet service provider of a taxpayer under ongoing criminal investigation, the IRS must first obtain a court-ordered search warrant.

What is internet service provider?

An organization that offers both personal and commercial customers access to the internet is referred to as a "internet service provider (ISP). ISPs charge fees to allow their customers to use the internet to browse the web, shop online, conduct business, and stay in touch with friends and family.

ISPs may also offer extra services like email, domain registration, web hosting, and browser bundles. Depending on the services provided by the business, an ISP may also be referred to as an information service provider (ISP), storage service provider (SSP), internet network service provider (INSP), or any combination of these three.

Learn more about internet service provider

https://brainly.com/question/18000293

#SPJ4

A PivotChart displays ________ that you can click to choose a filter and change the data displayed in the chart.

Answers

You can select a filter and modify the data shown in the chart by clicking drop-down menus that are provided on a PivotChart.

Pivot Table: what is it?

A pivot table is a table with grouped values that groups the components in a larger table (from a database, spreadsheet, or business intelligence application, for example) into one or more discrete categories. This summary may contain sums, average, or even other data that the pivot table combines using an aggregation function of choice that's also applied to the grouped information. Pivot Tables can be problematic for customers who seek automated access to data and information centers. So because data isn't "flat" and data system, this is the case.

To know more about pivot table
https://brainly.com/question/1316703
#SPJ4

T/F. in computing the present value of an annuity, it is not necessary to know the number of discount periods

Answers

In computing the present value of an annuity, it is not necessary to know the number of discount periods --- False

Why should I calculate the present value of a simple annuity?

Knowing the present value of your annuity generally helps you plan for retirement and your financial future. If you have the option to choose an annuity or lump sum payment, you need to know the value of your remaining annuity payments so you can choose.

Why is it important to understand present and future values?

Present value helps investors understand and decide whether to invest or not. Future value does not play a significant role in investment decisions as it reflects future returns from an investment.

Learn more about Present value annuity :

brainly.com/question/17112302

#SPJ4

sarah needs to send an email with important documents to her client. which of the following protocols ensures that the email is secure?

Answers

S/MIME is the protocol sarah needs to follow to send an email with the important documents to her client

What is a S/MIME protocol?

S/MIME is a widely used protocol for sending digitally signed and encrypted messages. S/MIME in Exchange Online provides the following email message services: Encryption: This safeguards the content of email messages.

 a S/MIME certificate is an end-to-end encryption solution for MIME data, also known as email communications. The use of asymmetric cryptography by S/MIME certificates prevents a third party from compromising the message's integrity. A digital signature is used to hash the message in plain English. The message is then encrypted to ensure its confidentiality.

According to GlobalSign, a company that provides specialised Public Key Infrastructure (PKI) solutions to businesses, S/MIME uses public encryption to protect communications that can only be decoded with the corresponding private key obtained by the authorised mail receiver.

Hence to conclude S/MIME protocol must be used by sarah to send an email with important documents to client

To know more on S/MIME protocol follow this link

https://brainly.com/question/23845075

#SPJ4

bill smith has just been prompted to change his password. he has a list of possible passwords he is considering. which of the following passwords is considered the most secure?

Answers

He used the password of I L! kE H0cky this is more secured.

What is password?

A password, sometimes it is  called a passcode, is secret of the  data, typically a string of characters, usually used to the  confirm a user's identity.

He has the  list of possibly passwords he is considering. Which of the following passwords is to the  considered the most secure? I L! kE H0cky is there most secure because it is to a passphrase that has the  uppercase and lowercase of  letters, numbers, and the  special characters.

To know more about password click-

https://brainly.com/question/28114889

#SPJ4

The hexagon properties of ice crystals are due to the polarity of the water
molecule.
True or false?

Answers

Answer: The hexagon properties of ice crystals are due to the polarity of the water molecule. True or false?

Well, It is true.

Explanation:

Write a program that will add up the series of numbers: 105, 104, 103… 3, 2, 1. The program should print the running total as well as the total at the end. The program should use one for loop, the range() function, and one print() command.

Sample Run
105
209
312
414
515
615



5555
5559
5562
5564
5565

Answers

[tex]\huge \boxed{\sf 5565}[/tex]

sum = 0

for i in range(105,0,-1):

   sum = sum + i

print(sum)

The sum value initializes at 0. The loop starts with 105, ends with 1, and decreases the value by 1. The numbers add to each iteration's sum until the loop ends and displays the sum.

The program that will add up the series of numbers: 105, 104, 103… 3, 2, 1 is in explanation part.

What is programming?

The process of carrying out a specific computation through the design and construction of an executable computer program is known as computer programming.

Here's an example program in Python that meets your requirements:

total = 0  // initialize the running total to 0

for num in range(105, 0, -1):  // iterate over the range of numbers in reverse order

   total += num  // add the current number to the running total

   print(total)  // print the running total

print("The total is:", total)  // print the final total after the loop completes

Thus, this program uses a for loop to iterate over the range of numbers from 105 to 1 in reverse order (using a step of -1).

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ2

[choose w] let w be a random odd integer. then (w - 1) is even and can be expressed in the form 2^a m with m odd. that is, 2^a is the largest power of 2 that divides (w - 1).

Answers

let w be a random odd integer.Therefore, w is an odd integer and (w - 1) can be expressed in the form 2^a m with m odd.

What is integer ?

Integers include all positive and negative numbers without decimal points, such as -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5 and so on. The set of all integers is denoted by the symbol Z, and is referred to as the set of integers. An integer does not have any fractional parts or decimals. Examples of integers include -2, -1, 0, 1, 2, 3, and 4.

Integers are the basic building blocks of mathematics, and are used in almost all mathematical operations and calculations.

To learn more about integer
https://brainly.com/question/29692224
#SJP4

fill in the blank: file-naming conventions are _____ that describe a file's content, creation date, or version.: A) consistent guidlines; B) frequent suggestions; C) general attributes; D) common verification

Answers

consistent guidlines

File-naming conventions are consistent guidelines that describe the content, creation date, or version of a file.

File-naming conventions:

A File Naming Convention (FNC) is a structure for naming files that describes what they contain and how they relate to other files.

Creating a FNC begins with identifying the project's key elements, as well as the significant differences and similarities between your files. These elements could include the creation date, author's name, project name, name of a section or sub-section of the project, file version, and so on.

The ability to follow path names and link to other systems that require unique filenames is one advantage of using unique and standardized filenames.

To know more about File-naming conventions, visit:  https://brainly.com/question/29641705

#SPJ4

In the python built-in open function, what is the exact difference between the modes w, a, w+, a+, and r+?

Answers

Differences between the  python built-in open function are mentioned below:

The + character adds either reading or writing to an existing open mode, also known as update mode. The letter r stands for reading the file; the letter r+ stands for reading and writing the file. The w stands for writing the file; the w+ stands for reading and writing the file. The a stands for writing file, append mode, and the a+ stands for reading and writing file, append mode.

What are Python built-in functions?

Python built-in functions are functions that have pre-defined functionality in Python. A number of functions are always available in the Python interpreter. These are referred to as Built-in Functions. Python comes with a number of built-in functions.

To know more about Python built-in functions, visit: https://brainly.com/question/17970934

#SPJ4

_____this is a variable whose content is read only and cannot be changed during the program's execution of the program

Answers

Named constant is a variable whose content is read only and cannot be changed during the program's execution of the program.

What is named constant?

Named constant is an identifier that represents a persistent value. The values ​​of variables can change during program execution. However, named constants (or simply constants) represent persistent data that does not change, depending on the type of "constant" in Java (for example, π is a constant).

The biggest difficulty in writing large computer programs is the amount of detail required. Humans are bad at managing lots of details. But computers are great at keeping track of huge amounts of detail. The obvious question is, can I get a computer that examines the software and reports errors or possible errors?

The compiler does exactly that, but in a way the programmer has to tell the compiler what he thinks so that it can detect inconsistencies. Named constants are an example. When you say "variable height" is constant, you tell the compiler that you don't want the height value to change. The compiler will tell you if you try to change the height by mistake.

Learn more about named constant https://brainly.com/question/28544433

#SPJ4

Write code using the range function to add up the series 7, 14,21, 28,35, ..... 70 and print the resulting sum
Expected output:385

Answers

The code using the range function to add up the series 7, 14,21, 28,35, ..... 70 and print the resulting sum will be:

#declare variable to hold sum

sum=0

#loop from 7 to 70 by incrementing 7 each time using range function

for i in range(7,71,7):

   sum+=i

#peint sum

print(sum)

What is a program?

A computer program is a set of instructions written in a programming language that a computer can execute. Software includes computer programs as well as documentation and other intangible components.

The ways to do the program will be:

Define the program's purpose.

Consider the program that is currently running on the computer. .

Create a program model using design tools. ...

Examine the model for logical flaws. ...

Create the source code for the program. ...

Build the source code.

Correct any compilation errors that were discovered.

Learn more about programs on:

https://brainly.com/question/26642771

#SPJ1

Answer:

sum=0

for i in range(7,71,7):

  sum+=i

print(sum)

Explanation: it works in python<3

The following is the pseudocode for which type of algorithm? Set first to 0 Set last to the last subscript in the array Set found to false Set position to-1 While found is not true and first is less than or equal to last Set middle to the subs cript halfway between arraylfir st) and array[last] If array [middle] equals the desired value Set found to true Set position to middle Else If arraylmiddle] is greater than the desired value Set last to middle-1 Else Set first to middle+1 End If End While Return position None of these linear sort selection sort binary search linear search

Answers

The pseudocode is for the binary search algorithm

What is a binary search algorithm?

A binary search is also known as a logarithmic search or a half-interval search. Every iteration until the required element is found, it divides the array in half. By dividing the sum of the left and rightmost index values by two, the binary algorithm finds the middle of the array.

The Binary Search algorithm operates in the following manner:

Set the search space to the same size as the sorted array.

Compare the middle element of the search space to the target value. - You've found the target value if the target equals the middle element.

Return -1 if there is no match in the array.

Since the pseudocode beside represents the above demonstration the algorithm is for binary search

To know more on binary search follow this link:

https://brainly.com/question/21475482

#SPJ4

Which of the following tools can be used to see if a target has any online IoT devices without proper security?

Answers

Shodan tools can be used to see if a target has any online IoT devices without proper security.

What is Shodan Tool?

Shodan (Sentient Hyper-Optimized Data Access Network) is a search engine designed to map and collect information about Internet-connected devices and systems. Shodan is sometimes called a search engine for the Internet of Things (IoT). Shodan is mostly used by hackers and pentesters

What is Shodan?

Shodan (Sentient Hyper-Optimized Data Access Network) is a search engine for internet-connected devices. Designed and developed by web developer John Matherly, this search engine crawls the entire Internet, parses his banners that serve IoT devices, and creates an index for future searches.

Learn more about Lot devices:

brainly.com/question/14087456

#SPJ4

examine the following script, n-on: who | sort | awk '{print $1}' | uniq | wc -l what will be the output of n-on?

Answers

The output of n-on of script who | sort | awk '{print $1}' | uniq | wc -l is different depend on user file in the system.

Since the result can be answered because it different by each user, but this the mean for each script in Linux.

who is script for the user that currently login into the system.

sort is script to arranged all record with instructed order or by default order

awk is script for manipulate the data and display the result

{print $1} is script to print the the first word for each line

uniq is script to delete duplicate line in the adjacent line

wc is script to word, character, or line count which in script will count line as the parameter is -l

So, we can interpret the script as

sorting the user data and print the first word and if there have duplicate line deleted them and count the line result.

So, basically the script use who that is depend on the current user, then the answer is different depend on user.

Learn more about Linux here:

brainly.com/question/25480553

#SPJ4

is a practice used to illegally obtain sensitive information such as credit card numbers, account numbers, and passwords.

Answers

Phishing is a practice used to illegally obtain sensitive information such as credit card numbers, account numbers, and passwords.

What is phishing?

Phishing attack is a bogus communication that appears to come from a trusted source, but can compromise any kind of data source. Attacks can facilitate access to online accounts and personal data, as well as permission to modify or compromise connected systems.

Hackers may be content to obtain your personal and credit card information for financial gain. Phishing emails are also sent to harvest employee credentials and other details, and may be used in malicious attacks against a small number of individuals or specific companies. Phishing is a type of cyberattack that everyone should be aware of to protect themselves and ensure the security of his organization-wide email.

Learn more about phishing https://brainly.com/question/29733507

#SPJ4

Explain how the entity relationship (ER) model helped produce a more structured
relational database design environment.

Answers

The way that the entity relationship (ER) model helped produce a more structured relational database design environment is that

A database's primary entities and their relationships can be determined with the aid of an entity relationship model, or ERM. The role of the ERM components is easier to comprehend because they are graphically portrayed.

It is simple to translate the ERM to the tables and attributes of the relational database model using the ER diagram. The full set of needed database structures is generated by this mapping procedure, follows a set of clearly defined processes which are:

uses clearly defined images and rules to represent reality.the theoretical basisbeneficial for communicationTranslate to any DBMS type

How does the ER model aid in relational database design?

A visual representation of relational databases is an entity relationship diagram (ERD). Relational databases are modeled and designed using ERDs.

The Entity Relationship Model (ERM), which enables designers to perceive entities and connections visually, contributed to the creation of a more structured relational database design environment.

Therefore, Instead of defining the structures in the text, it is easier to understand them graphically.

Learn more about entity relationship (ER) model from

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

question 3 think about data as driving a taxi cab. in this metaphor, which of the following are examples of metadata? select all that apply.

Answers

The options that apply about data as driving a taxi cab are:

Make and model of the taxi cabCompany that owns the taxiLicense plate number

The Important Role of Data in Driving a Taxi Cab

Data plays an important role in driving a taxi cab. Knowing the make and model of the cab, the company that owns it, and the license plate number are all key pieces of data that can help taxi cab drivers do their job safely and efficiently.

The make and model of the taxi cab is important information for the driver to know. This helps the driver become familiar with the features of the vehicle, such as the location of the lights, the wipers, the gauges, and other controls. Knowing the make and model of the cab can also help the driver better identify potential problems with the vehicle, such as a flat tire or a malfunctioning engine. This information can be crucial in ensuring the safety of passengers and other drivers on the road.

The complete question:

Think about data as driving a taxi cab. In this metaphor, which of the following are examples of metadata? Select all that apply.

Passengers the taxi picks upMake and model of the taxi cabCompany that owns the taxiLicense plate number

Learn more about Data in Driving a Taxi Cab:

https://brainly.com/question/28394274

#SPJ4

If you want to use commands to customize Sparklines to highlight certain parts of the data, which of the following options would you select?
-Sparkline Tools -> Design (tab) -> Type (group)
-Sparkline Tools -> Design (tab) -> Show (group)
-Sparkline Tools -> Design (tab) -> Design (group)
-Sparkline Tools -> Design (tab) -> Draw (group)

Answers

If you want to use commands to customize Sparklines to highlight certain parts of the data, the option that I would select is option B: Sparkline Tools -> Design (tab) -> Show (group)

How can an Excel sparkline be modified?

To use it, one need to choose a cell or set of cells that are empty for the sparklines you want to put. Select the type of sparkline you wish to create by clicking it in the Sparklines group under the Insert tab.

Therefore, one can create your own sparklines by:

To display the Sparkline Tools on the ribbon, select the sparklines you want to alter.Select your preferred selections from the Style menu. One can: In line sparklines, display markers to draw attention to specific values. Sparklines' design or format should be modified. Display and modify the axis parameters.

Learn more about Sparklines from

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

you generate a report to show how many users are coming from various device types, like computers and mobile phones, over the past 30 days.

Answers

This report will provide insights into the number of users accessing a website from various devices such as computers and mobile phones over the past 30 days. By understanding the device type breakdown of users, businesses can better optimize their website design, content, and advertising campaigns to target the right audience.

How to generate a report to show how many users are coming from various device types

Log into your web analytics platform and select the “Audience” report.Select “Technology” from the left-hand menu.Select “Device Category” from the drop-down menu.Set the reporting period to the last 30 days.Select “Generate Report” and your report will be generated.

This report will show the number of users from each device type, such as computers and mobile phones, over the past 30 days.

Learn more about Programming: https://brainly.com/question/16397886

#SPJ4

motherboard describe the dimensions of the motherboard and the layout of the motherboard components. this is important because motherboards are not interchangeable.

Answers

Motherboard form factors describe the dimensions of the motherboard and the layout of the motherboard components. this is important because motherboards are not interchangeable.

What is a motherboard?

A computer's motherboard is its primary printed circuit board (PCB). All components and external peripherals connect to the motherboard, which serves as the computer's main communications hub and connectivity point.

In almost every computer, particularly desktop and laptop PCs, there is a motherboard. Chipsets, CPUs, and memory are a few of the components that connect through them. Wi-Fi, Ethernet, and graphics cards with the GPU are examples of the external peripherals.

Acer, ASRock, Asus, Gigabyte Technology, Intel, and Micro-Star International are among the companies that produce motherboards.

Large motherboard PCBs can have anywhere between six and fourteen layers of fiberglass, copper connecting traces, and copper planes for power and signal isolation. Through expansion slots, additional parts can be added to a motherboard.

Learn more about motherboard

https://brainly.com/question/12795887

#SPJ4

which of these experimental tasks or measures cannot be used to study language processing as it unfolds over time (moment-by-moment)?

Answers

It is impossible to research language processing as it develops over time (moment by moment) using self-report questionnaires, experimental tasks, or metrics.

What are questionnaires?

In comparison to other survey forms, questionnaires are more advantageous because they are less expensive, do not need as much effort from of the respondent as verbal or phone surveys, and frequently include standardized answers that make it easy to gather data. Such standardized responses, however, could irritate users because they may not exactly reflect their expected responses. The requirement that respondents being able to comprehend the questions and reply on them severely limits the use of questionnaires. Consequently, it might not be practical to conduct a survey using a questionnaire for some demographic groups.

To know more about questionnaires
https://brainly.com/question/22889092
#SPJ4

What are the ending values in itemCount? vector itemCount; itemCount.push_back(6); itemCount.push_back(7); itemCount.push_back(); itemCount.pop_back(); a. 6,7 b. 6, 7, 8 c. 7.8 d. 6, 7,0

Answers

The ending values in itemCount is 6,7,8. The correct answer for this question is B.

What are values being computed?

Values in Computing (ViC) is a term that refers to an awareness of how human values play a role in the creation of software.

Software is the processing power of a computer in terms of technology. running code for computer programs. information that has been computerized.

You will notice certain numbers at the end of the program, which are 6, 7, and 8; take note of this.

Therefore, it is recognized that option b. 6,7,8 is  the ending values in itemcount.

Learn more about computer code from

brainly.com/question/4593389

#SPJ4

because sql stored procedures allow and encourage code sharing among developers, stored procedures give database application developers the advantages of all except .

Answers

Option: faster query response times

Since, sql stored procedures allow and encourage code sharing among developers, stored procedures give database application developers the advantages of all except faster query response times.

What is a Stored Procedure?

An SQL prepared code that may be saved and reused repeatedly is known as a stored procedure.

So, if you frequently develop SQL queries, save them as stored procedures and just call them to run them.

Additionally, you can send parameters to a stored procedure, allowing it to take action based on the value(s) of the passed parameters.

Stored Procedure Syntax is given below:

CREATE PROCEDURE _procedure_name

AS

sql_statement_

GO;

To know more about SQl Stored Procedure, visit: https://brainly.com/question/29727147

#SPJ4

Allow the user to enter the names of several local businesses. Sort the business names and display the results. Continue this process until they are out of business names. Please use good functional decomposition to make your development easier.

Answers

Below is the C++ code that allow user to enter the names of several local businesses and sort the business names and display the results.

Coding Part:

#include <iostream>

#include <cstring>

int main()

{

 cout << "Welcome to  Business Sorting Program";

char arr[5][20], tol[20];

int uu, qq;

for(uu=0; uu<5; uu++)

{

 cout << "Enter a businessman (name) : ";

cin >> arr[uu];

}

for(uu=1; uu<5; uu++)

{

for(qq=1; qq<5; qq++)

{

if(strcmp(arr[qq-1], arr[qq])>0)

{

strcpy(tol, arr[qq-1]);

strcpy(arr[qq-1], arr[qq]);

strcpy(arr[qq], tol);

}

}

}

for(uu=0; uu<5; uu++)

{

 cout << "Businessman (Names) are : \n";

cout<<arr[uu]<<"\n";

}

return 0;

}

To know more about Sorting program in C++, visit: https://brainly.com/question/12971924

#SPJ4

Other Questions
A 2. 0 kg body is initially traveling at a velocity of 40 m/s east. If a constant force of 10 n due east is applied to the body for 5. 0 s, the final speed of the body is. what contribution do mendel's conclusions concerning inheritance make to the understanding of evolutionary processes? Why do you think elements and principles of design are important in creating an excellent work? In The Interesting Narrative of the Life of Olaudah Equiano, How does Equiano use rhetoric to bring forth his purpose? Give the equation of the circle centered at the origin and passing through the point (12,0) a tumor-suppressor gene has been identified. however, dna sequencing in one patient shows that one copy of the gene has been deleted, but the other copy has a normal dna sequence (including the regulatory sequence). how can this result be best explained? An agency relationship can arise by ratification, which involves a determination of intent expressed by words or conduct. True/False In accordance with AR 25-2, whose responsibility is it to ensure all users receive initial and annual IA awareness training? which molecular orbital has zero nodes, contributes to bonding, and has nonzero electron density directly along the internuclear axis? 7. (p. 253) Muscular endurance is the gary's gas and frank's fuel are the only two providers of gasoline in smalltown. gary and frank decide to form a cartel. later, gary summarizes his pricing strategy as, i'll cheat on the cartel because regardless of what frank does, cheating gives me the best payoff. this is an example of: What equation is graphed in this figure?A: y4=13(x+2)B: y3=13(x+1)C: y+2=3(x1)D: y5=3(x1) Hormones are:Multiple select question.substances secreted by endocrine glandssubstances that diffuse from the interstitial fluid into the bloodstreamsubstances that act on target cellssubstances that communicate cells of the nervous system with each other and with muscles and glands vpn's allow data to be transmitted on a public network just as securely as on a private network. true or false how many nonzero terms of the maclaurin series for ln(1 x) do you need to use to estimate ln(1.4) to within 0.000001? Leah wants to get a home loan from her bank. Which agency would regulate that loan to ensure it is fair?fda- food and drug administrationsec- u. S. Securities and exchange commissioncfpb- consumer financial protection bureaufcc- federal communications commission. use the term recessive and a sentence restrictive covenants a) can be removed by a court of competent jurisdiction. b) are no longer effective when the title is transferred. c) apply only until the developer has conveyed the title. d) apply to and bind successive owners of the property. A Roth IRA receives $6000 per year. How long would it take to reach $1000000 with an interest rate in a mutual fund of 8% compounded monthly most enjoyable aspects of a fashion stylist ?