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
- Direction: Perform what is asked below. CASE: Due to the present situation that we are facing, which is the pandemic, the government decided to limit the type of rice the consumer can purchase to one. With your help as a programmer, the government ask you to create such program. The program should be able to display the menu as displayed below. The user will be allowed to enter the choice, quantity in kilo grams (kg) and payment amount. The program should also be able to output the total amount due and the change. Organize your algorithm in such a way that it is logically correct, usable and functional. RICE MENU [1] Denorado [2] [3] Jasmine [4] NFA [5] Malagkit Senandomeng Organic Brown Rice P55/kg P47 /kg P58/kg P38 /kg P70/kg P120/kg8. Write a program: a menu-driven automatic teller program in which the user's bank balance is initialized to 2000 USD. The user should be allowed to perform as many transactions as he or she wishes from the menu. 1. Deposit 2. Withdrawal 3.See Balance 4.Exit For the withdrawal option, the user should be prompted to select from the choices $50, S100, S200, and S500 (do not allow the user to over draw). After each transaction, the program should print the current balance.Casel: 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…
- You are going to create a simple calculator. 1. The program should call a function to display a menu of three options: a. 1-Integer Math b. 2-Double Math c. 3- Exit Program 2. The program must test that the user enters in a valid menu option. If they do not, the program must display an error message and allow the user to reenter the selection. Once valid, the function must retum the option selected. 3. If the user selects 1 or 2, the program should allow the user to enter in any two numbers. a. The program must create 5 functions called add, subtract, multiply, divide and mod. These functions must take two integers as arguments and retum an integer to the calling function. Each function performs the appropriate mathematical task. b. The program must create 4 functions called add, subtract, multiply and divide. These functions must take two doubles as pass by value parameters and one double as a pass by reference variables. The function does the calculation and scts the reference…menu(): Takes no inputs and does not return a value. It prints the two options available to the user and asks them to enter a number corresponding to their desired option. It then asks the user for the required inputs and then calls the appropriate function and prints the return value with an appropriate message (see below). If the user enters a number corresponding to an invalid option, Invalid choice. should be printed and the program should end. When the program ends, Have a nice day! should be printed to the user. If the user asks the program to solve an equation, then the program should ask the user to type in the equation (without spaces). If a solution is found, then print Solution found: followed by the solution as a list. If no solution was found, print No solution found. If the user asks the program to create an equation, then the program should ask the user to enter the number of tries, length of the equation and percentage for a number to have additional digits. If an…A program is needed to manage sales of Super Bowl souvenir t-shirts. There are three types of shirts that we are selling: Chiefs t-shirts Eagles t-shirts Super Bowl t-shirts The t-shirts are all priced at $40 each without any customization. Input: Your program is to display a menu listing each type of shirt. It should then prompt the user for the number of Chiefs t-shirts they would like to order. After the number of Chiefs t-shirts has been entered (which may be 0), if the number was greater than 0, we will ask if they need to add lettering to the shirt (costs 1 dollar per printed letter) the program should continue displaying a prompt and reading the number to order for the other two types of t-shirts in the same way. The program also needs to keep track of the customer name and mailing address. Prompt and read the customer’s name, street address, city, state, and zip code.
- Case1: Write a menu driven program that allows you to visit cities of oman in random order with following options. 1: Visit a city 2: Go to previous city 3: Quit the program When user presses 1: program asks user to enter the city name, and then display that the city has been visited. Please note user can visit a city any number of times When user presses 2: Program takes you back to the previous city When user presses 3: Program terminates See the below example how program interacts with the user: C:> 1: Visit a city2: Go to previous city3: Quit the program Enter your choice … 1 Please enter a city to visit.. Muscat You are in Muscat now… Enter your choice... 1: Visit a city2: Go to previous city3: Quit the program 1 Please enter a city to visit.. Ibra You are in Ibra now… Enter your choice... 1: Visit a city2: Go to previous city3: Quit the program 1 Please enter a city to visit.. Sohar You are in Sohar now… Enter your choice... 1: Visit a city2: Go to…The condition that controls a Do While loop must be true for the loop to be executed. Checkboxes are used in designing the user interface for situations where the user may choose only one of a few choices. Boolean variables are often used to improve the readability / clarity of the program code. For Next loops can have both negative and positive step values. If no item has been selected in a listbox, the SelectedIndex property of the listbox will have a value of zero. A Boolean variable must be initialized after the If instruction in which it is used is executed. A post-test loop is a loop that is designed to be executed at least once. In coding a Select Case instruction, the only thing that may appear after the Select Case keywords is a variable. A Do loop begins with the keyword Do and ends with the keyword Loop. The condition that controls a Do Until loop must be true for the loop to be executed. Radio buttons are used in designing the user interface for situations where the user…A program is needed to manage sales of Super Bowl souvenir t-shirts. There are three types of shirts that we are selling: Chiefs t-shirts Eagles t-shirts Super Bowl t-shirts The t-shirts are all priced at $40 each without any customization. Input: Your program is to display a menu listing each type of shirt. It should then prompt the user for the number of Chiefs t-shirts they would like to order. After the number of Chiefs t-shirts has been entered (which may be 0), if the number was greater than 0, we will ask if they need to add lettering to the shirt (costs 1 dollar per printed letter) the program should continue displaying a prompt and reading the number to order for the other two types of t-shirts in the same way. The program also needs to keep track of the customer name and mailing address. Prompt and read the customer’s name, street address, city, state, and zip code. (learning in java)
- Design a program that displays the following menu: IN QBASIC LANGUAGE QBASIC Select a Language and I Will Say Good Morning1. English2. Italian3. Spanish4. German5. End the ProgramEnter your selection.If the user selects item 1, the program should display “Good morning.” If the user selects item 2, the program should display “Buongiorno.” If the user selects item 3, the program should display “Buenos dias.” If the user selects item 4, the program should display “Guten morgen.” If the user selects item 5, the program should end.Chapter 11 Menu-Driven Programs Programming Exercises 1, Language Translator Design a program that displays the following menu: Select a Language and I Will Say Good Morning 1. English 2. Italian 3. Spanish 4. German 5. End the Program Enter your selection. dhotete The Language Pansiator Problem If the user selects item 1, the program should display "Good morning." If the user selects item 2, the program should dieplav "Buongiorno." If the user selects item 3, the program should display "Buenus s." If the user selects item 4, the program should display "Guten morgen."If the aser selects item 5, the program should en 66 66 CC 99Hands-On Activity 4-4 BuzzButtons is a novelty item company manufacturing personalized lapel buttons that buzz randomly. The buttons are marketed as a conversation starter, and the company's slogan is "It starts the buzz!" The owner is promoting his buttons by offering them at 99 cents each. He wants you to design a program asking the user for his or her name for the button, an e-mail address, and the number of buttons to order. The program should then add a 6% sales tax and a flat shipping rate of $2.00. The program displays the information the user enters as well as the button price total, sales tax amount, shipping amount, and order total. The company contacts the user by e-mail later for shipping address information. Using pseudocode, design an algorithm that asks the user for the number of fixed-price items to order, adds sales tax and flat-rate ship- ping, and displays the result. Save your pseudocode file in Notepad as buzzButtons.txt.