6. Body Mass Index Design a modular program that calculates and displays a person's body mass index (BMI). The BMI is often used to determine whether a person with a sedentary lifestyle is overweight or underweight for his or her height. A person's BMI is calculated with the following formula: (weight in pounds 703) height in inches? (weight in kilograms) height in meters? BMI = BMI =
Q: Q3. (Dice Rolling) Write a program that simulates the rolling of two dice. The program should use…
A: Given:
Q: (Financial application: payroll) Write a program that reads the following infor- mation and prints a…
A: CODE:- # Get the employee's namename = input("Enter employee's name: ")# Get the number of hours…
Q: Language: JAVA Leap-Year Write a program to find if a year is a leap year or not. We generally…
A: import java.io.*;import java.util.*;class LeapYear { public static void main(String args[]) throws…
Q: (Financial application: calculate future investment value) Write a program that reads in an…
A: The program is written in Java. Please find the program in step 2.
Q: Survey Data Analysis Computers are commonly used to compile and analyze the results of surveys and…
A: ***THE BELOW CODE IS IMPLEMENTED IN C BY USING DYNAMIC ARRAY***
Q: 1I. Running the Race Write a program that asks for the names of three runners and the time, in…
A: The given problem is related to Java programming where the user will enter 3 names and 3 times in…
Q: Air Pacific Limited, Fiji's international airline, operates international and domestic services…
A:
Q: (PYTHON) A nutritionist who works for a fitness club helps members by evaluating their diets. As…
A: - We yave to help the nutritionist with the code.
Q: Draw hierarchy charts or flowcharts that depict the programs. Design a hierarchy chart or flowchart…
A: Hierarchy charts or flowchart of given problem:-
Q: C++ Visual 2019 A particular talent competition has five judges, each of whom awards a score…
A: Note: As score can double data type ,so, return type of findLowest() and findHighest() function…
Q: C# (Temperature Conversions) Write a temperature conversion program that converts from Fahrenheit…
A: Program description: The temperature conversion C sharp windows application program that allows…
Q: Financial application: compare loans with various interest rates) Write a program that lets the user…
A: Actually, program is a executable software that runs on a computer.
Q: Description: A calculator simulator code is presented here to be used for basic mathematical…
A: Answer is given below .
Q: 6. Body Mass Index Design a modular program that calculates and displays a person's body mass index…
A: Modular program to calculate body mass index BMI (LANGUAGE USED IS " C ")
Q: Assignment Description This program will simulate part of the game of Yahtzee! This is a dice…
A: Python code: yahtzee.py:
Q: Body Mass BMI) IS offen Used to defermin mether person lifestyle is overweight or underweight for…
A: #include <stdio.h>#include <math.h>int main(){float wt,ht,bmi;int ch;printf("bmi…
Q: V/ This pseudocode segment is intended to compute and display // the average grade of three tests…
A: The program is made up of 3 components called by the primary program. These components are:…
Q: C programming Design a program that will record and display the distance between the rocket and…
A: import java.lang.Math.*; class DistanceBwPoint { public static void main(String arg[]) {…
Q: 2. Loan Repayment' Write a program that helps a loan company determine the payment schedule for…
A: HI THEREI AM ADDING ANSWER BELOWPLEASE GO THROUGH ITTHANK YOU
Q: 5. Design a pseudocode function named getFirstName that asks the user to enter his or her first…
A: for 5th ques your code is given below:
Q: Financial application: investment amount. Suppose you want to deposit a certain amount of money into…
A: import path def investment amt (f,m,r): amt = (math.pow(1+r)),m) print("invest amt:",…
Q: Microsoft Visual Studio C++ 2022 Community IDE Task 3: Write a function to calculate the (compound)…
A: Below I have provided C++ Programming. Also, I have attached the screenshot of the code and output…
Q: 4. (Calory.java) Write a program that asks the user to enter the number of calories and fat grams in…
A: PROGRAM INTRODUCTION: Import the required libraries. Start the definition of the main function.…
Q: 1. Design and implement an application that reads an integer value representing a year input by the…
A:
Q: Fat Gram Calculator Design a program that asks for the number of fat grams and calories in a food…
A: Solution Here is the source code of the program "main.java" // We are import the necessary package…
Q: A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10…
A: A C++ program to display the number of calories consumed for the cookies that he/she ate is given…
Q: Fat Gram Calculator Design a program that asks for the number of fat grams and calories in a food…
A: This program calculates the percentage of calories from fat grams. Number of fat grams and calories…
Q: Function Name: dominosTime() Parameters: N/A Returns: None Description: During the summer, you…
A: Python used to answer this question
Q: Input 1. The age of the Person 2. The gender of the Person Output Enter Person's age: 24 Enter…
A: I have provided C CODE along with CODE SCREENSHOT and 2 OUTPUT SCREENSHOTS-------------
Q: Morgan’s Department Store distributes bonuses to its salespeople after the holiday rush. Table 9-6…
A: import java.util.Scanner;class Test155 { public static void main(String args[]) { Scanner sc = new…
Q: Fat Gram Calculator Design a program that asks for the number of fat grams and calories in a food…
A: Dear Student, As no language is mentioned I am doing it in C++.
Q: C++ Demonstration #3: Create a program that will arrange the values c A, B and C in ascending order…
A: #include <iostream>using namespace std; int main(){ //Sort three numbers. int A =…
Q: Automobile Costs Problem: Design a modular program that asks the user to enter the monthly costs…
A: Here we will use the function to count each expanses.one use for counting monthly and another for…
Q: Car Service Maintenance Create a program for car service maintenance. Based on numbers of months /…
A: Given: Car Service MaintenanceCreate a program for car service maintenance. Based on numbers of…
Q: Assume that gambling Greg often goes to the Dog Racing Track. Greg loves to bet on the puppies. In…
A: #include<stdio.h> #include<limits.h> #include<stdlib.h> #include<time.h>…
Q: Write a program OrderCheck.java that takes four int command-line arguments w, x, y, and z. Define a…
A: A command line arguments are arguments passed at the time of running time of program through the…
Q: Customized step counter Learning Objectives In this lab, you will Create a function to match the…
A: here we are calculating the miles walked based on the number of steps given and the stretch of each…
Q: 6. Body Mass Index Design a modular program that calculates and displays a person's body mass index…
A: According to the question below the solution:
Q: (Health application: BMI) Body Mass Index (BMI) is a measure of health on weight. It can be…
A: Code import java.util.Scanner;public class test{ public static void main(String args[]){…
Q: Problem Description Design a flowchart using Flogorithm, to solve the following problem, then open…
A:
Q: Computer skills (Engineering) Functions Exercise (Parking Charges) A parking garage charges a $2.00…
A: #include<iostream> #include<conio.h> #include<iomanip> using namespace std; int…
Q: (Financial application: payroll) mation and prints a payroll stater Employee's name (e.g., Smith…
A: Code: import java.util.Scanner; public class Main { public static void main(String[] args) {…
Q: TASK 3 (25 points) [Testing: Variables and expression, strings, conditional-statements, loops]…
A:
Q: 7. (Medium) (Financial application: initial deposit amount) Suppose you want to deposit a certain…
A: c++ program #include<math.h>#include <iostream>using namespace std; //driver functionint…
Q: C++ Election Day Write a program that compiles the result of an election. You will read the…
A: PROGRAM: //Header files #include <iostream> #include <string> #include <iomanip>…
Q: Sales Prediction The East Coast sales division of a company generates 58 percent of total sales.…
A: solution: #include <iostream> using namespace std; int main(){double totalSale=8600000;double…
Q: 7. (Medium) (Financial application: initial deposit amount) Suppose you want to deposit a certain…
A: C++ In this program , we just have to enter all values required to calculate initialDepositAmount .…
i uploaded the screenshot
please help me to do pseudocode And do flowchart
should be in c++
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
- Malcolm Movers charges a base rate of $200 per move plus $150 per hour and $2 per mile. Write a program named MoveEstimator that prompts a user for and accepts estimates for the number of hours for a job and the number of miles involved in the move and displays the total moving fee.(Physics) Write an assignment statement to calculate the elapsed time, in minutes, it takes to make a trip. The formula for computing elapsed time is elapsed time = total distance / average speed. Assume the distance is in miles and the average speed is in miles per hour (mph).Salary Calculator Create a program that computes the salary based on an employee's hourly wage and hours worked. Note that employees may work for fractions of an hour, e.g. 1 and a half hours (1.5 hours). Use the following formulas: Less than or equal to 40 hours worked hourly wage * hours worked Over 40, but less than or equal to 65 hours worked (hourly wage * 40) + (hours worked - 40) * (hourly wage * 1.5) Over 65 hours worked (hourly wage * 40) + (hourly wage * 1.5) * 25 + (hours worked - 65) * hourly wage * 2 Also make sure that the hourly wage and hours worked are positive. Otherwise, display the error message: "Invalid input". Please see the sample outputs below to guide the design of your program. main.cc file #include <iomanip> #include <iostream> int main() { // TODO: accept user input to store the hourly wage and hours worked. // Then, include the header file at the top of this file so you can // call your function that computes a…
- C++ Visual 2019 A particular talent competition has five judges, each of whom awards a score between 0 and 10 to each performer. Fractional scores, such as 8.3, are allowed. A performer's final score is determined by dropping the highest and lowest score received, then averaging the three remaining scores. Write a program that uses this method to calculate a contestant's score. It should include the following functions: void getJudgeData() should ask the user for a judge's score, store it in a reference parameter variable, and validate it. This function should be called by main once for each of the five judges. void calcScore() should calculate and display the average of the three scores that remain after dropping the highest and lowest scores the performer received. This function should be called just once by main and should be passed the five scores. The last two functions, described below, should be called by calcScore, which uses the returned information to determine which of the…Assignment Description This program will simulate part of the game of Yahtzee! This is a dice game that involves rolling five dice and scoring points based on what show up on those five dice. The players would record their scores on a score card, and then total them up, and the player with the larger total wins the game. A Yahtzee score card has two portions: The upper portion has spaces for six scores, obtained by adding up all of the 1's, 2's, 3's, etc. The lower portion has special scores for various combinations: Three of a kind -- at least 3 dice are the same number;the score is the sum of all five dice Four of a kind -- at least 4 dice are the same number;the score is the sum of all five dice Small straight -- four consecutive numbers are represented, e.g. 2345;the score is 25 points Large straight -- five consecutive numbers are represented, e.g. 23456;the score is 30 points Full House -- three of one kind, two of another; the score is 30 points Yahtzee! -- five of a kind; the…(Rounding Numbers) Function floor can be used to round a number to a specific decimal place. The statementy = floor(x * 10 + 0.5) / 10;rounds x to the tenths position (the first position to the right of the decimal point). The statementy = floor(x * 100 + 0.5) / 100;rounds x to the hundredths position (the second position to the right of the decimal point). Write a program that defines fourfunctions to round a number x in various ways:A. roundToInteger(number)B. roundToTenths(number)C. roundToHundredths(number)D. roundToThousandths(number)For each value read, your program should print the original value, the number rounded to the nearest integer, the number rounded to the nearest tenth, the number rounded to the nearest hundredth and the number rounded to the nearest thousandth.
- C++ Angle Calculator Write a program that asks the user for an angle, entered in radians. The program should then display the sine, cosine, and tangent of the angle. (Use sin, cos, and tan library functions to determine these values.) The output should be displayed in fixed-point notation, rounded to four decimal places of precision.C programming Design a program that will record and display the distance between the rocket and the asteroids. Problem description The rocket is traveling through space. Each asteroid has (x, y, z) position in space, where x, y, and z are the distances in kilometers from the rocket which is at 0,0,0. It will read a file asteroids.txt that represents the ID and location of each asteroid. The distance between the rocket and each asteroid is calculated based on the asteroid’s X, Y, Z position using the following formula. √(x2+y2+z2) This program must be secure. The user puts their name and password, if both match the list you have in a text file on the disk (ID.txt), then the user gets access to the program. The program should allow 3 tries for name and password entry, if unsuccessful after 3 tries the program should print a message and terminate. Program Input -The name and password of the user. - A file called ID.txt which contains names and passwords. Example below: John 11234…1. Retail Price CalculatorWrite an application that accepts from the user the wholesale cost of an item and its markup percentage. (For example, if an item’s wholesale cost is $5 and its retail price is $10, then the markup is 100%.)The program should contain a function named CalculateRetail that receives the wholesale cost and markup percentage as arguments, and returns the retail price of the item. The application’s form should look something like the one shown in Figure 6-22.
- Automobile Costs Problem:Design a modular program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobile: loan payment, insurance, gas, oil, tires, and maintenance. The program should then display the total monthly cost of these expenses, and the total annual cost of these expenses.C programming language *include comments Inside the main function write code that estimates the temperature in a freezer (in °C) given the elapsed time (hours) since a power failure. Assume this temperature (?) is given by? =4?2? + 2− 20where ? is the time since the power failure. The program should prompt the user to enter how long it has been since the start of the power failure in hours and minutes. Note that you will need to convert the elapsed time into hours. Example. If the user enters 3 for hours and 30 minutes, this would need to be converted into 3.5 hoursPhython assignment Exercise 1: Oreo cookies Check out the nutritional values of an Oreo cookie (Koppelingen naar een externe site.). Write code that does the following: calculate how much one Oreo cookie is concerning: calories, sodium, carbohydrate, fat create a user input that asks how much cookies you ate calculate how much calories, etc. you consumed warn the user that if he/she surpasses 2000kcal he/she should stop eating these darn delicious cookies use variables!