The program based on the given question prompt is given below:
The ProgramBeginning
// initiate variables
largest = -999999999
smallest = 999999999
interruption = false
while not interruption do
// reset variables for fresh set of numbers
hugest_set = -999999999
pettiest_set = 999999999
// input cycle for gathering of numbers
duplicated
output "Input a number (0 to cease collection):"
input figure
if figure != 0 then
if figure > hugest_set then
hugest_set = figure
end if
if figure < pettiest_set then
pettiest_set = figure
end if
end if
until figure = 0
// examine whether this bunch of figures accommodates new boundaries
if hugest_set > largest then
largest = hugest_set
end if
if pettiest_set < smallest then
smallest = pettiest_set
end if
// produce the hugest and pettiest aspects for this set of numbers
output "Foremost number within this set:", hugest_set
output "Minimum number within this set:", pettiest_set
// solicit whether the user wants to persist
output "Do you wish to insert a new swarm of figures? (Y/N):"
input answer
if answer = "N" or answer = "n" then
interruption = true
end if
end while
// deliver grand total hugest and least parts
output "Complete most extensive amount:", largest
output "Overall minimum magnitude:", smallest
Read more about flowcharts here:
https://brainly.com/question/6532130
#SPJ1
All of the following would be useful information to capture and evaluate as end-of-project lessons learned EXCEPT:
a. Areas for which a different method might yield better results
b. What went well that team members think should be copied and/or adapted for use on future work
c. Information about mistakes and what went wrong
d. Names of team members who made the mistakes and should be blamed
All of the following would be useful information to capture and evaluate as end-of-project lessons learned EXCEPT: d. Names of team members who made the mistakes and should be blamed
What is the lesson?When capturing and assessing lessons learned at the conclusion of a venture, it is vital to center on valuable criticism and recognize ranges for advancement instead of doling out fault to particular group individuals.
In all, the center of lessons learned ought to be on recognizing zones for enhancement, capturing effective hones, and advancing a culture of continuous learning and change, instead of accusing people for botches.
Learn more about lessons from
https://brainly.com/question/25547036
#SPJ1
Exercise 6-1 Enhance the Town Hall home page In this exercise, you’ll enhance the formatting of the Town Hall home page that you formatted in exercise 5-1. You’ll also format the Speaker of the Month part of the page that has been added to the HTML. When you’re through, the page should look like this: Open the HTML and CSS files 1. Use your text editor to open HTML and CSS files: \html_css_5\exercises\town_hall_1\c6_index.html \html_css_5\exercises\town_hall_1\styles\c6_main.css 2. In the HTML file, note that it has all the HTML that you need for this exercise. That way, you can focus on the CSS.
nhance the CSS file so it provides the formatting shown above 3. In the CSS file, enhance the style rule for the body so the width is 800 pixels. Next, set the width of the section to 525 pixels and float it to the right, and set the width of the aside to 215 pixels and float it to the right. Then, use the clear property in the footer to clear the floating. Last, delete the style rule for the h1 heading. Now, test this. The columns should be starting to take shape. 4. To make this look better, delete the left and right padding for the main element, set the left and bottom padding for the aside to 20 pixels, change the right and left padding for the section to 20 pixels, and set the bottom padding for the section to 20 pixels. You can also delete the clear property for the main element. Now, test again. 5. To make the CSS easier to read, change the selectors for the main elements so they refer to the section or aside element as appropriate and reorganize these style rules. Be sure to include a style rule for the h2 headings in both the section and aside. Then, test again to be sure you have this right. Add the CSS for the Speaker of the Month 6. Add a style rule for the h1 element that sets the font size to 150%, sets the top padding to .5 ems and the bottom padding to .25 ems, and sets the margins to 0. 7. Float the image in the article to the right, and set its top, bottom, and left margins so there’s adequate space around it. Then, add a 1-pixel, black border to the image so the white in the image doesn’t fade into the background. 8. Make any final adjustments, use the Developer Tools if necessary, and test the page
This is what I have so far:
/* the styles for the elements */
* {
margin: 0;
padding: 0;
}
html {
background-color: white;
}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 100%;
width: 800px;
margin: 0 auto;
border: 3px solid #931420;
background-color: #fffded;
}
a:focus, a:hover {
font-style: italic;
}
/* the styles for the header */
header {
padding: 1.5em 0 2em 0;
border-bottom: 3px solid #931420;
background-image: linear-gradient(
30deg, #f6bb73 0%, #f6bb73 30%, white 50%, #f6bb73 80%, #f6bb73 100%);
}
header h2 {
font-size: 175%;
color: #800000;
}
header h3 {
font-size: 130%;
font-style: italic;
}
header img {
float: left;
padding: 0 30px;
}
.shadow {
text-shadow: 2px 2px 2px #800000;
}
/* the styles for the main content */
main {
width: 525px;
float: right;
/* right, left and bottom padding */
padding-right: 20px;
padding-left: 20px;
padding-bottom: 20px;
}
main h2 {
color: #800000;
font-size: 130%;
padding: .5em 0 .25em 0;
}
main h3 {
font-size: 105%;
padding-bottom: .25em;
}
main img {
padding-bottom: 1em;
}
main p {
padding-bottom: .5em;
}
main blockquote {
padding: 0 2em;
font-style: italic;
}
main ul {
padding: 0 0 .25em 1.25em;
}
main li {
padding-bottom: .35em;
}
/* the styles for the article */
article {
padding: .5em 0;
border-top: 2px solid #800000;
border-bottom: 2px solid #800000;
}
article h2 {
padding-top: 0;
}
article h3 {
font-size: 105%;
padding-bottom: .25em;
}
/* the styles for the aside */
aside h3 {
font-size: 105%;
padding-bottom: .25em;
width: 215px;
float: right;
padding-left: 20px;
padding-bottom: 20px;
}
aside img {
padding-bottom: 1em;
}
/* the styles for the footer */
footer {
background-color: #931420;
clear: both;
}
footer p {
text-align: center;
color: white;
padding: 1em 0;
}
The program that can be used to illustrate the information will be:
body {
width: 800px;
}
section {
width: 525px;
float: left;
padding: 0 20px 20px 20px;
}
aside {
width: 215px;
float: left;
padding: 20px 20px 20px 20px;
}
footer {
clear: both;
}
How to explain the informationIt should be noted that to improve the arrangment of the Town Hall webpage and configure the Speaker of the Month segment, do these steps:
Step 1: Launch the HTML and CSS records
Employ your text editor to launch the following documents:
\html_css_5\exercises\town_hall_1\c6_index.html
\html_css_5\exercises\town_hall_1\styles\c6_main.css
Learn more about Program on
https://brainly.com/question/26642771
#SPJ1
Which of the following shows the process of creating something new?
a. Business model
b. modeling
c. Creative flexibility
d. Innovation
Answer:
c
Explanation:
creative flexibility
Question 3 of 10
What did the part of the Analytical Engine called the mill do?
A. The mill was the Analytical Engine's way to output results.
B. The mill was where the Analytical Engine received inputs.
OC. The mill acted as the Analytical Engine's form of memory.
D. The mill was the Analytical Engine's calculating mechanism.
The mill was the key component of the Analytical Engine that performed all the arithmetic operations. It was capable of executing addition, subtraction, multiplication and division. The mill could process both integer and decimal numbers, and was programmable with the use of punched cards. It employed a system of gears and levers to perform these operations mechanically rather than electronically. The mill made the Analytical Engine the world's first general-purpose computer, as it allowed for the computation of arbitrary mathematical functions.
The part of the Analytical Engine called the mill is option D. The mill was the Analytical Engine's calculating mechanism.
What is the Analytical Engine?Plans for his Analytical Engine were created by Charles Babbage in 1835. Babbage's device possessed several features found in today's computers, such as a punched card controller for the control unit, a storage component- the store, a mill- the processor, a card reader- an input mechanism, and a printer for an output tool.
By incorporating features like arithmetic logic unit, conditional branching and loops, and integrated memory, the analytical engine became the first computer design capable of performing general computing tasks, equivalent to what is now referred to as Turing-complete using modern terminology.
Learn more about Analytical Engine from
https://brainly.com/question/20411295
#SPJ1
In a given dataset, there are M columns. Out of these M, m columns are chosen each time for creating training samples for the individual trees in a random forest. What will happen if
A - m is almost equal to M
B - m is very small
Question 7 of 10
What type of information system would be used by upper level management
using both internal and external information?
OA. Management information system
B. Decision support system
C. Transaction processing system
D. Executive information system
The type of information system would be used by upper level management using both internal and external information is Option B Decision support system.
Why is this so?An executive information system is a decision support system (DSS) that aids top executives in making choices (EIS).
It achieves this by allowing access to essential data needed to support a company's strategic goals. The majority of EISs have graphical displays with a user-friendly interface.
So, Option B is correct.
Learn more about information system at:
https://brainly.com/question/28945047
#SPJ1
Answer:
WRONG
Explanation:
Explain why the scenario below fails to meet the definition of competent communication with a client about
website design.
Situation: Jim, an owner of a small business, wants a website to expand his business.
Web designer: "Jim, you have come to the right place. Let me design a website, and then you can tell me if it meets
your needs."
Answer:
The scenario fails to meet the definition of competent communication with a client about website design because the web designer does not engage in a proper dialogue with Jim, the client. Competent communication involves actively listening to the client, asking questions to understand their needs, and working collaboratively to develop a website that meets those needs.
In this scenario, the web designer is assuming that they know what Jim wants without seeking his input. Instead of having a conversation with Jim to identify his business goals, target audience, and design preferences, the web designer is proposing to create a website on their own and then ask Jim if it meets his needs.
This approach does not take into account Jim's unique needs and preferences, and it could result in a website that does not align with his business objectives. Competent communication requires a partnership between the web designer and the client, where both parties work together to create a website that meets the client's specific needs and goals.
Explanation:
When exporting captions, both a file format and frame
Input Answer can be set.
When exporting captions, users have the option to choose both the file format and frame input. The file format determines the type of file that the captions will be saved as, such as SRT, VTT, or SSA. The frame input refers to the starting timecode for the captions, and users can choose from different frame rates depending on their specific project needs. By selecting the appropriate file format and frame input, users can ensure that the exported captions are compatible with their desired video player or platform.
The binary number system is suitable for computer system. Give reason.
Answer: It enables devices to store, access, and manipulate all types of information directed to and from the CPU or memory.
THIS DOES NOT BELONG TO ME!
Explanation:
Assignment Summary
In this assignment, you will conduct research to find the best loan for your first car. Using reference materials and Internet sites, you will collect information for a used car and loan options to buy the car. You will use an online loan calculator to find the best option for a used car loan. You will do a multimedia presentation on the best loan option for a used car and the resources you used, along with the options you explored to decide on the best loan option. A list of search term suggestions for finding resources is provided at the end of this guide.
Your presentation should include the following slides. The slides should be a title slide, a slide containing your used car information, a slide containing information on loan options with a bank and with a credit union, a slide including calculations, a slide comparing the loan options, a slide with the best choice for a car loan, and a works-cited slide.
In this project, you will conduct an investigation to uncover the optimal loan solution for acquiring a second-hand car.
What are you expected to do in this assignment?You will examine the various utilized automobile alternatives and financing approaches provided through banks and credit unions. By using an online credit calculator, you will compute the best choice for your scenario.
Your multimedia demonstration will include slides featuring pertinent information regarding the pre-owned car and funding options, calculations made, as well as a comparison between several potential lending contingencies.
Further, a works-cited slide should be included providing all the sources and data you employed to make your ultimate decision.
Read more about loans here:
https://brainly.com/question/29553278
#SPJ1
Which response best explains the IF statement in the following flowchart?
Flowchart with block image text: 'Is this a fruit?', 2-way arrow points to block image text: 'No' 1-way arrow points to block image text: 'Yes', below 'Yes' 1-way arrow points to block image text: 'Add to smoothie recipe'
IF the answer is no, THEN add to the smoothie recipe, ELSE repeat question
IF the answer is no, THEN stop, ELSE repeat question
IF the answer is yes, THEN add to the smoothie recipe, ELSE repeat question
IF the answer is yes, THEN repeat question, ELSE add to the smoothie recipe
The response in the flowchart can be best explained is : IF the answer is 'No', THEN add to the smoothie recipe, ELSE repeat the question.
What is the flowchart?The above implies that in case the reply to the address "Is this a natural product?" is 'No', at that point the thing is included to the smoothie formula. In any case, on the off chance that the reply is 'Yes', at that point the flowchart circles back to rehash the address, indicating that the thing isn't included to the smoothie formula at this point.
The flowchart does not give any particular activity or result for the 'Yes' condition, other than rehashing the address, proposing that the flowchart may be fragmented or require advance clarification for the 'Yes' condition.
Learn more about flowchart from
https://brainly.com/question/6532130
#SPJ1
can you answer my intro to computer applications CIS-100 class questions from spring uma college in Maine
A continuous integration and continuous deployment (CI/CD) system can be used to automate the deployment of your application.
An Amazon subsidiary called Amazon Web Services, Inc. (AWS) offers metered, pay-as-you-go on-demand cloud computing platforms and APIs to people, businesses, and governments.
Clients frequently utilize this in addition to autoscaling (a process that allows a client to use more compute in times of high application usage, and then scale down to reduce costs when there is less traffic).
Through AWS server farms, these cloud computing web services offer a range of services for networking, computing, storage, middleware, IOT, and other processing resources, as well as software tools.
Learn more about web services on:
https://brainly.com/question/14504739
#SPJ1
b. Read in the data from the hours.csv file and call it “hours”. Make a histogram of the variable hours_studying. (Include the code to generate the histogram and the histogram itself in your lab report.) Comment on the symmetry or skew of the histogram.
c. Use the t.test() function that your used in lab to test the hypotheses to answer the question if this sample indicates a significant change in the number of hours spent studying. (Include your
R code and the output from t.test() in your lab report.)
i. What is the value of the test statistic?
ii. What is the p-value?
iii. Are the results significant at the α = 0. 05 level?
d. Write a conclusion for this test in APA format (as illustrated in lecture and lab).
After performing a one-sample t-test, it was determined that the test statistic held a value of t = 6.3775 (d.f.=63). The p-value calculated to be 1.128e-08, a figure insignificantly beneath the critical level of 0.05.
How to explain the StatisticsThis establishes that the resulting data holds significance, as confirmed by the α=0.05 criterion given that the p-value is inferior toward the stated limit.
The average weekly study time for the students in question resulted in M = 14.18 hours; this signifies statistical variance when contrasted with sigma distribution variable values equating to SD = 5.10 (t(63) = 6.38, p < .001, 95% CI [12.95, 16.39]). Consequently, the null hypothesis cannot be sustained and must therefore be rejected.
Learn more about statistic on
https://brainly.com/question/15525560
#SPJ1
Leo is writing a gaming program where the character will grow after they have successfully completed three quests. What boundary must be set for the program to work?
Distance between players
Location of the players
Number of levels completed
Number of lives remaining
The boundary trhat has to be set is Number of levels completed
What boundary has to be set?The essential boundary to be created for Leo's gaming program to properly function is the amount of quests involved and completed. Primarily, Leo's initiative should maintain a record of how many quests have been accomplished by the character; as soon as they fulfill three undertakings, the character's advancement must be activated.
So, in this context, the separation among players, the players' positions, the quantity of levels evened out, or the total remaining lives are not linked to the development of the character.
Read more on gaming program here:https://brainly.com/question/23275071
#SPJ1
Declare a Boolean variable named isValidPasswd. Use isValidPasswd to output "Valid" if codeStr contains no more than 4 letters and codeStr's length is less than 9, and "Invalid" otherwise.
Ex: If the input is l7J45s6f, then the output is:
Valid
Ex: If the input is n84xfj061, then the output is:
Invalid
Note: isalpha() returns true if a character is alphabetic, and false otherwise. Ex: isalpha('a') returns true. isalpha('8') returns false.
please help in c++
Answer: #include <iostream>
#include <string>
using namespace std;
int main() {
string codeStr = "l7J45s6f";
bool isValidPasswd = true;
int letterCount = 0;
for (char c : codeStr) {
if (isalpha(c)) {
letterCount++;
}
if (letterCount > 4 || codeStr.length() >= 9) {
isValidPasswd = false;
break;
}
}
if (isValidPasswd) {
cout << "Valid" << endl;
} else {
cout << "Invalid" << endl;
}
return 0;
}
Explanation: In this usage, we to begin with characterize a codeStr variable with the input string, and a isValidPasswd variable initialized to genuine. We at that point circle through each character in codeStr, increasing a letterCount variable in case the current character is alphabetic. In case the letterCount gets to be more noteworthy than 4, or in the event that the length of codeStr is more prominent than or break even with to 9, we set isValidPasswd to wrong and break out of the circle.
At last, we yield "Substantial" in case isValidPasswd is genuine, and "Invalid" something else.
Answer:
c++
Explanation:
First Resource is offering a 5% discount off registration fees for all EventTypes except for Survey/Study.
In cell K11 enter a formula that will return 0.05 if the event is NOT a Survey/Study, otherwise return a blank value ("").
Use a VLOOKUP function to return the EventType from the EventDetails named range.
Use a NOT function so that any event type other than Survey/Study will return TRUE.
Use an IF function to return 0.05 for the value_if_true and "" for the value_if_false.
Incorporate an IFERROR function to return a blank value if the VLOOKUP function returns an error.
Format the result as Percentage with 0 decimal places and copy the formula down through K34.
Use a VLOOKUP function to return the EventType from the EventDetails named range. Use a NOT function so that any event type other than Survey/Study will return TRUE.
Use an IF function to return 0.05 for the value_if_true and "" for the value_if_false. Vlookup is a technique in excel which enables users to search for criterion values. It is vertical lookup function in excel which return a value from a different column.
Vlookup'select cell you want to look up in' select cell you want to lookup from' select column index number' true/false. where true is approximate match and false is exact match.
Learn more about technician on:
https://brainly.com/question/14290207
#SPJ1
The models below represent nuclear reactions. The atoms on the left of the equal sign are present before the reaction, and the atoms on the right of the equal sign are produced after the reaction.
Model 1: Atom 1 + Atom 2 = Atom 3 + energy
Model 2: Atom 4 = Atom 5 + Atom 6 + energy
Which of these statements is most likely correct about the two models?
Both models show reactions which produce energy in the sun.
Both models show reactions which use up energy in the sun.
Model 1 shows reactions in the nuclear power plants and Model 2 shows reactions in the sun.
Model 1 shows reactions in the sun and Model 2 shows reactions in a nuclear power plant.
The statements which is most likely correct about the two models are Both models show reactions which produce energy in the sun. Thus, option A is correct. Thus, option A is correct.
The basic fusion reaction through which the sun produces energy is when two isotopes of hydrogen, deuterium and tritium, atoms undergoes fusion reaction resulting to an helium atom, an extra neutron and energy. In this reaction, some mass are being transformed into energy.
Model 1 shows reactions in the nuclear power plants and Model 2 shows reactions in the sun.
Learn more about energy on:
https://brainly.com/question/1932868
#SPJ1
It calculates the sum of hte values of a range of cells
Answer:
in Microsoft Excel. This can be done using the SUM function, which takes a range of cells as its argument and returns the sum of their values.
For example, to find the sum of the values in cells A1 through A5, we can use the following formula:
=SUM(A1:A5)
This will add up the values in those cells and return the result.
The SUM function can also be used with other functions and formulas to perform more complex calculations. It can be a useful tool for analyzing data in spreadsheets and creating reports.
can you answer my intro to computer applications CIS-100 fron spring uma college
CIS-100 is an intro course covering various computer applications. Offered during Spring at UMA College, it equips students with necessary computer tech skills for their personal and professional lives.
What is computer applications?CIS-100 covers computer hardware, software, and operating systems.
In terms of Internet and Web: Overview of how the Internet works, network protocols, and effective use of web browsers and search engines.
Lastly, in terms of Productivity software: Use of word processing, spreadsheets, and presentation tools to manage documents. Database management introduces concepts like tables, fields, and records, as well as systems like Microsoft Access.
Learn more about computer applications from
https://brainly.com/question/24264599
#SPJ1
4. Imagine that your six-year-old cousin asked you this question: "How can a cat video show
up on my tablet? Is it magic?" How would you explain the process of data transmission in
a way simple enough for a young child to understand?
sketch two examples of the molecules of a substance to show how the substance looks when compressed and when not compressed
please help asap
When a substance is compressed, its molecules are brought closer together, resulting in an increase in density. For example, when water is compressed, its molecules are packed tightly together, which increases its density. On the other hand, when the compression is released, the molecules move freely and the substance returns to its normal state. An example of this would be a gas, such as helium. When compressed, the gas molecules become tightly packed, but when the pressure is released, the molecules move farther apart, returning to their original state.
Assignment Summary
For this assignment, you will follow detailed instructions to format an Excel workbook that demonstrates your knowledge of how to manage an Excel spreadsheet and its properties.
A summary of the steps you will need to take to do the above is given below
What is the Excel work about?We declare an integer stack using STL and check input for digits or operators. Parse digits and push onto stack, apply operator to top two elements using evaluate function from calc_useful.h, and push result back onto stack.
We address errors by checking stack size and operand availability. If any issues arise, we flag them and exit the loop. Lastly, we display the result without errors.
Learn more about Excel from
https://brainly.com/question/24749457
#SPJ1
Which questions do you expect could be queried from a database of dinosaur exhibits at a museum?
Select all that apply.
0 What will the weather be like next week?
Which exhibits were on display in September 2010?
Which fossil has been displayed the most often in the last five years?
Which exhibit is the best?
Why did some patrons not enjoy the current exhibits as much as the last ones?
When was the Tyrannosaurus last on display?
Answer:
B C F
Explanation:
I couldn't find the answer so I did it myself and i actually got it right. It's easy to do but here is the answer anyways.:)
Answer:
B). Which exhibits were on display in September 2010?
C). Which fossil has been displayed the most often in the last five years?
F). When was the Tyrannosaurus last on display?
Explanation:
I just did the Part 1 on EDGE2022 and it's 200% correct!
Also, heart and rate if you found this answer helpful!! :) (P.S It makes me feel good to know I helped someone today!!)
Assignment Summary
For this assignment, you will follow detailed instructions to format an Excel workbook that demonstrates your knowledge of how to manage an Excel spreadsheet and its data.
Background Information
To successfully complete this assignment, you will need to know how to create and save an Excel worksheet, enter data, adjust font and color, merge cells, add hyperlinks, and change page orientation.
In order to format an Excel workbook and manage its data, we must know how to can use various tools such as cell formatting, conditional formatting, sorting, filtering, grouping etc.
How can we format an Excel workbook and manage its data?Generally, the formatting an an Excel workbook involves setting up the layout and style of the worksheet which includes adjusting the column width and row height, applying different fonts, different colors and using borders and shading to make the data more readable.
We can use conditional formatting to highlight specific data based on certain criteria. The managing of data in Excel involves organizing and manipulating data within the workbook which can be done through sorting, filtering and grouping data to better analyze and understand it.
Read more about Excel workbook
brainly.com/question/28769162
#SPJ1
€ which of the following is the correct procedure to Select an entire documents? Select one: a press control + Stamps press F5 three times from the Home tab, Choose the Command "Select Allan the edit group press F7 Five times.
The correct procedure to Select an entire documents is a press control.
What is the procedure about?"Control+F" (or "Command+F" on a Mac) is the console easy route for the Discover command. On the off chance that you're in a archive or in a web browser, squeezing the Ctrl key + the F key will bring up a look box within the beat right corner of the screen.
Therefore, After you press "Ctrl + A", all of the content within the report will be highlighted, demonstrating that it has been chosen. You'll be able at that point perform a assortment of actions on the chosen content, such as changing the textual style, applying designing, or erasing the content.
Learn more about Command from
https://brainly.com/question/25808182
#SPJ1
CODING HW HELP
Instructions
Redo Programming Exercise 16 of Chapter 4 so that all the named constants are defined in a namespace royaltyRates.
Instructions for Programming Exercise 16 of Chapter 4 have been posted below for your convenience.
Exercise 16
A new author is in the process of negotiating a contract for a new romance novel. The publisher is offering three options. In the first option, the author is paid $5,000 upon delivery of the final manuscript and $20,000 when the novel is published. In the second option, the author is paid 12.5% of the net price of the novel for each copy of the novel sold. In the third option, the author is paid 10% of the net price for the first 4,000 copies sold, and 14% of the net price for the copies sold over 4,000. The author has some idea about the number of copies that will be sold and would like to have an estimate of the royalties generated under each option. Write a program that prompts the author to enter the net price of each copy of the novel and the estimated number of copies that will be sold. The program then outputs the royalties under each option and the best option the author could choose. (Use appropriate named constants to store the special values such as royalty rates and fixed royalties.)
CODE:
#include
using namespace std;
int main() {
// Write your main here
return 0;
}
CHECKS:
Program Executes Correctly
0 out of 3 checks passed. Review the results below for more details.
Test Case: Incomplete
Successful Output
Test Case: Incomplete
Successful Output II
Code Pattern: Incomplete
Check for constant declaration innamespace
Answer:
To define all named constants in a namespace called royaltyRates, we can use the namespace keyword to enclose the constant definitions within it. For example:
namespace royaltyRates {
const double DELIVERY_PAYMENT = 5000.0;
const double PUBLICATION_PAYMENT = 20000.0;
const double ROYALTY_RATE_FIRST = 0.1;
const double ROYALTY_RATE_SECOND = 0.14;
const double NET_PRICE_THRESHOLD = 4000.0;
}
Then, we can use these constants in the program by referring to them as royaltyRates::CONSTANT_NAME. For instance, royaltyRates::DELIVERY_PAYMENT will refer to the DELIVERY_PAYMENT constant inside the royaltyRates namespace.
Explanation:
The namespace keyword in C++ is used to define a named scope that can contain variables, functions, and other types of identifiers. By enclosing the constants within the royaltyRates namespace, we ensure that they are not globally defined and do not interfere with other variables and functions defined in the program.
We can access the constants defined in the royaltyRates namespace by prefixing them with the namespace name and scope resolution operator ::. This makes it easier to understand and organize the code, and reduces the likelihood of naming conflicts.
With
competitive challenges.
knowledge is acquired through safe practice, experience with scenarios, and
With competitive challenges, information is without a doubt taken through secure places, encounter with scenarios, and presentation to different challenges and circumstances.
What are the challenges about?By looking into competitive challenges, people can test their aptitudes and information in a real-world setting, which permits them to distinguish their qualities and shortcomings and create their capacities appropriately.
Through secure ways, people can refine their abilities and procedures without putting themselves or others in threat. This includes making recreated scenarios that imitate real-world circumstances and testing diverse approaches to see what works best.
Learn more about challenges from
https://brainly.com/question/27329666
#SPJ1
13. Enter a formula in cell M7 using the VLOOKUP function to find an exact match for the department abbreviation. Look up the department abbreviation (cell M6) using an absolute reference, search the staff table data (the range A6:J13) using an absolute reference, and return the department name (the 2nd column).
14. Copy the formula in cell M7 to the range M8:M15, and edit the copied formulas to return the value from the column indicated by the label in column L.
The formula in cell M7 using the VLOOKUP function to find an exact match for the department abbreviation. Look up the department abbreviation (cell M6) using an absolute reference, search the staff table data (the range A6:J13) using an absolute reference, and return the department name (the 2nd column) :
M7=VLOOKUP( $M$6, $A$6:$J$13, 2, FALSE )
VLOOKUP takes as inputs :
How to explain the formula1. The value to be matched - Here we use absolute reference for the cell M6
2. The table array range to look for the value - Here we use absolute reference for the staff table (the range A6:J13)
3 -The column value to returns - Here we are returning the department name (2nd column)
4 -Exact or Approximate match - Here we use Exact match (FALSE)
VLOOKUP search for the exact value in cell M6 in the first column of the table , A6:J13 and returns the 2nd column value for the matched row and store in M7.
Learn more about formula on
https://brainly.com/question/657646
#SPJ1
Use one of Word's preset margins settings to change the document's margins so that the top and bottom borders are 1" and the left and right margins are 2".
In the above case, You have to:
You clicked the Review ribbon tab, clicked the References ribbon tab, clicked the Design ribbon tab, and clicked the Layout ribbon tab. In the Layout ribbon tab in the Page Setup ribbon group, you clicked the Margins button. In the Margins menu, you selected the Margin Wide gallery option.What is the ribbon tab about?Change the Word document's margins to 1-inch top and bottom and 2-inch left and right using preset margin settings in the Layout tab. Click "Margins" and select "Narrow" from preset settings.
Therefore, Set margins to 1 inch at top and bottom, 0.5 inches on left and right. Click "Custom Margins" at bottom. In "Page Setup," set margins to "2" for left and right. Click "OK" to apply changes.
Learn more about ribbon tab from
https://brainly.com/question/24481253
#SPJ1
2.) Using Constants and Variables to create a Program (10 points)
You are going to write out a program below that will help calculate the total amount of money made per
week, based on a 5 day work week and making $8 per hour.
You will need to create (2) Constant variables
You will need to create (3) variables
Using Constants and Variables to create a Program is given below.
How to create the program# Establish constant values
DAYS_PER_WEEK = 5
HOURLY_WAGE = 8
# Introduce changeable parameters
hours_worked = 0
daily_earnings = 0
total_earnings = 0
# Ask user regarding hours labored each day
for day in range(1, DAYS_PER_WEEK + 1):
hours_worked = int(input(f"How many hours did you work on day {day}? "))
daily_earnings = hours_worked * HOURLY_WAGE
total_earnings += daily_earnings
# Display aggregate income for the week
print(f"You made a total of ${total_earnings} this week.")
Learn more about program on
https://brainly.com/question/26642771
#SPJ1