Financial application: calculate tips) Write a program that reads the subtotal and the gratuity rate, then computes the gratuity and total. For example, if the user enters 10 for subtotal and 15% for gratuity rate, the program displays $1.5 as gratuity and $11.5 as total. please take screenshots of the stops
Q: (Calculating the Product of Odd Integers) Write an application that calculates the product of the…
A: PROGRAM CODE: class Main{ public static void main(String args[]) { int a=1; for(int…
Q: 1. Sum of Numbers Create an application that displays a form similar to the one shown in Figure…
A: vb code is an given below : Public Class Form1 Private Sub Button1_Click(ByVal sender As…
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: Beginner Level coding There are two main systems for measuring distance, weight and temperature,…
A: Required: code program that shows the following menu options and lets the user to convert from…
Q: (Financial application: calculate tips) Write a program that reads the subtotal and the gratuity…
A: Actually, Java is a general-purpose also class-based, object-oriented programming language designed…
Q: 1.Balloon Emporium sells both latex and Mylar balloons. The store owner wants a pro-gram that allows…
A: Answer:-
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: (Geometry: area of a regular polygon) A regular polygon is an n-sided polygon in which all sides are…
A: import java.util.Scanner; public class AreaOfAregularPolygon4_5 { public static void main…
Q: visual basics console application.
A: For loop in visual basic For loop is a looping statement that executes a piece of code (or block of…
Q: Description Write a program that asks the user to enter an amount of money in the format of dollars…
A: Program: # Asking for a dollar and cent amount from the user # Prompting a message to enter a amount…
Q: (Financial application: compare loans with various interest rates) Write a program that lets the…
A: PROGRAM CODE: import java.util.Scanner; public class Main { public static void main(String[] args) {…
Q: Complete the loop so that it displays all mountains that are over 15000 feet. The blank ____ on…
A: Given a swift program, to fill in the blank in the code to display all mountains that are over 15000…
Q: The program should randomly generates a number 0, 1, or 2 representing scissor, rock, and paper.…
A: As no programming language is mentioned, it is solved using Java
Q: 1- Get a number from user. 2- If the number is not divisible by 5 then find out how much more you…
A: Summary: In this question, we have to write a program in C++. In the program, we have to take a…
Q: tery The program prompts the user to enter a three-digit number and determines whether the user wins…
A: #code.py from random import randint lottery = str(randint(100, 999)) count = 0 user = input("enter a…
Q: Area Calculator: Prompt the user to enter two choices 1 or 2. If user enters 1 then ask him for…
A: Write a C++ program which calculates area of square or rectangle depending upon choice of user. If…
Q: 2) Write pseudocode that performs the following: Ask a user to enter a number. If the number is…
A: Declare Number as integer Accept Number from user if number >=0 and number <=10 then print…
Q: Q1: b- write a visual basic program that uses a procedure to find how many numbers between N numbers…
A: We need to first read a number (N) and then we need to use the procedure to compute the remainder of…
Q: Grade Point Average- GPA calculator: Write a program that asks the user to enter his letter grade in…
A: //Program to calculate GPA
Q: Programming Language: PHP 1. Create a program using if, ifelse, else statement that will ask the…
A: 1. Write a PHP program that takes two numbers as input and display the result using the following…
Q: (Guess the Number Game) Write a program that plays “guess the number” as follows: Your program…
A: A TextBox should be used to input the Number to TextBox1 input the guess. to TextBox2…
Q: Write a Python program (Console and GUI) that predicts the approximate size of a population of…
A: n = int(input("Starting number of organisms: "))p = float(input("Average daily increase: "))days =…
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: 11. Circuit Board Profit An electronics company sells circuit boards at a 40 percent profit. If you…
A: Java program to find the profit on the circuit board. The profit is 40 percent on selling a circuit…
Q: 3. Roman Numerals . Write a program that displays the Roman numeral version of a decimal number…
A:
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: PYTHON programming solotion Develop a program that allows the user to enter a start value of 1 to…
A: I have provided PYTHON CODE along with CODE SCREENSHOT and OUTPUT…
Q: (Check the speed) Write a program that prompts the user to enter the speed of a vehicle. If speed is…
A: C++ program is given below:
Q: (Display the day and remaining hours) Write a program that prompts the user to enter the day number…
A: Given:- (Display the day and remaining hours) Write a program that prompts the user to enter the day…
Q: Design In Visual Basic a form and write a code to find the largest value of N numbers using Do While…
A: Visual Basic windows form application to find the largest of N values using a while loop. Design the…
Q: Savings Account The following steps calculate the balance at the end of three years when $100 is…
A: Hi. Let's move on to the code in the next step. I have included explanation in comments in the…
Q: QUESTION5: The Speed of Sound. The following table shows the approximate speed of sound in air,…
A: PROGRAM CODE: #include <iostream> // include header file for input output…
Q: atures of the water. The formula to compute the energy is Q = M * (finalTemperature –…
A: Code: import java.util.Scanner; public class Main { public static void main(String[] args) {…
Q: Number Guessing Game. The program will generate a random number from 1 to 1000. The player will be…
A: EXPLANATION: The program code is working as required. The Newnum() function generates the random…
Q: (Find the number of days in a month) Write a program that prompts the user to enter the month and…
A: Actually, program is a executable software that runs on a computer.
Q: An online retailer sells five products whose retail prices are as follows: Product 1, $2.98; product…
A: Q: Code the given problem. (Language used: C++)
Q: Write a program that prompts the user to enter a three-digit integer and determines whether it is a…
A: import java.util.*; public class PalindromeIntegerQuestion12 { public static void…
Q: Geometry: distance of two points) Write a program that prompts the user to enter two points (x1,…
A: C++, programming language can be used to perform the task efficiently. It is a multi purpose, multi…
Q: (Scissor-Rock-Paper game). (A scissor can cut a paper, a rock can knock a scissor, and a paper can…
A: Program code: //import the required packagesimport java.util.Scanner;//define class Mainpublic class…
Q: Create IPO chart, flowchart and pseudocode for a program that prints all prime numbers
A: First of all you need to know What is a prime number? A Prime Number is a number which is only…
Q: write a program that asks the user to enter the number of packages purchased. the program should…
A: Initially, the package is of $99 If you buy less than 10, no discount If you buy 10-19, the discount…
Q: Irite a program that prompts the user to input an integer between 0 and 35. If the number is less…
A: #include <iostream>#include <iomanip> Below is the code for a given requirement using…
Q: (Financial application: calculate future investment value) Write a program that reads in an…
A: Convert the interest rate from annual interest rate to monthly interest rate
Q: 1-Write a program that will ask the user to enter an integer number and display the (even and…
A: here in this question we have asked to write a program which take an input integer and based on this…
Q: (Dice Rolling) Write a program that simulates the rolling of two dice. The program should use rand…
A: #include <stdio.h>#include <stdlib.h>#include <time.h> int main() {…
Q: 5. Write the pseudocode that performs the following: Ask a user to enter a number. If the number is…
A: Required:
Q: flowcharts Task 1: Find the even multiples of any number chosen by the user in a given range – the…
A: the question asks given a number and a range we need to print the multiple of that numbers which are…
Q: (Slope of a line) Write a program that prompts the user to enter the coordinates of two points (x1,…
A: Here is the Python program: x1 = float(input("Enter the x-coordinate for point1: "))y1 =…
Q: (Fraction calculator) | Write a program that lets the user perform arithmetic operations on…
A: Program code: //include the required header files #include<iostream> using namespace std;…
Financial application: calculate tips) Write a program that reads the subtotal and the gratuity rate, then computes the gratuity and total. For example, if the user enters 10 for subtotal and 15% for gratuity rate, the program displays $1.5 as gratuity and $11.5 as total.
please take screenshots of the stops.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
- 20. Random Number Guessing GameWrite a program that generates a random number in the range of 1 through 100, and asks the user to guess what the number is. If the user’s guess is higher than the random number, the program should display “Too high, try again.” If the user’s guess is lower than the random number, the program should display “Too low, try again.” If the user guesses the number, the application should congratulate the user and generate a new random number so the game can start over.Optional Enhancement: Enhance the game so it keeps count of the number of guesses that the user makes. When the user correctly guesses the random number, the program should display the number of guesses. USE RAPTOR PROGRAMPercentage of vehicles: Write an interactive program that asks the users to input the number of cars, trucks and suv that entered a parking lot. Your progam should then calculate the percetages of each vehicle type and display the result.A website sells three products whose retail prices are:Product 1: $2.98 - Product 2: $4.50 - Product 3: $9.98Write an app IN C# that reads a series of pairs of numbers below:a) product numberb) quantity soldYour app should use a switch statement to determine the retail price for each product. It should calculate and display the total retail value of all products sold. Use a sentinel-controlled loop to determine when the app should stop looping and display the final results (please explain each step, and the output needs to look like the image).
- A website sells three products whose retail prices are:Product 1: $2.98 - Product 2: $4.50 - Product 3: $9.98Write an app in C# that reads a series of pairs of numbers below:a) product numberb) quantity soldYour app should use a switch statement to determine the retail price for each product. It should calculate and display the total retail value of all products sold. Use a sentinel-controlled loop to determine when the app should stop looping and display the final results.Web page bill calculator. User inputs the "item name" and "item amount" on the webpage. The webpage will return the total money he need to pay. If the payment is more than 30 dollars, the user can have a 10% off discount. Bill = (item cost )* (# of items) Item cost apple orange peach $1.2 $2Geometry Calculator Write a program that displays the following menu: Geometry Calculator 1. Calculate the Area of a Circle 2. Calculate the Area of a Rectangle 3. Calculate the Area of a Triangle 4. Quit Enter your choice (1-4): If the user enters 1, the program should ask for the radius of the circle and then display its area. Use the following formula: area = Pi*r^2 Use 3.14159 for and the radius of the circle for r. If the user enters 2, the program should ask for the length and width of the rectangle and then display the rectangle’s area. Use the following formula: area = length * width If the user enters 3 the program should ask for the length of the triangle’s base and its height, and then display its area. Use the following formula: area = base * height * .5 If the user enters 4, the program should end. Input Validation: Display an error message if the user enters a number outside the range of 1 through 4 when selecting an item from the menu. Do not accept negative values for…
- A website sells three products whose retail prices are:Product 1: $2.98 - Product 2: $4.50 - Product 3: $9.98Write an app IN C# that reads a series of pairs of numbers below:a) product numberb) quantity soldYour app should use a switch statement to determine the retail price for each product. It should calculate and display the total retail value of all products sold. Use a sentinel-controlled loop to determine when the app should stop looping and display the final results (please explain each step).نقطة واحدة Keywords in Visual Basic are * words that are used as prefixes for control names (such as text, btn, LBL, and Ist). is used to name controls, such as TextBox1, Command2, etc. should be used Find when naming variables. have special meaning and should not be used Find when naming variables. هذا السؤال مطلوب نقطة واحدة The default property for a text box control is Enable O Text Multiline Password char OName: Claz 4. Directions: The question or incomplete statement below is followed by four suggested answers or completions. Select the one that is best in each case. The code segment below is intended to display all multiples of 5 between the values start and end, inclusive. For example, if start has the value 35 and end has the value 50, the code segment should display the values 35, 40, 45, and 50. Assume that start and end are multiples of 5 and that start is less than end. Line 1: i + start Line 2: REPEAT TIMES Line 3: { DISPLAY (i)oplev a bonin vimobn ldemyA i + i + 5 Line 4: Line 5: Line 6: } Which of the following could replace in line 2 so that the code segment works as intended? wlf a0wollo 1 end - start + 1 b. end start + 6 (( end - start) / 5) + 1 d. 5 * (end - start) + 1 а. C.
- Q2: - Design In Visual Basic a form and write a code to find the largest value of N numbers using Do While Loop. Use InputBox function to read numbers.Software Sales A software company sells a package that retails for $99. Quantity discounts are given below: Quantity Discount 10–19 20% 20–49 30% 50–99 40% 100 or more 50% Design a program that asks the user to enter the number of packages purchased. The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount.An online retailer sells five products whose retail prices are as follows: Product 1, $2.98; product 2, $4.50; product 3, $9.98; product 4, $4.49 and product 5, $6.87. Write an application that reads a series of pairs of numbers as follows: a) product number b) quantity sold Your program should use a switch statement to determine the retail price for each product. It should calculate and display the total retail value of all products sold. Use a sentinel-controlled loop to determine when the program should stop looping, until product number not equal to 0 and display the final results. The Output as shown: Enter product number (1-5 or 0 to stop): 1 Enter quantity sold: 5 Enter product number (1-5 or 0 to stop): 5 Enter quantity sold: 3 Enter product number (1-5 or 0 to stop): 4 Enter quantity sold: 4 Enter product number (1-5 or 0 to stop): 3 Enter quantity sold: 6 Enter product number (1-5 or 0 to stop): 5 Enter quantity sold: 2 Enter product number (1-5 or 0 to stop): 0 Total retail…