Roman numbers. Write a program that converts a positive integer into the Roman number system. The Roman number system has digits

I=1
V=5
X=10
L=50
C=100
D=500
M=1,000

Numbers are formed according to the following rules. (1) Only numbers up to 3,999 are represented. (2) As in the decimal system, the thousands, hundred, tens, and ones are expressed separately. (3) The numbers 1 to 9 are expressed as

I=1
II=2
III=3
IV=4
V=5
VI=6
VII=7
VIII=8
IX=9

As you can see, a I preceding a V or X is subtracted from the value, and you can never have more than three I's in a row. (4) Tens and hundreds are done the same way, except that the letters X, L, C and C, D, M are used instead of I, V, X, respectively.

Your program should take an input, such as 1978, and convert it to Roman numerals, MCMLXXVIII.

Answers

Answer 1

Answer:

The program in Python is as follows:

def Conversion(num):

   digitint = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4,1]

   digitroman = ["M", "CM", "D", "CD","C", "XC", "L", "XL","X", "IX", "V", "IV","I"]

   roman_num = ''

   i = 0

   while  num > 0:

       for _ in range(num // digitint[i]):

           roman_num += digitroman[i]

           num -= digitint[i]

       i+=1

   return roman_num

num = int(input("Enter number: "))

if num > 3999 or num < 0:

   print("Out of range")

else:

   print(Conversion(num))

Explanation:

See attachment for full program where I use comments to explain each line


Related Questions

It is essential to make computer professional more responsible towards society and culture

Answers

Yes it is essential because Computers benefit the business and personal world by being able to do the following more efficiently: buying and selling products, communicating throughout the world, enhancing our knowledge, job influences, entertainment, research, and paying bills.


Hope this helps. ^v^

If you were to sort the Title field in tblBooks in a Descending order, in ms access which author would be at the top of the list? A. Linda Rode B. Robert Howard C.Isaac Asimov D. Roger D. Abrahams​

Answers

If the Title field in the tblBooks table is sorted in descending order in MS Access, the author at the top of the list would be Linda Rode. So, the correct option is A.

Sorting the Title field in descending order means arranging the titles in reverse alphabetical order.

Out of the given authors, Linda Rode would be at the top of the list because her last name, "Rode," comes first alphabetically when compared to the other authors' last names. The other authors' last names are Howard, Asimov, and Abrahams.When sorting in descending order, the records are listed from Z to A or highest to lowest, depending on the sorting field. In this case, since we are sorting the Title field, which is a text field, the sorting would be in reverse alphabetical order.

Therefore, Linda Rode, with her last name starting with "R," would appear at the top of the list. So, the correct choice is option A.

For more questions on author

https://brainly.com/question/32116759

#SPJ8

Question 6 (1 point)
Janelle is creating a model of a bathroom in Blender. She is currently working on the
tile pattern for the walls of the shower. She has decided on a hexagonal shape
surrounded by four squares. Since this pattern will be repeated over the entire
shower wall, which of the following modifiers should she use to create enough
copies of it to populate the entire area?
Boolean
Bevel
Array
Screw

Answers

To create enough copies of the tile pattern to populate the entire area of the shower wall in Blender, Janelle should use the C) Array modifier.

The Array modifier in Blender allows for the creation of multiple copies or instances of an object, arranged in a specified pattern.

It is particularly useful when creating repetitive patterns, as in the case of the tile pattern for the shower walls.

By applying the Array modifier to the initial tile pattern, Janelle can define the number of copies to be made and the desired spacing or offset between them.

She can configure the modifier to create a grid-like arrangement of the tiles, allowing her to cover the entire area of the shower wall seamlessly.

The Array modifier offers flexibility in terms of adjusting the pattern's size, rotation, and other parameters to achieve the desired look.

Additionally, any changes made to the original tile will be automatically propagated to all the instances created by the modifier, streamlining the editing process.

While the other modifiers mentioned—Boolean, Bevel, and Screw—have their own specific uses, they are not suitable for creating multiple copies of a tile pattern.

