Here's an example of an O(n) time program in Python that prompts the user to enter a sequence of integers ending with 0 and finds the longest subsequence with the same number:
sequence = []
while True:
num = int(input("Enter an integer (0 to end): "))
if num == 0:
break
sequence.append(num)
max_length = 0
current_length = 1
current_num = sequence[0]
for i in range(1, len(sequence)):
if sequence[i] == current_num:
current_length += 1
else:
if current_length > max_length:
max_length = current_length
current_length = 1
current_num = sequence[i]
if current_length > max_length:
max_length = current_length
print("The longest subsequence with the same number is", max_length)This program first prompts the user to enter a sequence of integers ending with 0, and stores the sequence in a list called sequence. It then iterates through the list and keeps track of the current number and the current length of the subsequence with the same number. If the current number is the same as the previous number, the current length is incremented.
To learn more about Python click the link below:
brainly.com/question/16102577
#SPJ4
what optimization procedure can be performed when configuring a cluster network for csv access? (choose all that apply.)
When configuring a cluster network for CSV access, optimization procedures can be performed to improve performance. These include setting a static IP address, enabling network acceleration technologies, ensuring a low latency connection between nodes, and utilizing a TCP Offload Engine (TOE) card.
When configuring a cluster network for CSV access, several optimization procedures can be performed to improve performance. These include:
Setting a static IP address on each node in the cluster.Enabling network acceleration technologies such as RDMA increases throughput and reduces latency.Ensuring a low latency connection between nodes, by adjusting MTU settings or utilizing a low latency switch.Utilizing a TCP Offload Engine (TOE) card, to reduce CPU usage and to improve overall performance.Setting a static IP address is a simple procedure and is a necessary first step when configuring a cluster network for CSV access. It ensures that the network is always reachable and that all nodes can communicate with each other. Enabling network acceleration technologies such as RDMA allows for faster communication and reduced latency, which improves the overall performance of the cluster.
Ensuring a low latency connection between nodes is important for optimal performance. This can be achieved by adjusting the MTU settings, which determines the size of data packets that can be sent between nodes, or by utilizing a low latency switch. Utilizing a TCP Offload Engine (TOE) card helps reduce CPU usage, which can in turn improve the overall performance of the cluster.
So, all the given options including setting a static IP address, enabling network acceleration technologies, ensuring a low latency connection between nodes, and utilizing a TCP Offload Engine (TOE) card are applicable.
You can learn more about CSV at: brainly.com/question/29344510
#SPJ11
which type of wireless network uses transmitters to provide coverage over an extensive geographic area?
The type of wireless network that uses transmitters to provide coverage over an extensive geographic area is called a wide area network (WAN).
WANs typically use a variety of transmitters and antennas that are spread across a large area, such as a city or region. This type of network allows data to be transmitted over large distances, making it possible for users to access services from other areas. The transmitters and antennas in a WAN are connected to a series of switches, routers, and other pieces of equipment. These components work together to send and receive signals between devices. The signals are then routed through the system and eventually to the destination.
In addition to providing coverage over a large area, WANs also offers a number of other benefits. They are often secure, allowing data to be transferred securely between different devices. WANs are also more reliable than other types of wireless networks, as they provide consistent performance even in areas with poor internet connection. Finally, WANs can be used to connect multiple devices at the same time, making them ideal for large businesses and organizations. With WANs, users can access services from any location, making it easier to collaborate and work remotely.
Overall, Wide Area Networks are a great way to provide coverage over an extensive geographic area. They offer fast, reliable connections, as well as the ability to connect multiple devices at once.
You can learn more about the wide area network at: brainly.com/question/18062734
#SPJ11
How could a large number of hosts (with no login access) be used in a Smurf attack?
In a distributed denial-of-service (DDoS) assault known as a "Smurf," a victim's network is bombarded with ICMP echo requests (pings). A Smurf attack involves the attacker sending many ICMP messages.
How is the Smurf attack carried out?In a distributed denial-of-service (DDoS) assault known as a "Smurf," the victim's server is bombarded with fictitious Internet Control Message Protocol (ICMP) and Internet Protocol (IP) packets. The target's system is thereby made unusable. A DDoS is where this kind of attack gets its name.
How can Smurf attacks be stopped?- Setup network firewalls or specific web application firewalls to secure your servers, together with an antivirus and anti-malware solution. You might give HeimdalTM Next-Gen Endpoint Antivirus a shot.
To know more about DDoS visit:-
https://brainly.com/question/29238912
#SPJ1
Which one of the following is not an image format?
1.TIFF
2.MPEG
3.JPEG
4.GIF
Answer: TIFF
Explanation:
MPEG is not an image format. It is a compression format used for video and audio files. The other options listed are all image formats. Option B is the correct answer.
MPEG (Moving Picture Experts Group) is a compression format that is commonly used for encoding digital video and audio files. It is designed to reduce the size of video and audio files without significantly degrading their quality, making it easier to store and transmit them over networks or the internet.
MPEG uses a lossy compression algorithm, which means that some of the original data is discarded during compression to achieve a smaller file size. There are several different MPEG formats, each optimized for different types of video and audio content, including MPEG-1, MPEG-2, MPEG-4, and more recently, MPEG-H.
Overall, MPEG is an important technology for digital media, enabling high-quality video and audio to be delivered to consumers in a compact and efficient format.
You can learn more about compression format at
https://brainly.com/question/29055526
#SPJ11
Even when a good database blueprint is available, an applications programmer's view of the data should match that of the manager and the end user.a. Trueb. False
The statement "Even when a good database blueprint is available, an applications programmer's view of the data should match that of the manager and the end user" is True.
A database is a structured set of data kept in a computer that is arranged so that it can be quickly retrieved, updated, and managed. A database's key feature is that it organizes data into tables that are related in some way. Information in a database is organized so that it is simple to access, control, and update.
The relational database is the most prevalent type of database. A data model is a graphical or symbolic description of data structures and connections used to define data architecture, manipulate data, or enforce data integrity rules. A data model's aim is to standardize the design of data in such a way that communication between different people and applications is seamless. A database blueprint is a model of a database that is used to plan and design a database structure. Then, the data model is designed to meet those requirements.
Learn more about database here:
brainly.com/question/518894
#SPJ11
what happens in the property inspector when you insert the cursor into various elements on the webpage?
In the Property Inspector, when you insert the cursor into various elements on the webpage, a new tab containing a list of properties will appear.
Here are the steps for inserting the cursor into different elements:
Select the page element that you want to insert the cursor into by clicking on it. Open the Property Inspector by selecting Window > Properties. In the Property Inspector, you will see a list of properties that correspond to the selected element. You can modify the properties of the selected element by changing the values of the properties listed in the Property Inspector.
The Property Inspector allows you to change properties of various elements such as text, links, images, and tables. When you click on an element on the webpage, the corresponding properties will appear in the Property Inspector, allowing you to edit them directly. In conclusion, when you insert the cursor into various elements on the webpage, a new tab containing a list of properties appears in the Property Inspector. This feature enables you to edit and modify the properties of the selected elements on the webpage.
To know more about the webpage:https://brainly.com/question/28431103
#SPJ11
store id on the stores table is the primary key and defined as a number. if store id is a foreign key on the employee info table it and requires a .
Store id is a foreign key on the employee info table. It seems like the end of the sentence got cut off, but based on the information provided, I can make an assumption about what the missing part might be.
If the Store ID is a foreign key on the Employee Info table, then it would also need to be defined as a number, in order for it to reference the Store ID primary key on the Stores table. The foreign key constraint ensures that the Store ID values on the Employee Info table correspond to valid Store ID values on the Stores table. In database design, a foreign key is a column or set of columns in a table that refers to the primary key of another table. The purpose of a foreign key is to ensure referential integrity between the two tables.
Learn more about primary key: https://brainly.com/question/12001524
#SPJ11
T/F: Haven runs an online bridal store called Haven Bridals. Her website is encrypted and uses a digital certificate. The website address for the store is http://www.havenbridals.com.
The given statement "Haven runs an online bridal store called Haven Bridals. Her website is encrypted and uses a digital certificate. The website address for the store is http://www.havenbridals.com." is false because the website address listed for Haven Bridals is not encrypted and does not use a digital certificate.
A website that is encrypted will have "https" at the beginning of the URL instead of "http", and will typically display a lock icon in the address bar. A digital certificate, also known as an SSL/TLS certificate, is used to verify the identity of a website and encrypt the data that is transmitted between the user's browser and the website's server.
You can learn more about URL at
https://brainly.com/question/19715600
#SPJ11
what specific option in wsus enables you to approve specific types of updates for groups of computers automatically?
The specific option in WSUS (Windows Server Update Services) that enables you to approve specific types of updates for groups of computers automatically is called Automatic Approvals.
Automatic Approvals allow you to define rules that automatically approve certain types of updates, such as critical or security updates, based on their content and criteria. This means that instead of manually approving updates, you can have WSUS approve them automatically.
To configure Automatic Approvals, you need to go to the WSUS Administration Console, click on the Options tab, select Automatic Approvals, and then configure your rules. You can configure the rules based on update type, classification, and product, and you can choose to approve the updates immediately or after a certain period of time.
Once you have configured your rules, they will be automatically applied to all computers in the selected groups, allowing WSUS to automatically approve the specified types of updates for them.
Learn more about WSUS here:
https://brainly.com/question/28238579
#SPJ11
an ipv4 address is presented in the dotted quad format consisting of four decimal values separated by dots. what is the highest decimal value assignable to one of the quads?
The highest decimal value assignable to one of the quads in an IPv4 address is 255.
Each of the four numbers in an IPv4 address (also known as a "dotted quad") represents a single octet or 8 bits of data. Since 8 bits has a maximum value of 255, the highest decimal value assignable to one of the quads is 255.
An IPv4 address is written in the format xxx.xxx.xxx.xxx, where each xxx represents an octet. The range of valid values for each octet is 0-255. For example, a valid IPv4 address could be 172.16.254.1. Here, 172 is the first octet, 16 is the second octet, 254 is the third octet, and 1 is the fourth octet.
Therefore, the highest decimal value assignable to one of the quads in an IPv4 address is 255.
Learn more about IPv4 address:https://brainly.com/question/14219853
#SPJ11
Why is it important to have close communication with the client during the design phase of web development?
Question 3 options:
to improve search engine optimization
to minimize security issues
to ensure prompt payment
to be sure that the design matches the client's needs
The correct option is "to be sure that the design matches the client's needs."
During the design phase of web development, it is crucial to have close communication with the client to ensure that the final product meets their needs and expectations. By working closely with the client, the development team can identify the client's requirements, preferences and goals for the website, including design aesthetic, functionality, and user experience.
Continual communication ensures that the client has a clear understanding of the development process and progress, and they can provide feedback on the design and functionality at key stages. This feedback can be used to make necessary adjustments and improvements to the design to meet the client's specifications.
Having close communication with the client not only ensures that the design matches their needs but also helps to foster a strong client-developer relationship, leading to a successful and satisfactory outcome.
write an if/else statement that compares age with 18, adds 1 to adults if age is greater than or equal to 18 , and adds 1 to minors otherwise.
Here is an example if/else statement in Python that compares age with 18, adds 1 to the variable "adults" if age is greater than or equal to 18, and adds 1 to the variable "minors" otherwise:
if age >= 18: adults += 1else: minors += 1In computer programming, an if/else statement is a control structure that allows the program to make a decision based on a condition. The condition is evaluated as either True or False and depending on the result, the program executes one of two code blocks: the if block or the else block.In this code snippet, the variable "age" represents the age of the person being checked, while the variables "adults" and "minors" represent the number of adults and minors, respectively. The "+=" operator is used to increment the value of these variables by 1.Learn more about the if/else statement:https://brainly.com/question/18736215
#SPJ11
using the void keyword in the main() method header indicates that a value will be returned by the main() method is called.
The statement that using the void keyword in the main() method header indicates that a value will be returned by the main() method is called is false.
Void keyword in the main() method header indicates that the main method doesn't return a value. It is the absence of any data type, and it is utilized to suggest that the method will not return any data. Instead of a return value, the void keyword is used in a method's header to indicate that the method does not return any values.
The following is the syntax of the void keyword:
void methodName(){Statements}
where void denotes that no value is returnedmethodName denotes the name of the methodStatements denote the sequence of statements that must be performed by the methodIn conclusion, the void keyword in the main() method header indicates that the main method doesn't return a value, and this statement is incorrect.
Learn more about Void keyword here:
https://brainly.com/question/30765505
#SPJ11
Which of the following would be described as a good business goal to set for your social media campaigns?
A. Increase staff morale
B. Increase audience engagement
C. Increase customer satisfaction
A suitable business objective to define for your social media initiatives is: Boost consumer satisfaction.
Why does customer satisfaction matter?Customer satisfaction (CSAT) is a metric used to assess how effectively a company's goods and services, as well as overall customer experience, fulfill consumer expectations. It displays the health of your company by demonstrating how well your goods or services are valued by customers. Consistency, consistency, and consistency are the three Cs of customer happiness. Although it may not appear alluring, consistency is the key to retaining customers. It takes top-level leadership focus and is challenging to get right. Always put the satisfaction of your current clients first. Customer satisfaction is crucial since it greatly enhances the likelihood that a customer will come back and do more business. If you aren't committed to satisfying your core audience, winning over new customers won't be simple.To learn more about customer satisfaction, refer to:
https://brainly.com/question/28502787
Which of these is not an input device?a. Scannerb. Screenc. Keyboardd. Microphone
Screen is not an input device. It is an output device that displays the output of the computer. Option B "screen" is the correct answer.
A scanner, keyboard, and microphone are all input devices because they allow users to input data or information into a computer system. A scanner is used to digitize printed documents or images, a keyboard is used to input text or commands, and a microphone is used to record audio input. On the other hand, a screen is an output device because it displays information to the user.
The screen displays the output generated by the computer system, including text, images, and videos. While a user interacts with a screen to control and navigate the computer system, it is not considered an input device because it does not directly input data into the system.
Thus, option B: "Screen" is the correct answer.
You can learn more about input devices at
https://brainly.com/question/20938697
#SPJ11
When creating a new Group in Active Directory, the Group setting is used to define how and where a group can assign or be assigned permissions. Scope Type Category Assignment
The Group Scope setting in Active Directory is used to specify how and where a group can assign or be assigned permissions.
How can I add permissions to an Active Directory group?To change NTFS permissions, go to AD MANAGEMENT > File Server Management. Define which folders a user or group should have access to. Now navigate to the Accounts area and select the individuals or teams you wish to give access to the folder for. By selecting Modify, you may complete the modifications. The two types of groups in Active Directory are: For granting access rights to shared resources, use security groups. Lists of email addresses can be created using distribution groups. Choose Organization settings. The group you wish to add a member to is available after you choose Permissions. Add is the second option after choosing Members. Without waiting for an acceptance, you can invite people to Azure AD and your organisations that it supports.To learn more about the Active Directory group, refer to:
https://brainly.com/question/30468027
what is the federal communications commission (fcc) regulation for the maximum equivalent isotropically radiated power (eirp) from a point-to-multipoint (p2mp) wireless local area network (wlan) antenna?
The Federal Communications Commission (FCC) has regulations that limit the maximum equivalent isotropically radiated power (EIRP) that can be used for point-to-multipoint (P2MP) wireless local area network (WLAN) antennas.
The limit depends on the frequency band being used and the type of antenna. For example, for a 2.4 GHz band and a sector antenna, the limit is 36 dBm EIRP, while for a 5 GHz band and a panel antenna, the limit is 30 dBm EIRP. It is important to note that these limits are subject to change, so it is always best to consult the FCC's rules and regulations for the most up-to-date information.
Learn more about Federal Communications Commission: https://brainly.com/question/3621777
#SPJ11
Which of the following audio formats does not use any compression technique? A) MP4 B) MP3 C) WAV D) WMA.
The audio format that does not use any compression technique is C) WAV.
WAV (Waveform Audio File Format) is a standard audio format used for storing uncompressed audio data on a Windows PC. Unlike MP3, MP4, and WMA, WAV does not use any compression techniques to reduce the file size, which means that WAV files are typically much larger than compressed audio formats. WAV files are commonly used in professional audio production, and are known for their high quality and fidelity. While WAV files offer the benefit of uncompressed audio, they can be impractical for online distribution or mobile devices due to their large file size.
Thus, option C is the correct answer.
You can learn more about Waveform Audio File Format at
https://brainly.com/question/17912258
#SPJ11
accidentally text the wrong person? immediately put your phone on airplane mode and once it fails to deliver, delete the message.
consider this sequence of bits: 010101010011001101001011 000001011000000100111100 011001011000001010010111 010111110001000111100111 010110110010011010111000 what is true about this binary data?
The given sequence of bits consists of 80 bits, organized into five groups of sixteen bits each.
It is worth noting that there are various ways to interpret and analyze binary data, including the use of compression algorithms such as byte pair encoding. Additionally, in some cases, it may be necessary to convert binary data to different formats, such as little-endian representation, to work with certain systems or applications. However, without additional context or information about the specific purpose or use case of the given sequence of bits, it is not possible to determine any additional truths or insights about the data.
Find out more about compression algorithms
brainly.com/question/28500827
#SPJ4
100 POINTS
What is the value of zebra after these Java statements execute?
String quote = "She sells sea shells";
String zebra = quote.replace( "sh" , "b" );
After these Java statements execute, the value of zebra would be:
"Se bells sea bells"
What is a Java Statement?In Java, a statement is a single line of code that performs a specific action or task. It can include expressions, variables, method calls, and other components.
With regard to the above code, the replace() method replaces all occurrences of the first string (in this case "sh") with the second string (in this case "b") in the original string (in this case "She sells sea shells").
Therefore, "She sells sea shells" becomes "Se bells sea bells" in the variable zebra.
Learn more about Statement on:
https://brainly.com/question/30457076
#SPJ1
suppose the overhead to swap a running process with a ready process is 1 ms. is a time slice of 2 ms a good time slice amount? justify your response.
Yes, a time slice of 2 ms is a good time slice amount because it provides an optimal balance between the amount of time each process gets to run and the overhead cost of swapping processes. However, the choice of a time slice depends on the system and its characteristics.
The time slice represents the amount of time that a process receives from the CPU before the operating system interrupts it and assigns the CPU to another process. A time slice of 2 ms provides sufficient time for a process to execute useful work without experiencing too much overhead from swapping processes.
Suppose the overhead cost to swap a running process with a ready process is 1 ms. It is because the swap time is not wasted, and it is less than the actual amount of time required to swap processes. Therefore, the CPU is more efficient since the overhead cost is minimized. Consequently, a time slice of 2 ms is optimal because it reduces overhead costs and ensures that each process has a reasonable amount of time to execute its tasks efficiently.
In summary, the overhead cost of swapping processes is minimized when the time slice is chosen correctly. A time slice of 2 ms is a good time slice amount because it provides an optimal balance between the amount of time each process gets to run and the overhead cost of swapping processes.
You can learn more about optimal balance at: brainly.com/question/29426938
#SPJ11
is concerned with improving productivity and safety by designing workplaces, equipment, instruments, computers, workstations, and so on that take into account the physical capabilities of people. question 26 options: ergonomics employee motivation job design job enrichment
The goal of ergonomics is to increase productivity and safety by designing work environments, tools, computers, workstations, and other items with people's physical capabilities in mind.
How might you describe ergonomics?The study of individuals in their workplace environments is generally referred to as ergonomics. More specifically, an ergonomist (pronounced like economist) creates or changes the work to fit the worker, not the other way around. The intention is to reduce labor-related discomfort and injury risk.Ergonomics is the science of adapting the job to the person. Workers can stay healthy and businesses can cut back on or do away with the high costs related to MSDs by designing workstations and tools to reduce work-related musculoskeletal disorders (MSDs).Working in awkward postures or being in the same posture for long periods of time.To learn more about Ergonomics, refer to:
https://brainly.com/question/8495020
what is the most secure option for the type of passcode that can be entered to access a mobile device?
The most secure option for the type of passcode that can be entered to access a mobile device is a complex alphanumeric password.
This is because it involves the use of letters, numbers, and symbols, making it more difficult to guess or crack. It is important to avoid using common passwords or passcodes such as "1234" or "password" as they can be easily guessed. Additionally, it is recommended to change the passcode frequently to prevent unauthorized access to the device. Important factor in the security of a mobile device passcode is how it is stored and encrypted. It is recommended that the passcode is stored securely on the device using strong encryption techniques, such as AES-256.
Learn more about passcode visit:
https://brainly.com/question/14391069
#SPJ11
jesse has written some commands in mysql workbench that he expects to run regularly, and he would like to save them for future use. what should he do next?
If Jesse has written some commands in MySQL Workbench that he expects to run regularly and would like to save them for future use, he can save them as a SQL script.
Some steps to take this are:
In MySQL Workbench, click on the "File" menu and select "New Query Tab" to open a new query tab.Type or paste the commands Jesse wants to save in the query tab.Click on the "File" menu and select "Save Script As" to save the script as a file on Jesse's computer.Choose a location and file name for the script and click "Save" to save the script.To run the saved script, Jesse can click on the "File" menu, select "Open Script" and select the saved script file. The script will open in a new query tab, and Jesse can then execute the commands by clicking the "Execute" button.Learn more about commands MySQL:
https://brainly.com/question/13267411
#SPJ11
Use the Euclidean GCD Algorithm found in the file: Euclidean_GCD_Algorithm.pdf file under Unit 3: Algorithms and Growth Functions to find the GCD of the following pairs of numbers and write each pair as a linear combination. a) gcd (12,40) b) gcd(16, 32)
The GCD(12,40) = 4 and can be written as 12*(-3) + 401 = 4 (a). The GCD(16,32) = 16 and can be written as 161 + 32*0 = 16 (b)
To find the GCD of the given pairs of numbers and write each pair as a linear combination, we will use the Euclidean GCD Algorithm found in the file:
Learn more about Euclidean algorithm https://brainly.com/question/24836675
#SPJ11
The speed at which data travels on a bus is referred to as the word size.a. Trueb. False
The given statement "The speed at which data travels on a bus is referred to as the word size" is false because the speed at which data travels on a bus is referred to as the bus speed, bus frequency, or bus clock speed.
The word size, on the other hand, refers to the number of bits that a CPU or computer system can process at once. It is a fundamental characteristic of a computer's architecture and is determined by the number of bits that the CPU can process in a single instruction.
Hence the correct answer is option B. False.
You can learn more about CPU bus speed at
https://brainly.com/question/8179207
#SPJ11
explain wear leveling and why it is needed for ssds. we said that wear-leveling is important for the continual updating of virtual memory pagefiles. what problem does wear-leveling aggravate for pagefiles?
Answer:
s the term suggests, wear leveling provides a method for distributing program and erase cycles uniformly throughout all of the memory blocks within the SSD. This prevents continuous program and erase cycles to the same memory block, resulting in greater extended life to the overall NAND flash memory.
Explanation:
1. which of the following statements represents the primary concerns of people who are in favor of net neutrality? a. they fear that isps will be able to block content representing controversial points of view or that access to high speed internet transmission will be restricted to content providers who can pay for faster transmission. b. they are concerned that isps will become over-regulated by government agencies. c. they are concerned that isps will lose the ability to properly fund network expansion to accommodate the growing need for bandwidth intensive services.
The statement that represents the primary concerns of people who are in favor of net neutrality is: a. They fear that ISPs will be able to block content...
What is Net neutrality?Net neutrality is the principle that internet service providers (ISPs) should treat all data on the internet equally, without discrimination or favoritism towards particular websites or services.
Proponents of net neutrality believe that ISPs should not be allowed to block, slow down, or prioritize access to certain websites or online services based on their own interests or financial gain.
They are concerned that without net neutrality, ISPs could limit access to certain types of content, charge higher fees for faster internet speeds, or give preferential treatment to certain websites or services over others.
Read more about net neutrality here:
https://brainly.com/question/13165766
#SPJ1
the integer data member thesize of class vector is strictly speaking optional. it adds to the efficiency of various operations, but if it were missing from the class, the size of the array of data values could always be determined by counting while iterating over the array. True or False
The given statement "the integer data member thesize of class vector is strictly speaking optional. it adds to the efficiency of various operations, but if it were missing from the class, the size of the array of data values could always be determined by counting while iterating over the array" is true because while the thesize data member of the vector class is used to efficiently store and retrieve the size of the vector, it is not strictly necessary for the functioning of the class..
What is the Vector?In C++, a vector is a data structure that stores a collection of items. It is similar to an array, except it may be dynamically resized. In C++, vectors are used to store data in sequential order.
Iterators are used to access the elements of a vector, which are stored in contiguous memory. The operator[] must be used to access the vector's elements.
The vector::push back() and vector::pop back() methods can be used to increase or reduce the size of a vector. The class vector's integer data element "thesize" is absolutely optional.
It improves the performance of several operations, but if it is not included in the class, the size of the array of data values can always be obtained by counting while iterating through the array. It is true
Learn more from C++ programming:
https://brainly.com/question/23275071
#SPJ11