BMI Calculator Create a C program that will compute for the body-mass index of a given height and weight. After calculating the BMI, the program willl also tell under which category(underweight, normal weight, overweight,or obese) it belongs to. The user will be given two (2) choices before entering the height and weight. The menu must loop repeatedly until the exit option is entered. a. Enter in kilogram and centimeters - This will ask for the weight in kilograms and height in centimeters. b. Enter in pounds and feet - This will ask for the weight in pounds and height in feet. c. Exit Once chosen, the program must terminate.
Q: Activity Output 1. Create a program that will calculate the area of a given (chosen) shape using…
A: According to the information given:- We have to create an Area calculator wit featuring to the…
Q: Air Pacific Limited, Fiji's international airline, operates international and domestic services…
A:
Q: Java VENDING MACHINE Write a program that simulates a vending machine. The program should display a…
A: Java Programming refers to the object oriented programming languages that are used to develop the…
Q: F &B Fast-Food Restaurant offers three types of menu. Each customer can make an order based on the…
A: Use an infinite loop and prompt for user choice and if input is X, we will exit for day and print…
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: LAB ASSIGNMENTS, CONT. • sandwich.py – follow the instructions below. You may adjust the food items…
A: The python code for the Sandwich maker problem: import pyinputplus as pyip bread_type =…
Q: **using C# and Visual Studio design a program to satisfy the below problem** Create an application…
A: using System; class GuessGame { static int getRandom(){ Random random = new Random(); return…
Q: Q1: Write C program to display the below menu and act depending on the user choice. ******* Geometry…
A: Aim: C program to find the area of circle or volume of a sphere.
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: Party-On sells individual hot/cold cups and dessert plates for parties. SueChen wants a program that…
A: The Party-On sells individual dessert plates and hot/cold cups for the parties. Create a program to,…
Q: Part E: Scholarship You are applying for a scholarship. In order to qualify, you need to have at…
A: print("What is your SAT score?")sat=float(input())print("What is your GPA?")gpa=float(input()) #if…
Q: Theater Ticket System: A small ten-seat theater has contracted you to build software which will…
A: Theater Ticket System: A small ten-seat theater has contracted you to build software which will…
Q: Airline Reservation System A small airline has just purchased a computer for its new automated…
A: NOTE: Here student did not mention any programming language. So, here i am using c language to…
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: Visual Studio 2017 Using C#. How to write this in C#. The problem is : A software company sells a…
A: Answer:
Q: User defined Function: Return Value . ... MENU 4. Create a program compute the area of the following…
A: Below is the code in C++ as language not specified and sample output:
Q: FILENAME: SURNAME_CONTROL STRUCTURES USING SWITCH-CASE Case Problem Ask the user to select an item…
A: Given: To implement a menu driven program. switch the item code and calculate and display details…
Q: Comm Target Outcome: (CO2) Write algorithms to solve different programming problems using flowchart…
A: Here we make simple flow chart:===================================================================
Q: Simple Arithmetic Calculator Create a program that would accept two input numbers then display the…
A: txt = "ARITHMATIC CALCULATOR"x = txt.center(40)print(x)txt = "MAIN MENU"x = txt.center(40)print(x) #…
Q: 23. Geometry Calculator Write a program that displays the following menu: Geometry Calculator 1.…
A: We need to write a program to calculate the area for circle, rectangle, and triangle. As the…
Q: IPO Chart/ Flow Chart/Pseudocode Write a guessing game where the user has to guess a secret number.…
A: Input Process Output Guess Repeat the below process: Increment Count If Guess<Number…
Q: Using control statements, write a program that gives the user the option of selecting one of the…
A: Source Code: #include <iostream>using namespace std; int main(){int choice; // printing the…
Q: Airline Reservations System A small airline has just purchased a computer for its new automated…
A: Your program should display the following menu of alternatives:Please type 1 for "first class"Please…
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: oblem: Calculate movie charges for each customer attending a movie, use a sentinel value, -1, to…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it in…
Q: / MovieGuide.cpp - This program allows each theater patron to enter a value from 0 to 4 //…
A: #include <iostream> #include <string> using namespace std; int main() { // Declare…
Q: Theater Ticket System: A small ten-seat theater has contracted you to build software which will…
A: Theater Ticket System: A small ten-seat theater has contracted you to build software which will…
Q: C# Programming For every 10 pounds of body weight, the dose of Fixucycline increases by 5 mg.…
A: Solution:
Q: Case1: Write a menu driven program that allows you to visit cities of oman in random order with…
A: Answer: our guidelines is answer the first question form the first question so I have written code…
Q: Salary Calculator Develop a program that will determine the gross pay for each of several employees.…
A: logic:- use a infinite loop , while loop read number of hours(-1 to end) if hours==-1 break…
Q: Dev C++ PROGRAM – DEFINED FUNCTION Instructions: Use conditional structure or if else • Once the…
A: I give the code in C++(as per your requirements) along with code screenshots and output screenshots.
Q: SThis program allows the user to choose various geometry caleulations from a menu. elif choice =…
A: Note: Follow proper indentation while executing the code as specified in the snapshot. Code was…
Q: Part 3: First-In-First-Out (FIFO) Create a program that will simulate a First-In-First-Out process…
A: FIFО stаnds fоr “First-In, First-Оut”. It is а methоd used fоr соst flоw аssumрtiоn…
Q: 5. Falling Distance determine the distance the object falls in a specific time period: 1 d = The…
A: iterate from i=1 to i<=10 FallingDistance(i) end loop Define function fallingDistance(int…
Q: 1. Create a class menu-driven automatic teller program in which the user's bank balance is…
A: The code is written below: import java.util.Scanner; class Main{ public static void main…
Q: *using C# and Visual Studio design a program to satisfy the below problem** Create an application…
A: using System;class HelloWorld { static void Main() { Random random = new Random(); int n =…
Q: c++ program create a program that will ask the user to accept the total tuition fee of the student.…
A: - We need to code the tution fee calculation in C++.
Q: C Program for a menu based program that uses a switch-case statement to include the following…
A: Program: #include <stdio.h> #include <ctype.h> #include <stdlib.h> //Menu…
Q: A. First and Last Design a program that asks the user for a series of names (in no particular…
A: Answer: Here is the python Code : END = "END"#creating a list to store the namesls = []#prompt…
Q: MUST BE IN PYTHON PROGRAMMING CODE!!!!! NO C++ or Java!! Directions: Design a program with a loop…
A: Algorithm : Enter name from user Set fast and last to name Take while loop to continuously take…
Q: Project Name: Activity_3rdqtr activity_02 Class Name: • Create a Java program using while loop to…
A: Step-1: Start Step-2: Declare a variable celsius and initialize with 5 Step-3: Declare a variable…
Q: I. Pay Increase (Nr 8, Page 357) At one college the compensation for a full-time teacher is $60,000…
A: FORM DESIGN:
Q: End statement is used to ends the execution and exit from the application.
A: End statement is used to ends the execution and exit from the application true false in the…
Q: Snack bar menu Write a program in phyton that allows the user to choose from the following menu…
A: The question asks for building a program giving user a set of menus to choose from. Based on the…
Q: Q3. Write a C program that displays the menu shown in the example run, to the user, with the…
A: C-programming is a general-purpose,procedural,imperative computer programming language.
Q: reate a change-counting game that gets the user to enter the number of coins required to make…
A: Required: C++ Visual 2019 Create a change-counting game that gets the user to enter the number of…
Q: te a JAVA PROGRAM as a Currency Converter program. The program performs Currency Exchange operation…
A: I have the code below:
Q: Casel: Write a menu driven program that allows you to visit cities of man in random order with…
A: Given: Casel: Write a menu driven program that allows you to visit cities ofman in random order with…
Q: Use C Language Airline Reservation System A small airline has just purchased a computer for its…
A: Answer :
Q: First and Last Design a program that asks the user for a series of names (in no particular order).…
A: The, code has given below:
C
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
- Small airline has purchased a computer for its new automated reservationsystem. You have been asked to program the new system. You are to write a program in c++ to assign seats to each flight of the airline’s only plane havingcapacity of 10 seats. Your program should display the following menu ofalternatives--Please type 1 for smoking and Please type 2 for non-smoking. If a person enters 1 your program should assign seat in smokingsection (1-5). If a person enters 2, your program should assign seat in non-smoking section (1-6). Your program should print the boarding passindicating person’s seat number whether he/she has been allocated insmoking or non-smoking section of the plane. Use single subscripted array(1D array) to represent the seating chart of the plane. At start of programinitialize the array to 0 indicating all the seats are empty. As each seat isassigned, set the corresponding elements of the array to 1 to indicate thatseat is not available.Your program should never…Write a program that gives simple math quizzes. The program should display two random numbers. An example of how the numbers would be displayed is shown below247 + 129 If the answer is correct, a message of congratulations should be displayed. If the answer is incorrect, a message showing the correct answer should be displayed. The program should allow the student to enter the answer. Make the program a menu driven program. Meaning the program is to display a list of options to the user to choose from Main menu ------------- 1) Add random numbers 2) Subtract random numbers 3) ExitCasel: Write a menu driven program that allows you to visit cities ofman in random order with following options.1: Visit a city2: Go to previous city3: Quit theprogramWhen user presses 1: program asks user to enter the city name, andthen display that the city has been visited. Please note user can visit acity any number of timesWhen user presses 2: Program takes you back to the previous cityWhen user presses 3: Program terminatesSee the below example how program interacts with the user:C:> 1: Visit a cityprogramEnter your choice2: Go to previous city3: Quit thePlease enter a city to visit.MuscatYou are in Muscat now.Enter your choice.1: Visit a city2: Go to previous cityPlease enter a city to visit.IbraYou are in Ibra noW.Enter your choice.1: Visit a city2: Go to previous cityPlease enter a city to visit.SoharYou are in Sohar now.Enter your choice.1: Visit a city2You are in Ibra now.2: Go to previous cityEnter your choice.1: Visit a city2: Go to previous cityPlease enter a city to…
- Part 1 Tom has recently started a plant-selling business, and he offers three different types of plants, namely Monstera, Philodendron, and Hoya. Each pot costs $11.50, $13.75, and $10.99, respectively, and there are 20 pots available for each plant. To minimize the workload of his employees, Tom requires a C++ program for online shopping. The program will exhibit a menu with all the available plant types. The customers can choose the plant type by entering the first letter of the plant's name (M or m for Monstera, P or p for Philodendron, and H or h for Hoya), followed by the quantity they want to buy. If the amount of pots requested exceeds the available pots, the program will display an apology message. The customers can select multiple plant types and quantities until they are ready to pay. Once they are done, the program will add a 12% tax to the total amount and display it with three decimal places. Finally, the program will print a thank you message. The program will not accept…Part 1 Tom has recently started a plant-selling business, and he offers three different types of plants, namely Monstera, Philodendron, and Hoya. Each pot costs $11.50, $13.75, and $10.99, respectively, and there are 20 pots available for each plant. To minimize the workload of his employees, Tom requires a C++ program for online shopping. The program will exhibit a menu with all the available plant types. The customers can choose the plant type by entering the first letter of the plant's name (M or m for Monstera, P or p for Philodendron, and H or h for Hoya), followed by the quantity they want to buy. If the amount of pots requested exceeds the available pots, the program will display an apology message. The customers can select multiple plant types and quantities until they are ready to pay. Once they are done, the program will add a 12% tax to the total amount and display it with three decimal places. Finally, the program will print a thank you message. The program will not accept…Part 1 Tom has recently started a plant-selling business, and he offers three different types of plants, namely Monstera, Philodendron, and Hoya. Each pot costs $11.50, $13.75, and $10.99, respectively, and there are 20 pots available for each plant. To minimize the workload of his employees, Tom requires a C++ program for online shopping. The program will exhibit a menu with all the available plant types. The customers can choose the plant type by entering the first letter of the plant's name (M or m for Monstera, P or p for Philodendron, and H or h for Hoya), followed by the quantity they want to buy. If the amount of pots requested exceeds the available pots, the program will display an apology message. The customers can select multiple plant types and quantities until they are ready to pay. Once they are done, the program will add a 12% tax to the total amount and display it with three decimal places. Finally, the program will print a thank you message. The program will not accept…
- Part 1 Tom has recently started a plant-selling business, and he offers three different types of plants, namely Monstera, Philodendron, and Hoya. Each pot costs $11.50, $13.75, and $10.99, respectively, and there are 20 pots available for each plant. To minimize the workload of his employees, Tom requires a C++ program for online shopping. The program will exhibit a menu with all the available plant types. The customers can choose the plant type by entering the first letter of the plant's name (M or m for Monstera, P or p for Philodendron, and H or h for Hoya), followed by the quantity they want to buy. If the amount of pots requested exceeds the available pots, the program will display an apology message. The customers can select multiple plant types and quantities until they are ready to pay. Once they are done, the program will add a 12% tax to the total amount and display it with three decimal places. Finally, the program will print a thank you message. The program will not accept…Part 1 Tom has recently started a plant-selling business, and he offers three different types of plants, namely Monstera, Philodendron, and Hoya. Each pot costs $11.50, $13.75, and $10.99, respectively, and there are 20 pots available for each plant. To minimize the workload of his employees, Tom requires a C++ program for online shopping. The program will exhibit a menu with all the available plant types. The customers can choose the plant type by entering the first letter of the plant's name (M or m for Monstera, P or p for Philodendron, and H or h for Hoya), followed by the quantity they want to buy. If the amount of pots requested exceeds the available pots, the program will display an apology message. The customers can select multiple plant types and quantities until they are ready to pay. Once they are done, the program will add a 12% tax to the total amount and display it with three decimal places. Finally, the program will print a thank you message. The program will not accept…Part 1 Tom has recently started a plant-selling business, and he offers three different types of plants, namely Monstera, Philodendron, and Hoya. Each pot costs $11.50, $13.75, and $10.99, respectively, and there are 20 pots available for each plant. To minimize the workload of his employees, Tom requires a C++ program for online shopping. The program will exhibit a menu with all the available plant types. The customers can choose the plant type by entering the first letter of the plant's name (M or m for Monstera, P or p for Philodendron, and H or h for Hoya), followed by the quantity they want to buy. If the amount of pots requested exceeds the available pots, the program will display an apology message. The customers can select multiple plant types and quantities until they are ready to pay. Once they are done, the program will add a 12% tax to the total amount and display it with three decimal places. Finally, the program will print a thank you message. The program will not accept…
- Snack bar menu Write a program in phyton that allows the user to choose from the following menu untilhe/she chooses to exit. The program should keep a running total of the chargesand then add 6% sales tax to calculate the final bill. Display the total to theuser.1) Personal Pizza $6.002) Pretzel $2.503) Chips $1.254) Hot Dog $3.755) ExitInput validation: The user must choose 1 - 5 from the menu.Example Output:Welcome to Yum Yum Snack Bar!Please choose from the following menu:1) Personal Pizza $6.002) Pretzel $2.503) Chips $1.254) Hot Dog $3.755) ExitEnter your choice here: 1Current total: $6.00Please choose from the following menu:1) Personal Pizza $6.002) Pretzel $2.503) Chips $1.254) Hot Dog $3.755) ExitEnter your choice here: 3Current total: $7.25Please choose from the following menu:1) Personal Pizza $6.002) Pretzel $2.503) Chips $1.254) Hot Dog $3.755) ExitEnter your choice here: 8Invalid choice. Must choose 1 – 5. Try again.Please choose from the following menu:1) Personal Pizza…in the programming language swift: I need to make convienent store inventory program. it will have five items: chips....1.99 chocolate...3.39 hot dog...2.89 pizza..3.85 gas...2.15 a gallon The main screen should be the option list. Once selected the system should ask for which item and how many. The system needs to ask the user if they want more items. After all the items are entered, it should calculate everything. Then it needs to add tax at 9.2 percent. Add everything together. then the system should ask for cash, enter an amount and show the change.In C++ Create a program that does the following: A menu with Registration of Student with his subject and four grades and Calculate the average per student. Its fine if you dont include "idStudent" or "identification", and its not necessary to use 4 grades, at a minimum it can be 2. Please and thank you, I would like to see how experts aproach this code and it will help me alot to learn about menus. UML Diagram Student idAStudent name idSubject Student::Student() Student::Student(int,string,int) getIdStudent():int getname():string getIdSubject():void setIdStudent(int):int setname(string):void setIdSubject(int):int Grade idGrade Name Grade1 Grade2 Grade3 Grade4 Grade::Grade() Grade::Grade(int,string,int,int,int,int) getIdGrade():int getname():string setidGrade(int):void setname(string):void getgrade1():int getgrade2():int getgrade3():int getgrade4():int…