The Boolean modifier is used for combining or cutting shapes, Bevel for adding rounded edges, and Screw for creating spiral or helix shapes.

For more questions on Array

https://brainly.com/question/29989214

#SPJ8

Do some original research and find two examples of data mining. Summarize
each example and then write about what the two examples have in common.

Answers

We’ll first define data mining: it’s sort of like regular mining, locate the raw material (raw datasets) and extract gems (valuable business information).

In terms of examples it can vary between as high stakes as what is the false negative rate of a medical diagnosis (ex. Covid test) for future improvement. Or something as low stakes as what is the average click-through rate of my recent email campaign.

Both use statistics to determine the success and failure of a certain product, this way engineers or research scientist (Covid rate) have supported data to understand if or how they can change their product to benefit more users.

The Layout tab allows you to change the
A. Save
B. Print
C. Format,
D. Edit
........ formatting of??

Answers

The Layout tab allows you to edit  the formatting of a document.  (Option D)

How is this so?

It provides options for adjusting the layout and appearance of the content, such as page margins, page orientation, page size, columns, and other formatting elements.

This tab is commonly found in word processing software like Microsoft Word and provides users with the ability to customize the visual presentation and organization of their documents.

Thus it is correct to state that The Layout tab allows you to change the formatting of a document. (Option D)

Learn more about Layout tab at:

https://brainly.com/question/32342343

#SPJ1

Which of the following tasks can you perform using a word processor?
insert a bulleted list in a document
check a document for spelling errors
edit a video for inclusion in a document
create an outline of sections to be included in a document
set a password to restrict access to a document

Answers

Create a outline of sections to be included in a document

The following task can you perform using a word processor is creating an outline of sections to be included in a document. The correct option is c.

What is a word processor?

A word processor is a computer program or device that provides for input, editing, formatting, and output of text, often with additional features.

Simply put, the probability is the likelihood that something will occur. When we don't know how an event will turn out, we can discuss the likelihood or likelihood of several outcomes.

Statistics is the study of events that follow a probability distribution. In uniform probability distributions, the chances of each potential result occurring or not occurring are equal.

Therefore, the correct option is c. create an outline of sections to be included in a document.

To learn more about word processors, refer to the link:

https://brainly.com/question/14103516

#SPJ5

i need help with this tre table plis

i need help with this tre table plis

Answers

The truth table for the circuit above is 001. The correct option is B.

What are truth tables for circuits?

A truth table can be used to summarize and verify a circuit's logic. The table lists all feasible input combinations along with the output that the circuit will generate for each combination.

To verify the logic at any point, truth tables can be created for individual circuit components. A circuit's total power is equal to the sum of its total voltage and total current. or as an equation: P = VI

Therefore, the correct option is B, 100.

To learn more about truth tables, refer to the link:

brainly.com/question/27989881

#SPJ1

1. Standard web design is:

A) Single media
B) Bi-media
C) Multimedia
D) Media free

2. Apple is known for a brand identity that is:

A) Complex and detailed
B) Clean and simple
C) Frequently changing
D) Frequently changing (Not very recognizable)

Answers

The standard webpage size uses maximum width of 1440 pixels for Desktops. This is because most desktop resolutions use wider resolution nowadays (1920x1080). However, most websites are fully responsive nowadays, means they won't use fixed dimensions.

Through its branding strategy, Apple has positioned itself as an innovative company, embodying its “Think Different” slogan. Take, for example, their 'Shot iPhone' ad. It not only demonstrates the iPhone camera's incredible capability, but also includes engaging videos taken by the actual users.

The Apple brand is based on emotion and experience, which is reflected in brands core values of imagination, innovation and design.

The brand has gained strong and loyal customer base by creating and selling high-quality products based on innovative design principles. But Apple wasn't always success. The company went through its struggles and failures before becoming renowned brand it is today.

learn more about web Design at

https://brainly.com/question/28220299

#SPJ1

