In python:
age = float(input("How old are you? "))
weight = float(input("How much do you weigh? "))
heart_rate = float(input("What's your heart rate? "))
time = float(input("What's the time? "))
print("The calories burned for men is {}, and the calories burned for women is {}.".format(
((age * 0.2017) - (weight * 0.09036) + (heart_rate * 0.6309) - 55.0969) * (time / 4.184),
((age * 0.074) - (weight * 0.05741) + (heart_rate * 0.4472) - 20.4022) * (time / 4.184)))
This is the program.
When you enter 49 155 148 60, the output is:
The calories burned for men is 489.77724665391963, and the calories burned for women is 580.939531548757.
Round to whatever you desire.
The programming language is not stated. So, I will answer this question using Python programming language.
The program requires a sequence control structure, because it does not make use of conditions and iterations.
The program in python is as follows, where comments (in italics) are used to explain each line.
#This gets input for age, in years
age = int(input("Age (years): "))
#This gets input for weight, in pounds
weight = int(input("Weight (pounds): "))
#This gets input for heart rate, in beats per minutes
heart_rate = int(input("Heart Rate (beats per minutes): "))
#This gets input for time, in minutes
time = int(input("Time (Minutes) : "))
#This calculates the calories burnt for men
Men = ((age * 0.2017) - (weight * 0.09036) + (heart_rate * 0.6309) - 55.0969) * time / 4.184
#This calculates the calories burnt for women
Women = ((age * 0.074) - (weight * 0.05741) + (heart_rate * 0.4472) - 20.4022 ) * time / 4.184
#This prints the calories burnt for men
print("Men:", Men)
#This prints the calories burnt for women
print("Women:", Women)
At the end of the program, the program outputs the amount of calories burnt for men and women.
See attachment for sample run
Read more about Python programs at:
https://brainly.com/question/22841107
1.00 Point: WD Skill 1.9 Create Document Footers
Add the Title field using the default format to the footer of the document.
Answer: 1.00 point
Explanation:
________________________ is an information system that stores user data in many different geographical locations and makes that data available on demand.
Answer:
CDN(content delivery network)
Explanation:
Content delivery network(CDN) which can as well be regarded as Content Distribution Network helps in acheiving high website performance, it essential in reduction of latency, through making the time a request is made using a website to when the website is fully loaded to be short and Minimal. It important in a situation whereby there is traffic loads from the users as well as server. It should be noted that CDN
is an information system that stores user data in many different geographical locations and makes that data available on demand. CDN's usefulness is also found in Cloud computing network such as Software as a service(SaaS). Google doc is an example.
Write a program that computes and display the n! for any n in the range1...100
Answer:
const BigNumber = require('bignumber.js');
var f = new BigNumber("1");
for (let i=1; i <= 100; i++) {
f = f.times(i);
console.log(`${i}! = ${f.toFixed()}`);
}
Explanation:
Above is a solution in javascript. You will need a bignumber library to display the numbers in full precision.
Define a function createPhonebook that accepts three arguments: A list of first names A list of last names A list of phone numbers All three arguments will have the same number of items. createPhonebook should return a dictionary where the keys are full names (first name then last name) and the values are phone numbers. For example: firstNames
Answer:
def createPhonebook(firsts, lasts, numbers):
d = {}
for i in range(len(firsts)):
k = firsts[i] + " " + lasts[i]
d[k] = numbers[i]
return d
Explanation:
Create a function named createPhonebook that takes three arguments, firsts, lasts, numbers
Initialize an empty dictionary, d
Create a for loop that iterates the length of the firsts times(Since all the arguments have same length, you may use any of them). Inside the loop, set the key as the item from firsts, a space, and item from lasts (If the name is "Ted" and last name is "Mosby", then the key will be "Ted Mosby"). Set the value of the key as the corresponding item in the numbers list.
When the loop is done, return the d
Windows 1.0 was not considered to be a "true" operating system but rather an operating environment because _____.
it provided a shell for MS-DOS
it could only run one application at a time
it didn't use a pointing device
it crashed a lot
Answer:
Because it was only a shell; MS-DOS was still the operating system.
Explanation:
i took the quiz it ia accurate
Tasha works as an information technologist for a company that has offices in New York, London, and Paris. She is based out of the New York office and uses the web to contact the London and Paris office. Her boss typically wants her to interact with customers and to run training seminars to teach employees new software and processes. Which career pathway would have this type of employee?
Answer:
D. Interactive Media
Explanation:
i just took the test right now
The career pathway which would have this type of employee is an interactive media.
What is media?Media is a terminology that is used to describe an institution that is established and saddled with the responsibility of serving as a source for credible, factual and reliable news information to its audience within a geographical location, either through an online or print medium.
In this context, an interactive media is a form of media that avail all media personnels an ability to easily and effectively interact with their customers or audience.
Read more on media here: https://brainly.com/question/16606168
Choose the word to make the sentence true. The ____ function is used to display the program's output.
O input
O output
O display
The output function is used to display the program's output.
Explanation:
As far as I know this must be the answer. As tge output devices such as Monitor and Speaker displays the output processed.
The display function is used to display the program's output. The correct option is C.
What is display function?Display Function Usage displays a list of function identifiers. It can also be used to display detailed usage information about a specific function, such as a list of user profiles with the function's specific usage information.
The displayed values include the prefix, measuring unit, and required decimal places.
Push buttons can be used to select functions such as summation, minimum and maximum value output, and tare. A variety of user inputs are available.
A display is a device that displays visual information. The primary goal of any display technology is to make information sharing easier. The display function is used to display the output of the program.
Thus, the correct option is C.
For more details regarding display function, visit:
https://brainly.com/question/29216888
#SPJ5
Plz help ASAP
Where are fiber optic cables often used?
A. To connect LANs inside your home
B. To support wireless access points (WAP)
C. To enable near field communications
D. To connect networks that are far apart of that have high data volumes.
Answer:
D
Explanation:
fiber optic cables are generally used by isps which is why they call their internet fiber optic
Write two statements to read in values for my_city followed by my_state. Do not provide a prompt. Assign log_entry with current_time, my_city, and my_state. Values should be separated by a space. Sample output for given program if my_city is Houston and my_state is Texas: 2014-07-26 02:12:18: Houston Texas Note: Do not write a prompt for the input values. 1 current_time = '2014-07-26 02:12:18:' 2 my_city = "' 3 my_state = "" 4 log_entry - "' 1 test passed 6 print(log_entry) All tests passed Run Run
Answer:
Here is the program:
current_time = '2014-07-26 02:12:18:'
my_city = ''
my_state = ''
log_entry = ''
my_city = input("") #reads in value for my_city
my_state = input("") #reads in value for my_state
log_entry = current_time + ' ' + my_city + ' ' + my_state #concatenates current_time, my_city and my_state values with ' ' empty space between them
print(log_entry)
Explanation:
You can also replace
log_entry = current_time + ' ' + my_city + ' ' + my_state
with
log_entry = f'{current_time} {my_city} {my_state}'
it uses f-strings to format the strings
If you want to hard code the values for my_city and my_state then you can replace the above
my_city = input("")
my_state = input("")
with
my_city = "Houston"
my_state = "Texas"
but if you want to read these values at the console from user then use the input() method.
The screenshot of the program along with the output is attached.
In this exercise we have to use the knowledge of the python language to write the code, so we have to:
The code is in the attached photo.
So to make it easier the code can be found at:
current_time = '2014-07-26 02:12:18:'
my_city = ''
my_state = ''
log_entry = ''
my_city = input("") #reads in value for my_city
my_state = input("") #reads in value for my_state
log_entry = current_time + ' ' + my_city + ' ' + my_state #concatenates current_time, my_city and my_state values with ' ' empty space between themlog_entry = current_time + ' ' + my_city + ' ' + my_state
log_entry = f'{current_time} {my_city} {my_state}'
my_city = input("")
my_state = input("")
my_city = "Houston"
my_state = "Texas"
See more about python at brainly.com/question/26104476
Using the drop-down menus, correctly complete the sentences.
A(n)_____
is a set of step-by-step instructions that tell a computer exactly what to do.
The first step in creating a computer program is defining a(n)_____
the next step is creating a(n)______
problem that can be solved by a computer program.
A person writing a computer program is called a(n)
DONE
Answer:
I'm pretty sure these are right:
1. algorithm
2. problem
3. math
4. computer programmer
After a chart has been inserted and formatted, is it possible to change the data range it refers to or to add new rows of data?
A:No, additional data cannot be included in a chart once it has been created; the user should delete the chart and create a new chart.
B:Yes, click the Select Data button in the Data group under the Design tab to extend or reduce the data range.
C:Yes, click the chart, select the additional rows or columns of data to add, and press Enter on the keyboard.
D:Yes, double-click the chart and select Properties from the list; in the Properties box, insert the new data range to include in the chart.
Answer:
b) Yes, click on the Select Data button in the Data group under the Design tab to extend or reduce the data range.
Explanation:
The correct answer is b. Data ranges included in a chart frequently need to change to include more rows or columns. Extend or reduce the range quickly by using the Select Data Source dialogue box to revise the data range. :)
Answer:
ITS B
Explanation:
edge2021
Write a method called printRangeOfNumbers that accepts a minimum, maximum numbers as parameters and prints each number from minimum up to that maximum, inclusive, boxed by curly brackets. For example, consider the following method calls:
Answer:
The method in python is as follows:
class myClass:
def printRange(min,max):
for i in range(min, max+1):
print("{"+str(i)+"} ", end = '')
Explanation:
This line declares the class
class myClass:
This line defines the method
def printRange(min,max):
This line iterates from min to max
for i in range(min, max+1):
This line prints the output in its required format
print("{"+str(i)+"} ", end = '')
In this exercise you will debug the code which has been provided in the starter file. The code is intended to take two strings, s1 and s2 followed by a whole number, n, as inputs from the user, then print a string made up of the first n letters of s1 and the last n letters of s2. Your job is to fix the errors in the code so it performs as expected (see the sample run for an example).
Sample run
Enter first string
sausage
Enter second string
races
Enter number of letters from each word
3
sauces
Note: you are not expected to make your code work when n is bigger than the length of either string.
1 import java.util.Scanner;
2
3 public class 02_14_Activity_one {
4 public static void main(String[] args) {
5
6 Scanner scan = Scanner(System.in);
7
8 //Get first string
9 System.out.println("Enter first string");
10 String s1 = nextLine(); 1
11
12 //Get second string
13 System.out.println("Enter second string");
14 String s2 = Scanner.nextLine();
15
16 //Get number of letters to use from each string
17 System.out.println("Enter number of letters from each word");
18 String n = scan.nextLine();
19
20 //Print start of first string and end of second string
21 System.out.println(s1.substring(1,n-1) + s2.substring(s1.length()-n));
22
23
24 }
Answer:
Here is the corrected program:
import java.util.Scanner; //to accept input from user
public class 02_14_Activity_one { //class name
public static void main(String[] args) { //start of main method
Scanner scan = new Scanner(System.in); //creates Scanner class object
System.out.println("Enter first string"); //prompts user to enter first string
String s1 = scan.nextLine(); //reads input string from user
System.out.println("Enter second string"); //prompts user to enter second string
String s2 = scan.nextLine(); //reads second input string from user
System.out.println("Enter number of letters from each word"); //enter n
int n = scan.nextInt(); //reads value of integer n from user
System.out.println(s1.substring(0,n) + s2.substring(s2.length() - n ));
} } //uses substring method to print a string made up of the first n letters of s1 and the last n letters of s2.
Explanation:
The errors were:
1.
Scanner scan = Scanner(System.in);
Here new keyword is missing to create object scan of Scanner class.
Corrected statement:
Scanner scan = new Scanner(System.in);
2.
String s1 = nextLine();
Here object scan is missing to call nextLine() method of class Scanner
Corrected statement:
String s1 = scan.nextLine();
3.
String s2 = Scanner.nextLine();
Here class is used instead of its object scan to access the method nextLine
Corrected statement:
String s2 = scan.nextLine();
4.
String n = scan.nextLine();
Here n is of type String but n is a whole number so it should be of type int. Also the method nextInt will be used to scan and accept an integer value
Corrected statement:
int n = scan.nextInt();
5.
System.out.println(s1.substring(1,n-1) + s2.substring(s1.length()-n));
This statement is also not correct
Corrected statement:
System.out.println(s1.substring(0,n) + s2.substring(s2.length() - n ));
This works as follows:
s1.substring(0,n) uses substring method to return a new string that is a substring of this s1. The substring begins at the 0th index of s1 and extends to the character at index n.
s2.substring(s2.length() - n ) uses substring method to return a new string that is a substring of this s2. The substring then uses length() method to get the length of s2 and subtracts integer n from it and thus returns the last n characters of s2.
The screenshot of program along with its output is attached.
How could these same commands be used on a computer or network operating system?
Answer:
To manipulate data into information
what is the interpretation of this statement " Life is not a grand harmony, conflict exist. we much learn how to live it, use it constructively and minimize it's destructive aspect"
Answer:
Thats true but thats why we should never give up so we may strive to change the world even if it's a little bit.
Explanation:
Hope this helps! :)
To prevent any unnecessary injuries to small adults and the elderly from a deploying airbag, these
individuals should
as possible.
A. position their seats as far forward
B. position their seats as far back
c. recline their seats as far back
D. none of the above
Answer:
B. position their seats as far back
Explanation:
An airbag can be defined as a vehicle safety device (bag) that is designed to be inflated and eventually deflated in an extremely rapid or quick manner during an accident or collision.
Basically, an airbag refers to an occupant-restraint safety device installed on vehicles to protect both the driver and front-seat passenger in the event of an accident or collision. An airbag typically comprises of an impact sensor, flexible fabric bag, airbag cushion and an inflation module.
In order to prevent any unnecessary injuries to small adults and the elderly from a deploying airbag, these individuals should position their seats as far back as possible. This ultimately implies that, both the driver and the front-seat passenger are advised not to position too close to the dashboard; the seats should be as far back as possible.
Write a program that declares variables named init1, init2, and init3, to hold your three initials. Display the three initials with a period following each one, as in J.M.F.
Answer:
Written in Python
init1 = input("initials 1: ")
init2 = input("initials 2: ")
init3 = input("initials 3 ")
print(init1+"."+init2+"."+init3)
Explanation:
This line prompts user for init1 and gets the input
init1 = input("initials 1: ")
This line prompts user for init2 and gets the input
init2 = input("initials 2: ")
This line prompts user for init3 and gets the input
init3 = input("initials 3 ")
This line prints out the required output
print(init1+"."+init2+"."+init3)
Question 8 (3 points) Which of the following is an external factor that affects the price of a product? Choose the answer.
sales salaries
marketing strategy
competition
production cost
Answer: tax
Explanation: could effect the cost of items because the tax makes the price higher
oh sorry i did not see the whole question
this is the wrong awnser
What decides the amount of delay between shots on a digital camera?
Answer:
Some cameras have something called “shutter lag” which is the time it takes from the instant the shutter is pressed, until the instant the picture is taken. This can be very disruptive to the photographer, and although it is not possible to eliminate this delay, it is possible to minimize it a lot.
Explanation:
One of the main causes of shutter lag in dSLR cameras is the mirror that allows you to preview the image, since it needs to be raised in order for the light to reach the sensor. This time is minimal, however, and varies from camera to camera.
The focus delay exists in professional cameras as well and needs to be avoided in the same way, but the time it takes for the lens to clear the image, in these cases, is slightly less. Another factor that contributes to the photographer is the use of manual focus, completely eliminating this type of shutter lag.
Another type of delay that occurs is the image processing time by the sensor. This is not really a shutter lag, since it occurs after the photo was taken, but it can hinder the capture of sequential photos, as many cameras spend several seconds processing the same image.
the company has finished designing a software program but users aren't sure how to use it
Answer:
The company should go back into the company and make it a little more easier to use or the company should put out an announcement or something so the people trying to use it know how
Explanation:
Mark me the brainliest please and rate me
Answer:
Several people in the human resources department need new software installed. An employee has an idea for a software program that can save the company time, but doesn't know how to write it.
Explanation:
Which situation best illustrates how traditional economies meet their citizens needs for employment and income
APEX!!
A. A parent teaches a child to farm using centuries old techniques.
B. A religious organization selects a young person to become a priest
C. A government agency assigns a laborer a job working in a factory
D. A corporation hires an engineer who has just graduated from college
The situation that best show how traditional economies meet their citizens needs for employment and income is that a parent teaches a child to farm using centuries old techniques.
What is a traditional economy about?A traditional economy is known to be a type of system that depends on customs, history, and time framed/honored beliefs.
Tradition is know to be the guide that help in economic decisions such as production and distribution. Regions with traditional economies are known to depend on agriculture, fishing, hunting, etc.
Learn more about traditional economies from
https://brainly.com/question/620306
Is 583 a string or a number?
Answer:
a string
answer
Alice just wrote a new app using Python. She tested her code and noticed some of her lines of code are out of order. Which principal of programing should Alice review?
Answer:
sequencing
Explanation:
from flvs
Answer:
Sequencing
Explanation:
The collaborative team responsible for creating a film is in the process of creating advertisements for it and of figuring out how to generate excitement about the film. Which of the five phases of filmmaking are they most likely in?
Answer:
Distribution.
Explanation:
Filmmaking can be defined as the art or process of directing and producing a movie for viewing in cinemas or television. The process of making a movie comprises of five (5) distinct phases and these are;
1. Development.
2. Pre-production.
3. Production.
4. Post-production.
5. Distribution.
Distribution refers to the last phase of filmmaking and it is the stage where the collaborative team considers a return on investment by creating advertisements in order to have a wider outreach or audience.
In this scenario, the collaborative team responsible for creating a film is in the process of creating advertisements for it and of figuring out how to generate excitement about the film.
Hence, they are likely to be in the distribution phase in relation to the five phases of filmmaking.
Answer:
C: distribution
Explanation:
edg2021
The factor which most establishes an internet search as efficient and useful for a business is:
A.the number of people who use it.
B.the ancillary options it has (reverse image search, audio search, etc.).
C. a well-curated index.
D. how it monetizes searches.
Answer:
a well-curated index.
Explanation:
Got it right on a test
The factor which most establishes an internet search as efficient and useful for a business is the number of people who use it. The correct option is A.
What is internet?The Internet, also known as "the Net," is a worldwide system of computer networks a network of networks in which users at any one computer can obtain information from any other computer if they have permission.
The Internet is referred to as a network of networks because it is a global network of computers that are linked together by cables and telephone lines, allowing them to communicate with one another.
A well-curated index is the factor that most establishes an internet search as efficient and useful for a business.
A Curator selects and manages the assets in a Curated Index vault. A curator selects the assets and determines their respective valuations before adding them to the vault and issuing vault shares.
Thus, the correct option is A.
For more details regarding internet, visit:
https://brainly.com/question/13308791
#SPJ5
which of the following uses technical and artistic skills to create visual products that communicate information to an audience? ○computer engineer ○typography ○computer animator ○graphic designer
Answer:
grafic desiner
Explanation:
just a guess lol
Answer:
I don't know...
Explanation:
D
20 POINTS!!!!!!! Which is considered a collection of code that can be run?
a computer program is a collection of instructions that can be executed by a computer to perform a specific task. A computer program is usually written by a computer programmer in a programming language.
Answer:
PROGRAM
Explanation:
I went and looked it up in my lesson, and I got it correct!!
Hope This Helped! :)
Which transition level is designed to begin the process of public participation?
A. Level 1: Monitor
B. Level 2: Command
C. Level 3: Coordinate
D. Level 4: Cooperate
E. Level 5: Collaborate
Which of the following practices is NOT recommended when designing with type?
A:Choose fonts that reflect the mood and style of your project. DO NOT- Use all caps or bold unless titles, headlines, logos. (graphics vs text) Type over high contrast BG... Is it readable?
B:Choose colors that have a clear contrast with the background.
C:Use all caps or bold text for paragraphs.
D:Make your headings and titles larger than the paragraph text.
Answer:
C
Explanation:
Typically speaking BOLD OR CAPS CAUSE THE PARAGRAPH TO BE HARD TO READ AND NOT CLEAN IN TERMS OF DESIGN.
But keeping general capitical rules and using italics to put emphasis in the paragraph is much easier to read, and much cleaner to the eye.
Consider the two lists A and B. List A is an anagram of list B if the following two conditions are true: 1.list A and list B have the same number of elements 2.each element of list A occurs the same number of times in list A and list BFor example, [3, 2, 4, 1, 2] and [2, 2, 3, 1, 4] are anagram of each other, but [2, 3, 1, 2] and [1, 3, 1, 2] are not. Write a function named isAnagram that takes two lists of integers as parameters: lstA and lstB. The function isAnagram should return the bool value True if lstA is an anagram of lstB and False otherwise. The following is an example of correct output: >>> print(isAnagram([14, 10, 19], [10, 14, 19]))True
Answer:
cdacaddacdbbbbbacddebb
Explanation: