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: (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: PYTHON PROGRAMMING A retail company assigns a $5000 store bonus if monthly sales are more than…
A: Introduction PYTHON PROGRAMMING A retail company assigns a $5000 store bonus if monthly sales are…
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: 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# (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: Directions: Create a calculator that has functions than arithmetic operations e.g. scientific…
A: import java.util.Scanner; import java.lang.Math;class Calc { public static void…
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: 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: 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: Summary During each summer, John and Jessica grow vegetables in their backyard and buy seeds and…
A: The logic errors in the program are: The formula for the price of the fertilizer per pound where…
Q: In the sport of diving, seven judges award a score between 0 and 10, where each score may be a…
A: Diving scores use a range from one to 10, in ½-point increments. The score of each dive is…
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: 10. Future Value Suppose you have a certain amount of money in a savinggs account that earns com-…
A: Required:
Q: Design a program that calculate your age and displays the following information • Your name • Your…
A: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.…
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: 1. Design and implement an application that reads an integer value representing a year input by the…
A:
Q: (Financial application: calculate interest) If you know the balance and the annual percentage…
A: PROGRAM CODE: #include <iostream> // include header file for input output…
Q: 1) Pseudo code algorithm 2) JAVA program ( IntelliJ ) The Meteorological service requires a…
A: Initialize variables, rainfallLevel <-- 0, currMax <-- 0, currMin <-- 9999, currAvg <--…
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: 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: 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: Problem Statement: Design a program that will determine the winner in the last…
A: #include <bits/stdc++.h>using namespace std; class candidate{ public: string name; int…
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: Question Print Daily Company (PDC) needs a program that displays weekly salary. PDC has five…
A: Code with the OOP approach in JAVA is given below along with output
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: You are assigned as programmer in a company, you notice that the employee salary is always delay due…
A: class Employee{ private: char name; int id, hourly_pay_rate,hours_worked, net_pay, gross_pay, SSS,…
Q: uring each summer, John and Jessica grow vegetables in their backyard and buy seeds and fertilizer…
A: Required: During each summer, John and Jessica grow vegetables in their backyard and buy seeds and…
Q: 8. Property Tax A county collects property taxes on the assessment value of property, which is 0u…
A: Since here, no programming language is specified. So, we are providing a solution in C++. The…
Q: Programming Assignment: Car Repair For this programming assignment, create a car repair program that…
A: PROGRAM: //Header file #include<iostream> #include<iomanip> using namespace std;…
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: 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: 1. Retail Price Calculator Write an application that accepts from the user the wholesale cost of an…
A: The code and the output are given below:
Q: The Barking Lot is a dog day care center. Design a flowehart or pseudocode for the following: . A…
A: Pseudo code is used to write an algorithm in normal english language without using the manual or…
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…
i attached the image
please do pseudocode
and flowchart
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 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!