What is your biggest concern when it comes to purchasing a used phone or laptop?

Answers

Answer:

quality

Explanation:

if i know about the phone or laptop quality and quantity then i can know which is important if i buy.

i can give you example by laptop. For example i want to get buy laptop. i should know about the quantity and quality. then if i choose quantity i can buy so many laptops if they are more than 3 laptops and i get it in low price. then i take it and i try to open the laptops for some other thing to do but they cant opened so it means it has lowest quality.

and if i choose the quality. may be i can't buy more than 1 laptops but the qulaity of the laptops is high so when i open the laptop it opened

Note

quality is the superiority or the quality level of a things.

quantity is the abundance or the quantity level of a thing

You completed your 10 for your qualifications in Technology modules last year. In one of the schools around your area there is a shortage of teachers for the Technology subject. The parents want you to explain the importance of the subject because there is a lot of confusion about the subject. You have been chosen to address the parents on the issue relating to the two concepts. Entertain the parents how their children will benefit from doing the subject in schools. 3.1 Briefly explain in 10 main points to the parents how you will teach the subject. [20]​

Answers

The presentation to parents about the given concepts and how their children will benefit from doing the subject in schools.

The Presentation

Good evening parents,

I appreciate the opportunity to address your concerns about the importance of the Technology subject and how it benefits your children.

I have outlined ten key strategies to effectively instruct the topic:

As part of their Technology education, pupils will acquire practical expertise in areas like coding, analytical thinking, and troubleshooting. The aptitude to master these competencies is crucial in the modern era, and such proficiencies would enable your offspring to effortlessly maneuver and thrive in a world highly influenced by technology.

Technology education cultivates inventiveness and originality by promoting unconventional thinking in students. They will participate in practical activities, constructing and developing solutions to actual dilemmas. This fosters their aptitude for generating distinctive thoughts and putting them into action with efficacy.

Equip your children with future-ready skills by incorporating Technology education into their studies, setting them up for promising career paths. Proficiency in technology-related fields is highly sought-after, paving the way for numerous career paths such as software development, engineering, robotics, and beyond.

By employing captivating teachings, real-life situations, and a focus on essential abilities, studying Technology will undoubtedly yield significant advantages for your kids. I appreciate your focus and believe that by working together, we can offer your children the most exceptional learning adventure.

Practical Skills: Teaching the subject of Technology will equip students with practical skills that they can apply in real-life situations, such as problem-solving, critical thinking, and hands-on technical abilities.

Technological Literacy: The subject will enhance students' technological literacy, enabling them to understand and navigate the increasingly digital world we live in.

Creativity and Innovation: Technology education encourages creativity and innovation by providing students with opportunities to design, create, and invent using various tools and technologies.

Career Opportunities: By studying Technology, students will gain a solid foundation for pursuing careers in fields such as engineering, computer science, robotics, and design, which are in high demand in today's job market.

Digital Citizenship: The subject teaches students about responsible and ethical use of technology, promoting digital citizenship and fostering a safe and respectful online environment.

Problem-Solving: Technology education emphasizes problem-solving skills, empowering students to analyze complex issues, identify solutions, and implement them effectively.

Collaboration and Communication: Students will learn how to work collaboratively on projects, fostering teamwork, communication skills, and the ability to effectively share ideas and knowledge.

Read more about technology education here:

https://brainly.com/question/25110079

#SPJ1

(50 points) {brainliest}
What are some elements that might be included in an e-commerce platform on a website?

A. Calendar and contact information
B. Database and map
C. Shopping cart and payment system
D. Blog and mailing list opt-in

Answers

Answer:

sounds like c is an option

Answer:

c is the correct answer

Data analytics benefits both financial services consumers and providers by helping create a more accurate picture of credit risk.
True
False

Answers

Answer:

True

Explanation:

