While exercising, you can use a heart-rate monitor to see that your heart rate stays within a safe range suggested by your doctors and trainers. According to the American Heart Association (AHA) (http://bit.ly/AHATargetHeartRates), the formula for calculating your maximum heart rate in beats per minute is 220 minus your age in years. Your target heart rate is 50- 85% of your maximum heart rate. Write a program that prompts for and inputs the user's age and calculates and displays the user's maximum heart rate and the range of the user's tar-get heart rate. Can you do it in C please
Q: Write a program which prompts the user for their age. If they are 19 or younger inform them that…
A: "Since you have not mention any programming language, so we will write this program in C++…
Q: Write a program that reads the amount of a monthly mortgage payment andthe amount still owed—the…
A: Given: Write a program that reads the amount of a monthly mortgage payment and the amount still…
Q: You are to write a program to tell you how many months it will take to pay off a loan, as well as…
A: Following is the code for the loan calculator using C++
Q: Write a program that calculates the potential energy of 3 charges q1 = 1, q2 = 2, q3 = 3 located at…
A: C program: #include <stdio.h>#include<math.h> // function to print distancefloat…
Q: Write a program that takes your full name as input and displays the abbreviations of the first and…
A: NOTE: SINCE THE LANGUAGE OF THE PROGRAM IS NOT GIVEN, I HAVE USED PYTHON FOR THE SOLUTION Define…
Q: A county collects property taxes on the assessed value of property, which is 60 percent of its…
A: Step 1: Prompt and accept property value from the user. Step 2: Prompt and accept tax rate per $100…
Q: Write a program that calculates the potential energy of 3 charges q1 = 1, q2 = 2, q3 = 3 located at…
A: For the given points (1, 2, 3), (3, -4, -5) and (-4, 2, -6) The rij is the distance between charges…
Q: Write a program that reads a bank aCcount balance and an interest rate and displays the value of the…
A:
Q: Write a program that prompts the user to enter a numeric temperature value that may be a float. A…
A: Please find the answer below
Q: Write a program ShippingCharges.cpp that asks for the weight of the package and the distance it is…
A: Use an if else structure to validate the values and then use if else if ladder to calculate amount
Q: Write a program that prompts the user to enter a numeric temperature value that may be a float. A…
A: Below is the code text so you don't have to type, but make sure to match the text with the image…
Q: Write a program to calculate the estimated engine horsepower of a car based on the weight of the car…
A: As no programming language is mentioned, it is solved using basic C++
Q: Write a program that calculates a “moving (rolling) average” of ten integer numbers entered by the…
A: We need to write a Python code to find moving average.
Q: Write a program that prompts the user to enter theminutes (e.g., 1 billion), and displays the number…
A: Program code: //IMPORT Scanner class import java.util.Scanner; //define a class NoOfYears public…
Q: Write a program that can be used to calculate the federal tax. The tax is calculated as follows: For…
A: The question is to write a code for the given problem and no language has been mentioned, here C++…
Q: write a program to convert between KPHand MPH in either direction.If you are driving across the…
A: Hey..We have following important points to solve this problem using java programming:We are using…
Q: Write a program that finds and displays all the "odd numbers" between 1 and N. The value of N is an…
A: Algorithm: 1. Start. 2. Initialize sum to 0 and declare n. 3. Read the positive integer as n. 4.…
Q: The screen size of a TV is given by the length of the rectangular diagonal. Traditional TVs come in…
A: code: #include<iostream> using namespace std; int main() { double…
Q: Write a program that calculates an adult's fat-burning heart rate, which is 70% of 220 minus the…
A: Start input age through get_age function if person is not in between 18 to 75 the print message…
Q: In order to discourage excess electric consumption, an electrical company charges its customers a…
A: Step 1 : Start Step 2 : Take input for the Electricity consumed in Kilowatt-hours from the user.…
Q: Write a program that prompts the user to enter the year and first day of the year, and displays the…
A: PROGRAM CODE: import java.util.*;public class Main { public static void main(String[] strings)…
Q: Write a program that prompts the user to input three numbers. The program should then output the…
A: The given is the requirement to solve the problem in C++ programming lanague where: a) User will…
Q: Write a program named FahrenheitToCelsius that accepts a temperature in Fahrenheit from a user and…
A: using System; namespace Celsius{ class Program { static void Main(string[] args)…
Q: Write a program that reads two numbers from the keyboard representing, respectively, an investment…
A: the answer is given below:-
Q: | Create a program which prompts the user for a Celsius temperature and convert the I temperature…
A: As no language is specified, here C language has been used to design the code. The code and the…
Q: Write a program that reports the contents of a compressed-gas cylinder based on the first letter of…
A: Actually, program is an executable software that runs on a computer.
Q: Using Python, create a program that asks the user for a non-negative amount of money (in Pesos).…
A: - We need to have a menu based python program for currency.
Q: Write a program to perform the following? Ask the user for the name? Ask the user to input…
A: Since the Programming language is not mentioned in the question, we will answer this question in C++…
Q: Write a program that prompts the user for a U.S. dollar amount and then converts it to Japanese Yen,…
A: Purpose: In this the dollar has to be converted into yen, Pound, Currency and then it has to…
Q: WRITE A PROGRAM TO CALCULATRE THE AREA OF A RECTANGLE OF LENGTH =5 CM AND BREADTH=8CM. CALCULATE THE…
A: Hey, thank you for your question. There are multiple subparts submitted to your question. As per our…
Q: Write a program that generates a random number in the range of 1 through 100, and asks the user to…
A: Hello student Here is your answer
Q: Write a program that can be used to calculate the federal tax. The tax is calculated as follows: For…
A: PROGRAM: //header files #include <iostream> #include<iomanip> //using namespace using…
Q: Python write a program that allows the store to enter the total positive clicks and the total…
A: Python code for: Here you need to take 2 inputs from the user and then do subtraction to get the…
Q: Write a program that will calculate and print out bills for the city water company. The water rates…
A: The two inputs are char and float. Code is either H, C, or I. This is input to the switch statement.…
Q: Write a program whose input is two integers. Output the first integer and subsequent increments of 5…
A: Please Indent the code as shown in the picture below :
Q: python code
A: Prompt the user to input a starting balance and an interest rate. Compute the balance after 10…
Q: Written In Python The amount of time students spent studying for an test is exponentially…
A: According to the information given:- We have to write python code by following the instruction and…
Q: Write a program that prompts the user to input three positive angle values in degrees to determine…
A: - We need to code for the triangle program.
Q: Write a program that calculates the potential energy of 3 charges q1 = 1, q2 = 2, 43 = 3 located at…
A: please do upvote for my efforts thanks! answer: CODE #include…
Q: Write a program that can be used to calculate the federal tax. The tax is calculated as follows: For…
A: Actually, c++ is a powerful general purpose language. The, code has been below:
Q: 5. Write a program that computes the spherical distance between two points on the surface of the…
A: java code: public class Test { static double compute(double lat1, double lon1,…
Q: This is the question - Write a program that inserts parentheses, a space, and a dash into a string…
A: import java.util.Scanner; public class PhoneNumberFormat{ public static void main(String[] args)…
Q: Suppose you save $100 each month into a savings account with the annual interest rate 5%. So, the…
A: Lets see the solution.
Q: Write a program named FahrenheitToCelsius that accepts a temperature in Fahrenheit from a user and…
A: Program: using System;//create classclass FahrenheitToCelsius { //main method static void Main()…
Q: Write a program that prompts the user to enter two integer numbers A and B. The program must check…
A: Using if else and for loops we can solve this problem.
Q: Write a program that displays a table of speeds in kilometers per hour with their values converted…
A: PROGRAM CODE: #include <iostream>#include <iomanip>using namespace std; int main(){ int…
Q: Write a program that calculates the attendance percentage for students, there are total 120 working…
A: Note: In this question the coding language is not specified then we are doing this question in the…
Q: Write a program that asks the user to enter a positive integer, as in the examples below. If the…
A: while True:#infinite loop is used, so that it can run until proper input is given try: n =…
Q: Write a program that asks the user to enter "air", "water", or "steel", and the distance that a…
A: Introduction of Program: In this Java program, the speed of sound in Air=1100 feet per second, speed…
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images
- Consider for a minute that you are a software engineer who has invented a system that analyzes photos of a range of recyclable items (such as a can, bottle or a crate). It is accessible through a Web Application Programming Interface (Web API), which allows users to transfer photos over the internet. The system provides, for each photograph, the total number of occurrences of each distinct item shown in the image. Consider if it would be reasonable to give this service for free. Justify your answerHalloween is a celebration observed in a number of countries on 31 October, the eve of the Western Christian feast of All Hallows' Day. Halloween activities include trick-or-treating, attending Halloween costume parties, carving pumpkins into jack-o’-lanterns, lighting bonfires, apple bobbing, divination games, playing pranks, visiting haunted attractions, telling scary stories, and watching horror films. [Source: Wikipedia] Suppose the goal is to estimate the parameter stated in question 3 using a 99% confidence interval with margin of error no larger than 0.062. What is the minimum number of trick-or-treaters that would need to be selected to allow the calculation of a 99% confidence interval with margin of error no larger than 0.062? It can be assumed for this problem only that the proportion of all people who went trick-or-treating who received fruit in addition to candy is 0.16 and this number can be used for this problem. Which of the following is the correct answer answer?…for the following Question im after a hand written solution Question: The temperature alone is not enough to provide the answer. Other factors including wind speed, relative humidity, and sunshine play important roles in determining coldness outside. In 2001, the National Weather Service (NWS) implemented the new wind-chill temperature to measure the coldness using temperature and wind speed. The formula is given as follows: ??? =35.74+0.6215?? -35.75?0.16 +0.4275???0.16 Where ?? is the outside temperature measured in degrees Celsius and? is the speed measured in km per hour. ??? is the wind-chill temperature. The formula cannot be used for wind speeds below 3 km per hour or for temperatures below -50°C or above 5°C. For the following question this needs to be done!!!! (please again make sure the answer and Typed for the code please provide the typed screenshot format). Develop a hand-written solution.
- A materials engineer wants to study the effects of two different processes for sintering copper (aprocess by which copper powder coalesces into a solid but porous copper) on two different typesof copper powders. From each type of copper powder, she randomly selects two samples andthen randomly assigns one of the two sintering processes to each sample by the flip of a coin.The response of interest measured is the porosity of the resulting copper. Explain what type ofstudy this is and why.Imagine you are an avid movie goer and you prepared a list of n movies you are considering watching. As a thorough researcher, you prepared a list of k friends, whose movie advice you trust. For each movie, you are debating whether to either see it or speak to all of your friends and hear their recommendations. A more efficient approach is to choose between watching the movie and speaking with at least one trusted movie recommender friend. This approach will take a total of t hours. Prove that the problem is NP-hard.Five members of an obesity club want to know how much they have lost or gained weight since the last time they met. To do this, they carry out a weighing ritual where each one is weighed on ten different scales in order to have a more accurate average of their weight. If there is a positive difference between this average weight and the weight of the last time they met, it means that they gained weight. But if the difference is negative, it means that they lost weight. What the problem requires is that for each person a sign is printed that says "went up" or "under" and the amount of pounds Write a program in c++ using for, do while or while. Initial weights 230, 240, 180, 300 and 350. Do not use arrays
- Five members of an obesity club want to know how much they have lost or gained weight since the last time they met. To do this, they carry out a weighing ritual where each one is weighed on ten different scales in order to have a more accurate average of their weight. If there is a positive difference between this average weight and the weight of the last time they met, it means that they gained weight. But if the difference is negative, it means that they lost weight. What the problem requires is that for each person a sign is printed that says "went up" or "under" and the amount of pounds. Write a program in C++ that uses a function. The user must enter the initial weight and the 10 weights of the scales. Please do not use arrays or vectorFive members of an obesity club want to know how much they have lost or gained weight since the last time they met. To do this, they carry out a weighing ritual where each one is weighed on ten different scales in order to have a more accurate average of their weight. If there is a positive difference between this average weight and the weight of the last time they met, it means that they gained weight. But if the difference is negative, it means that they lost weight. What the problem requires is that for each person a sign is printed that says "went up" or "under" and the amount of pounds Write a program in c++ using for, do while or while. Initial weights 230, 240, 180, 300 and 350Five members of an obesity club want to know how much they have lost or gained weight since the last time they met. To do this, they carry out a weighing ritual where each one is weighed on ten different scales in order to have a more accurate average of their weight. If there is a positive difference between this average weight and the weight of the last time they met, it means that they gained weight. But if the difference is negative, it means that they lost weight. What the problem requires is that for each person a sign is printed that says "went up" or "under" and the amount of pounds Write a program in c++ using a function. Initial weights 230, 240, 180, 300 and 350. Do not use arrays
- Hepatitis B is an infection of your liver, where it spreads when people come in contact with the blood,open sores, or body fluids of someone who has the hepatitis B virus. Over the years, vaccines havegenerated some controversy over safety, but no convincing evidence of harm has been found. Despitethe fact that children can have a reaction to any vaccine, the important thing to know is that thebenefits of vaccinations far outweigh the possible side effects.Even though the Screening and Immunisation Team in South Africa operate a failsafe system toensure that children born to hepatitis B positive mothers are appropriately vaccinated in a timelyfashion to reduce the risk of them contracting chronic hepatitis B, there are occurrences when a motheris not informed of their child’s next scheduled vaccination.They have approached you as a project manager to develop a mobile app for this purpose. The teamnoted that the app must track routine immunisation, which would be useful for parents.…Correct answer will be upvoted else downvoted. Computer science. Since ceiling fixtures are unique, occasionally they will have a similar shading, yet every so often — unique. Obviously, it looks poor and just irritates Vasya. Thus, at the k-th time when crystal fixtures will light with various tones, Vasya will get extremely upset and, most likely, will fire the individual who purchased crystal fixtures. Your undertaking is to compute the day, when it occurs (counting from the day ceiling fixtures were introduced). You can imagine that Vasya works each day without ends of the week and days off. Input The primary line contains three integers n, m and k (1≤n,m≤500000; 1≤k≤1012) — the number of shadings in the first and the subsequent ceiling fixtures and how often tones ought to contrast to outrage Vasya. The subsequent line contains n various integers artificial intelligence (1≤ai≤2⋅max(n,m)) that portray the primary ceiling fixture's succession of tones. The third…A Python language Programming in Natural Language Many researchers today now use data from Twitter to analyze and predict the future events. Questions such as which place in a country is the happiest one, who will be the next US president and which place has the highest rate of depressed people, sometimes depend on the information extracted from thousands of tweets. In case of predicting the happiest state in the US, NLP experts have a set of words that also contains their rates, respectively. For example, the word “great” may have a rate from a scale of 1 to 10, 10; the word "awesome" may have a rate of 8; the word “sad” may have a rate 1 and so on. By computing the average score of a tweet using this set of words, researchers would now be able to measure and categorize the mood of a tweet depending on a certain threshold. In this problem, you will be an assistant of an NLP expert who will determine the mood of a tweet. The category would be: < 5 is "sad" >= 5 is "happy" Let…