Answer:
Replace /* Your solution goes here */
with
const int CENTS_PER_POUND = 25;
cout << "Weight(lb): ";
cin >> shipWeightPounds;
shipCostCents = FLAT_FEE_CENTS + CENTS_PER_POUND * shipWeightPounds;
Explanation:
This line declares and initializes CENTS_PER_POUND as constant integer to 25
const int CENTS_PER_POUND = 25;
This line prompts user for weight of shipment
cout << "Weight(lb): ";
This line gets weight from the user
cin >> shipWeightPounds;
This line calculates the cost of shipment
shipCostCents = FLAT_FEE_CENTS + CENTS_PER_POUND * shipWeightPounds;
In this exercise we want to use computer and python knowledge to write the code correctly, so it is necessary to add the following to the informed code:
So we can see that in the attached image we find the code that corresponds to the answer to this question.
Are analyzing the code informed in the question we can say that:
This line declares and initializes CENTS_PER_POUND as continual number to 25, the code that we have is:
const int CENTS_PER_POUND = 25;
cout << "Weight(lb): ";
cin >> shipWeightPounds;
shipCostCents = FLAT_FEE_CENTS + CENTS_PER_POUND * shipWeightPounds;
See more about computer at brainly.com/question/950632
Harlequin frogs are an endangered species that live in a small area of Costa Rica. The reasons for the species' decline is unknown. Scientists want to create a computer simulation of the frogs' environment and determine how best to protect the frogs.
Which of the following is NOT true about the scientists' simulation?
a. The scientists must be careful of how many variables they include in their simulation so they do not cause further harm to the frogs.
b. The scientists can try a variety of different simulations and analyze the data to see which one is the most effective.
c. Based on the results of the simulation, scientists can develop a plan to save the Harlequin frogs before they become extinct.
d. The scientists can incorporate other factors, such as square footage of protected land, in the simulation.
Answer:
a. The scientists must be careful of how many variables they include in their simulation so they do not cause further harm to the frogs.
Explanation:
It is not statistically accurate to assume that the number of variables included in the simulation would cause further harm to the frogs because we need to remember that a simulation is simply a computerized imitation of a real situation, which is usually not totally alike with a real process.
So in no way from a statistical standpoint, does the scientists' decision on the number of variables causes direct harm to the frogs.
You are a network technician for a small corporate network. The network is connected to the internet and uses DHCP for address assignment. The owner of the company in the executive office and a temporary employee in IT Administrator office both report that their workstations can communicate with some computers on the network, but cannot communicate with the internet. You need to diagnose and fix the problem.
In this lab, your task is to complete the following:
-Use the following troubleshooting tools to diagnose the problem in the network:
-the ping, ipconfig, or tracert command utility
-the network and sharing center in the windows 10 or windows server 2016 operating system
-the DHCP server console in the windows server 2016 operating system
Answer:
Explanation:
The first thing that you should do would be to ping the computer in the Networking Closet, if this fails then the next step would be to ping the service provider. If both of these pings fail it is most likely because the configuration of the IP addresses are configured wrong. In this case use the command prompt to type in the following
ipconfig /all
this will open up the entire configuration info. If the problem is truly the configuration then your DNS address should show up as not configured. This can happen when a DHCP is enabled. Check if DHCP is enabled, if so then you would need to type the following into the command prompt
ipconfig /renew
This will renew the ip address information from the DHCP server and should create the proper DNS configuration as well and solve the issue.
Following are the solution to the given question:
Initiate troubleshooting in the Executive by exploring the scope of the connectivity issue. Ping the laptop in the network closet from your workstation. A ping to a location failed.Ping your internet service provider. The ping to the address fails.Verify any connection issues here between workstations, the Network Closet computer, and also the ISP in the IT Administrator's office. (Pings to both locations failed.) The issue is now almost definitely due to the channel's IP setup.To examine the Local Area Connection setup, open the cmd in the Executive Office and type ipconfig /all. Some of the following issues must be noted: The workstation's default route and DNS server addresses have still not been configured.It implies that connectivity is confined to computers just on the local network.Its DHCP Enabled option has been enabled. Yes, a DHCP server is configured just on the workstation. Its line with the DHCP Server address wasn't shown. This means the workstation was unable to communicate with the DHCP server. This IP address corresponds to an APIPA domain (169.254.0.1 to 169.254.255.254). It shows that the computer assigns an IP address to it only. The workstation would be capable of communicating with the other hosts on the local network who have given their unique IP via APIPA.Verify that its DHCP service for the local area network is active and active in the Network Closet.CORPSERVER should be the first option in Hyper-V Manager. To see all the virtual machines, open the window. Join by correcting CorpDHCP (maximize the window for easier viewing if desired). For launch, the DHCP console in Server Manager, go to Tools > DHCP. CorpDHCP.CorpNet.com must be extended. IPv4 enlargement.Scope [192.168.0.1] Subnet1 has a dropdown, suggesting that this is not operational. Select Activate from the menu bar of Scope [192.168.0.1] Subnet1. The scope's "dislike" button has gone, and the DHCP service for the local network is now operational.Launch the command prompt inside the Executive and type ipconfig /renew. This will obtain the new Ip from the DHCP server and change the Ethernet connection settings.To check the Internet setup, type ipconfig /all. You should now see lines for the default gateway, DNS server, and DHCP server, and a new IP address in the DHCP scope for the local network.Ping the ISP in the Executive Office to confirm that the problem has been resolved. Your ping to the ISP is good.Rep step 6 in the IT Administrator Office to fix the dispute with the workstations.Learn more:
brainly.com/question/14728944
Which internet service type forced users to choose between using the phone and using the internet
Answer:
User interface.
Explanation:
Click the crown at the top of this answer if this helped ;)
I can’t get answers because the ads won’t load help me
Answer: Get better wifi
Explanation: This maybe a router problem, Go to your router and reset it by unplugging the power chord, After 30 seconds plug it back in and wait for your wifi to start back up. Your ads should load now. Have a good day.
You need to replace a broken monitor on a desktop system. You decide to replace it with a spare monitor that wasn't being used. Even though the monitor is made by a different manufacturer than the desktop computer, it still works with the computer.
Which computer design concept makes this possible?
Firmware
Plug and play
Componentization
Standardization