osing Commands
This term describes the keyboard shortcuts for every command or action on the ribbon.
dialog
This term describes the buttons at the bottom of a dialog box used to execute or cancel a
command.
option
This term describes a box that opens up to provide additional options for working with a
file.
list bo
This term describes an instruction that tells an application to complete a certain task.
Choos
This term describes buttons filled with a dark circle when selected; only one such button
can be selected at any time.
Choos
This term describes a list of options that you can scroll through if the list is long.
oos
This term describes the area in a Microsoft Office application that displays when the File
Choos

Answers

Answer:

Beggin the perfume and I Can Do B the work done ✅ you are the instances of a marriage license pa bili kami ulam namin pwede po ma'am pwede the too much talking to the work done na na lang sa pag you po sir I will be solemnized

PYTHON- Credit card numbers follow a standard system. For example, Visa, MasterCard, and Discover Card all
have 16 digits, and the first digit serves to indicate the card brand. All Visa cards start with a 4;
MasterCard cards always starts with a 5; and Discover cards start with a 6. Write out a program that
prompts for a credit card number and emits the name of the brand. If the card brand cannot be
determined, the program should output "Unknown Card"

Answers

Answer:

ccard = input("What is your credit card #: ")

if ccard[0] == 4:

   print("Visa")

elif ccard[0] == 5:

   print("MasterCard")

elif ccard[0] == 6:

   print("Discover")

else:

   print("Unknown Card")

And office now has a total of 35 employees 11 were added last year the year prior there was a 500% increase in staff how many staff members were in the office before the increase

Answers

There were 5 staff members in the office before the increase.

To find the number of staff members in the office before the increase, we can work backward from the given information.

Let's start with the current total of 35 employees. It is stated that 11 employees were added last year.

Therefore, if we subtract 11 from the current total, we can determine the number of employees before the addition: 35 - 11 = 24.

Moving on to the information about the year prior, it states that there was a 500% increase in staff.

To calculate this, we need to find the original number of employees and then determine what 500% of that number is.

Let's assume the original number of employees before the increase was x.

If we had a 500% increase, it means the number of employees multiplied by 5. So, we can write the equation:

5 * x = 24

Dividing both sides of the equation by 5, we find:

x = 24 / 5 = 4.8

However, the number of employees cannot be a fraction or a decimal, so we round it to the nearest whole number.

Thus, before the increase, there were 5 employees in the office.

For more questions on staff members

https://brainly.com/question/30298095

#SPJ8

Could anyone help :)

Could anyone help :)

Answers

Answer:

2

Explanation:

This code segment iterates through the array checks to see if each element equals y if so, increments the counter variable count

Essentially, this code is taking in two parameters an array x and an integer y and counting the number of times y appears in the array x

look(numList, 1) counts the number of times the integer 1 appears in numList

1 appears two times and therefore 2 is the value returned by the function and therefore the answer

3.4 code practice question 2 edhesive

Answers

???????????????????
Is there more to this question??

An AIS is composed of people, procedures and instructions, data, software, technology infrastructure, and controls. These six components enable an AIS to fulfill which of the following important business functions?
a)Transform data into information so management can plan, execute, control, and evaluate activities, resources, and personnel
b)Provide the controls needed to safeguard an organization's assets and data
c)Develop the procedures and instructions needed to operate the software and store the data
d)Collect and store data about the organization's activities, resources, and personnel
e)Hire the best people available to manage the organization

Answers

The correct answer is a)Transform data into information so management can plan, execute, control, and evaluate activities, resources, and personnel.

People, Data, Software, Procedure, Information Technology, and Internal Controls are the components of an Accounting Information System (AIS). The operations in accounting, finance, law, and general administration that enable a corporation to run are referred to as firm infrastructure. The infrastructure of the company includes the AIS. The name of the employee, the item sold, and the date are some of the AIS variables that are related to a particular sales transaction. The daily sales quota is not a crucial element that the AIS records in respect to certain sales transactions.

To learn more about data click the link below:

brainly.com/question/10980404

#SPJ4

Where do we manage POS? ​

Answers

Explanation:

The POS serves as the central component for your business; it's the hub where everything like sales, inventory management , payment processing, and customer management merges.

The COOJA simulator is a utility to simulate wireless sensor systems. It serves as tool
to verify the operability of applications on target systems without having physical
access to these systems. Starting COOJA is as simple as double-clicking the COOJA
symbol on the virtual machine's desktop.
Compiling and running Contiki OS code in COOJA works by creating virtual sensor devices whose behavior can be specified by pointing COOJA to the .c files that
contain the corresponding program code.
a) Create a new simulation in COOJA (Menu item: File → New simulation... ). Enter a name of your choice, leave the default settings unchanged, and click Create. Next, add some motes with the hello-world
implementation to your simulation. To this end, navigate to the following menu item: Motes → Add motes → Create new mote type → Z1
mote. In the appearing window, navigate to the hello-world.c file in
the /home/student/contiki-ng/examples/hello-world directory and click
Compile, then Create. Increase the number of nodes to create to 20, and
keep the option for random positioning. Finally, click Add motes.
Unless already active, activate the Mote IDs option under the View menu
of the simulator's Network window. Twenty numbered circles will now occur, each one representing a single node with the given firmware. The number
in the circle specifies the node address. Furthermore, activate the Radio environment option in the View menu and then click on one of the nodes;
a green circle will appear around it. Click on the start button in the Simulation control window next, let the application run for about ten seconds
while taking note of the speed value displayed in the same window, then
click pause.
b) State an approximate average value of the observed simulation speed. Can
you think of what a speed over 100% might mean, and what speed values below 100% indicate?
c) Deduce from the observations in the Network window what the green circles
around nodes (after having clicked on the node) indicate. Try to drag-and-drop
nodes around to see if/how the circles change. Explain your observations.
d) Create a new simulation in COOJA. This time, load one node with the
udp-server from /home/student/contiki-ng/examples/rpl-udp and five
nodes with the udp-client from the same directory. Run the simulation to
verify that nodes exchange data with each other. For this purpose, set the required options under the View menu.
Using your mouse, drag one of the receiver motes in the Network window
far away from the remaining nodes such that its green and gray circles contain
no other nodes (you may need to enlarge the Network window to this end
and/or move other nodes to accomplish this task). In the Timeline window,
locate the entry for this particular node (hint: Look for the entry with the ID
of the node which you can find in the Network window).
Compare this node's activity (represented by the colors in the timeline and the
log output) with the activity of all other nodes. What are your observations?
Can you explain them? Hint: you may find it useful to enable further event

Answers

a) The simulation speed in COOJA refers to the speed at which the simulation is running compared to real-time. The average value of the observed simulation speed will vary depending on the specifications of the computer being used to run the simulation. A simulation speed over 100% means that the simulation is running faster than real-time. On the other hand, speed values below 100% indicate that the simulation is running slower than real-time.

What is the simulator  about?

b) The green circles around nodes in the Network window indicate the range of the radio signal of each node. The green circle represents the area where other nodes can be reached by a node with the corresponding radio signal. By dragging and dropping nodes, you can observe how the green circle changes to show the new range of the node's radio signal.

c) To verify that nodes are exchanging data with each other, a new simulation was created and one node was loaded with the udp-server and five nodes with the udp-client. By observing the Timeline window, it is possible to locate the activity of each node and compare it to the activity of all other nodes. When a node is dragged far away from the other nodes, the activity of this node (represented by the colors in the timeline and the log output) will be different compared to the activity of the other nodes. This observation can be explained by the fact that the node is now out of range of the radio signals of the other nodes, and therefore cannot exchange data with them.

d) To understand the observations, it is important to keep in mind that COOJA is a tool used to simulate wireless sensor systems, and the data exchange between nodes is simulated according to the specifications defined in the code. The observed differences in activity between nodes can be attributed to differences in the range of their radio signals, as well as other factors such as the timing of the data exchange between nodes.

Learn more about simulator  form

https://brainly.com/question/24912812

#SPJ1

What is the word to tell excel that you want it to do math

Answers

Are you referring to functions? In a cell you can type "=" and it will allow you to enter a formula to insert math equations involving other cell values.

List 10 examples of input devices categorise into the 3 major types of input hardware. 1. Pointing device 2. Source data input 3 keyboard

Answers

10 examples of input devices categorise into the 3 major types of input hardware.

1. Pointing Devices:

a. Mouse

b. Trackball

c. Joystick

2. Source Data Input:

a. Barcode Scanner

b. Magnetic Stripe Reader

c. Optical Character Reader

3. Keyboard:

a. Standard Keyboard

b. Numeric Keyboard

c. Ergonomic Keyboard

What is Barcode Scanner?

Barcode Scanner is a type of technology that is used to read barcodes. Barcodes are a series of vertical lines and spaces of varying widths, which can be scanned by a barcode scanner and converted into digital data. This data can then be used to track a product, identify it, and store information about it. Barcode scanners are used in a variety of industries, such as retail, healthcare, and manufacturing, to increase accuracy and efficiency.

To know more about Barcode scanner

brainly.com/question/14399922

#SPJ1

Jose is a kind co-worker who listens to suggestions and always follows through with help when he has offered it. Jose has which type of power?


coercive power


expert power


connection power


referent power

Answers

Jose exhibits referent power.The correct answer is option d.

Referent power is based on the personal qualities and characteristics of an individual that make them likeable and respected by others. It stems from the ability to build positive relationships, gain trust, and inspire loyalty.

In this case, Jose's kind and attentive nature, along with his willingness to listen to suggestions and provide help when needed, demonstrates his referent power. His co-workers view him as a trusted and respected individual, and they value his opinions and support.

They are likely to seek his advice and follow his lead because they genuinely admire and trust him.

Referent power is effective in influencing others because it is rooted in interpersonal relationships rather than formal authority or expertise. It is a result of the positive feelings and connections individuals have with someone they respect and admire.

By leveraging his referent power, Jose can foster a supportive and collaborative work environment, where people feel valued and motivated to contribute their best.

Overall, Jose's referent power stems from his likability, trustworthiness, and ability to establish meaningful connections with his co-workers.

For more such questions power,Click on

https://brainly.com/question/29569820

#SPJ8

A security administrator plans to conduct a vulnerability scan on the network to determine if system applications are up to date. The administrator wants to limit disruptions to operations but not consume too many resources. Which of the following types of vulnerability scans should be conducted?

a. Credentialed
b. Non-intrusive
c. SYN
d. Port

Answers

Answer:

i think it A i hope it right

Explanation:

Consider the following code:
start = int(input("Enter the starting number: "))
stop = int(input("Enter the ending number: "))
x = -10
sum = 0
for i in range (start, stop, x):
sum = sum + i
print(sum)
What is output if the user enters 78 then 45?

Please help me !

Answers

Answer:

The output is 252

Explanation:

To get the output, I'll analyze the lines of code one after the other.

Here, user enters 78. So, start = 78

start = int(input("Enter the starting number: "))

Here, user enters 45. So, stop = 45

stop = int(input("Enter the ending number: "))

This initializes x to -10

x = -10

This initializes sum to 0

sum = 0

This iterates from 78 to 46 (i.e. 45 + 1) with a decrement of -10 in each successive term

for i in range (start, stop, x):

This adds the terms of the range

     sum = sum + i

This prints the calculated sum

print(sum)

The range starts from 78 and ends at 46 (i.e. 45 + 1) with a decrement of -10.

So, the terms are: 78, 68, 58 and 48

And Sum is calculated as:

\(Sum = 78 + 68 + 58 +48\)

\(Sum = 252\)

Hence, 252 will be printed

mitch, an attorney, accepts an offer for an attorney position at the firm. grisham, the managing partner of the firm, sends mitch an employment policy manual, which contains policies regarding attendance and confidentiality prior to mitch's first day. grisham includes a note advising mitch to carefully review the manual as he would be expected to adhere to its policies. during his first week at the firm, mitch is seen leaving the office at noon with copies of files tucked under his arm and not returning. he is also observed giving the copied files to a man not associated with the firm. at the end of the week, mitch is terminated for violating the terms of the employment policy manual. which of the following is true?

Answers

The Employment Policy Manual is part of the implied contract between Mitch and The Firm. An implied contract typically arises as a result of a written presumption of employment or an oral hiring agreement from an employer or corporate representative.

These agreements are typically made by an oral agreement that becomes a written employment contract or through an employee handbook. During the initial training phase or with policies and written guarantees that the employer would supply at some point in the first few weeks or months of employment, some employees sign employment documentation. The working connection between the person and the company is then established by the implied contract, which may lead to promotion, position changes, raises, and continuous pay.

To learn more about  implied contract click here:

brainly.com/question/29534526

#SPJ4

Complete question:

mitch, an attorney, accepts an offer for an attorney position at the firm. grisham, the managing partner of the firm, sends mitch an employment policy manual, which contains policies regarding attendance and confidentiality prior to mitch's first day. grisham includes a note advising mitch to carefully review the manual as he would be expected to adhere to its policies. during his first week at the firm, mitch is seen leaving the office at noon with copies of files tucked under his arm and not returning. he is also observed giving the copied files to a man not associated with the firm. at the end of the week, mitch is terminated for violating the terms of the employment policy manual.

Which of the following is true?

Mitch may recover his moving expenses under the doctrine of promissory estoppel.The Firm breached its express contract with Mitch by terminating him.The Employment Policy Manual is part of the implied contract between Mitch and The Firm.The Firm may recover Mitch's salary under the doctrine of quasi-contract."The Employment Policy Manual is part of the implied contract between Mitch and The Firm.

Can someone please help me figure this out and let me know what I'm missing. It is on CodeHs and it's 1.3.8 Freely Falling Bodies

Can someone please help me figure this out and let me know what I'm missing. It is on CodeHs and it's

Answers

The code is in Java.

It calculates the height and velocity of a dropped pebble using the given formulas.

Comments are used to explain the each line.

//FallingBodies.java

public class FallingBodies

{

public static void main(String[] args) {

    //Declare the g as a constant

    final double g = 9.8;

   

    //Declare the other variables

    double t, height, velocity;

   

    //Set the time

    t = 23;

   

    //Calculate the height using the given formula

    height = 0.5 * g * t * t;

   

    //Calculate the velocity using the given formula

    velocity = g * t;

   

    //Print the height and velocity

    System.out.println("The height is " + height + " m");

 System.out.println("The velocity is " + velocity + " m/s");

}

}

You may read more about Java in the following link:

brainly.com/question/13153130

what is the purpose of untility programs​

Answers

Answer:

1. keeps computer from unwanted software threat

help in management of coputer memory and enhance performance

2. allows computer users to customize their desktop and user interface

3.helps in management and turning of the operating system, computer hardware, software of a system

4.maintain and increase efficiency of a computer system

You have a meeting this morning where you and your work group will determine exactly which features a software project will have. Which part of the software development life cycle does this describe? A. Analysis B. Development C. Implementation D. Design​

Answers

A. You are analyzing the way the software should run and what’s it’s purpose is. I would also believe that D. May be the answer but design more closely means the design of the software and not the planning stage.

The phase of the software development life cycle that this scenario describe is: D. Design​.

What is software development life cycle?

Software development life cycle (SDLC) can be defined as a strategic methodology that defines the key steps, phases, or stages for the design, development and implementation of high quality software programs (applications).

Generally, there are six (6) main steps involved in the development of a software program and these include;

PlanningAnalysisDesignDevelopment (coding)DeploymentMaintenance

In this scenario, you and your work group are in the design phase of the software development life cycle (SDLC).

Read more on software here: brainly.com/question/26324021

Match the header file to the description of the functionality that it brings into your program.
A. Standard I/O [ Choose ]
B. I/O Stream manipulators fstream
C. String types and associated functions string
D. File input and output [ Choose ]
E. C utility functions such as rand(), srand() [ Choose ]

Answers

Answer:

A. iostream

B. iomanip

C. string

D. fstream

E. cstdlib

Explanation:

Required

Match each header file with their description

The options are not given. However, the question can still be answered.

A: The header file for this is iostream (i.e. standard input-output stream)

B: The header file for this is iomanip (i.e. input and output manipulators)

C: The header file for this is string

D: The header file for this is fstream (i.e. file stream)

E: The header file for this is cstdlib (i.e. C++ standard library)

To import each of this function, you use the include keyword

E.g. #include<iostream>

Other Questions
If a medicare beneficiary files a joint income tax return and has a total income of $217,000, what would be the monthly plan premium in 2017? C(s) l V2+(aq), V3+(aq) ll VO2+(aq), VO2+(aq) l C(s). Write the balanced half-reaction for the process that occurs at the anode in acidic solution. ailure of a related di may cause depositors to become concerned about the solvency of surviving dis and withdraw their deposits from them, known as a What is value of 1/3 1/12 *41/41/361/6 help me pls I'm stuck taylor would like to try different tools on a windows 10 system that will verify each hop along the path from the system to the server to which it is connected. which tool or tools could taylor try? The height of a weather balloon as it is launched can be represented by an exponential model in the form y = a* b^x where y is the height in km after x minutes. After 2 minutes, the recorded height is 3 km, and after 3 minutes, it is 9 km. Which of the following represents another point on the graph of this exponential model?Group of answer choices(1,-3)(1, 1)(4, 15)(4, 16) how would as6 tell the world that it prefers receiving traffic for the upper half of its address space only via the c-y link, unless of course it is broken? one way to segment a market is according to whether the purchaser is a consumer or a business-to-business user. why group projects are better than individually doing them? What kind of speech strives to deliver a lighthearted, amusing message that offers a certain degree of insight into the topic at hand?. a company's stock was elling at $24 a share. A month later, it was selling at $30 a share. What percent is that gain The surface area of a rectangular prism is equal to the sum of the area of all of its faces. Said another way, the surface area is the total area covered by the 6 sides. Let's take a look at a cube. Special Case: Cube As you already know, a cube has six square faces. Suppose if each of those faces is 3 inches by 3 inches, then the area of each face is 3 x 3 = 9 square inches. And since there are six of them, the total surface area is 9 + 9 + 9 + 9 + 9 + 9 = 54 square inches. To find the surface area of any shape, you can follow the process described below: 1. Draw a net of the rectangular prism 2. Calculate the area of each face. 3. Add up the area of all the faces. Earth's seasons are caused by itsO A. precessionO B. rotationO C. revolutionO D. ecliptic Consider the chemical equation for the combustion of sugar. _C6H12O6(s) _O2(g) mc018-1. Jpg _CO2(g) _H2O(l) Which sequence of coefficients should be placed in the blanks to balance this equation? 1, 6, 6, 6 6, 1, 6, 1 3, 3, 3, 6 1, 3, 3, 6. To cover the initial margin requirement of 60%, you deposited funds after short-selling 270 shares of common stock at $62 per share.a. What is your rate of return if you cover at $67, assuming no dividends and no addition or removal of funds from the account? (Negative value should be indicated by a minus sign. Round your answer to 1 decimal place.)Rate of return %b. At what price would you receive a margin call if the minimum margin requirement is 30%? (Round your answer to 2 decimal places. Omit $ sign in your response.)Price $ Are algal blooms always human caused? This question is about sound waves and light waves. a quantity of gas mean the molecular weight is compressed according to the law pv The diagram below shows the velocities of two runners.11 m/s westRunner 15 m/s eastRunner 2From the frame of reference of runner 1, what is the velocity of runner 2?O A. 5 m/s eastO B. 6 m/s eastC. 16 m/s westO D. 16 m/s east