Design an application that accepts 10 numbers and displays them in descending order.
Q: Write an application that prompts the user for a password that contains at least two uppercase…
A: Syntax: do { // Loop-body } while ( Condition ) ; Flowchart:
Q: (Factorials) Factorials are used frequently in probability problems. The factorial of a positive…
A: #include <iostream> using namespace std; int main(){ //variable to hold Factorial…
Q: TOPICS: Data and Expressions MUST BE IN JAVA. PLEASE USE COMMENTS AND WRITE THE CODE IN SIMPLEST…
A:
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: Three-letter acronyms are common in the business world. For example, in Java you use the IDE…
A: import java.util.*; public class ThreeLetterAcronym{ public static void main(String []args){…
Q: #include using namespace std; void myfunction(int num2, int nu int main(){ myfunction(5,2); return…
A: Function declaration is done in the third line saying myfunction accepts two integer parameters and…
Q: Question 1 Create a VB.NET Console Application that does the following: Create a variable of Integer…
A: Module VBModule Sub Main() Dim marks as integer' to declare marks as integer Dim grade as…
Q: Java Programming Travel Tickets Company sells tickets for airlines, tours, and other travel-related…
A: Prompt and read the ticket_number Convert the string ticket_number to the long integer and store it…
Q: A particular talent competition has 5 judges, each of whom awards a score between 0 and 10 to each…
A: Given: To write a program that uses these rules to calculate and display a contestant’s score. A…
Q: A Hotel Resérvation Program Write a program that allows the user to reserve a room in a hotel and…
A: Given: To write a Java program for hotel reservations.
Q: Develop a C# application that inputs one salesperson’s items sold for the last week, then calculates…
A: Hello Student. Warm welcome from my side. Hope you are doing great . I will try my best to answer…
Q: Widgets and Gizmos An online retailer sells two products: widgets and gizmos. Each widget weighs 75…
A: code is given below:
Q: I need help for Microsoft Visual C#, 7th edition, chapter 5 debugging exercise 5-2 // Program asks…
A: // Program asks user to enter a stock number // If the stock number is not 209, 312, or 414 the…
Q: Homework – Topic 6 – Calculator: Write a program which allows the user to perform simple tasks on a…
A: #include<stdio.h> #include<stdlib.h>void menu( );void add( );void sub( );void mul(…
Q: Travel Tickets Company sells tickets for airlines, tours, and other travel-related services. Because…
A: Required: write an application that indicates invalid ticket number entries. The class prompts a…
Q: Code an application that determines how many gallons of water is needed for a pool. Create Void…
A: The program calculates the gallons of water required for completely filling the pool as per user…
Q: 10) The assignment statement p = d; is legal even though p is not a Dog.
A: Please see the next step for solution
Q: Function Name: dominosTime() Parameters: N/A Returns: None Description: During the summer, you…
A: Python used to answer this question
Q: TOPICS: Data and Expressions MUST BE IN JAVA. PLEASE USE COMMENTS AND WRITE THE CODE IN SIMPLEST…
A: logic:- read numerator and denominator While dividing numerator and denominator type cast any one…
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: .35 (Sides of a Triangle) Write an application that reads three nonzero values entered by the user…
A: #include <iostream>using namespace std; int main(){ double a, b, c;…
Q: Design an application using methods that convert an integer number of seconds into an equivalent…
A: Program Plan: using keyword is used to use the System library in the program. The main method is…
Q: 2.26 (Multiples) Write an application that reads two integers, determines whether the first is a…
A: C++ Program for above : #include <iostream> using namespace std; int main() { //read…
Q: write also in c# Write an application that displays the result of dividing two numbers and displays…
A: Algorithm:- Input two numbers. Pass values to dividing function. In the dividing function…
Q: The following code intends to input a user’s first name, last name, and age.However, it has an…
A: Corrected Code: #include <iostream>#include <string.h>using namespace std; int main(){…
Q: #include >geethika coutce"enter your class"ccendl; cins>btech first years return e;
A: The code used above has following defects :- After using the line "using namespace std;", the next…
Q: Java program Write an application for Limpopo's Car Care Shop that shows a user a list of available…
A: As per the requirement program has been developed. Algorithm: Step 1: Write the main() method Step…
Q: 2.25 (Divisible by 3) Write an application that reads an integer and determines and prints whether…
A: NOTE : As the question is not specific about the programming language to be used to code the…
Q: Write a loan calculator program that computes both monthly and total payments for a given loan…
A: As no language was mentioned, So, solving with C++. #include<iostream> using namespace std;…
Q: Vowels and Consonants Create an application with a method that accepts a string as an argument and…
A: Program structure Import the necessary packages in the program. Create a public class Count Write…
Q: Write method IsEven that uses the remainder operator (%) to determine whether an integer is even.…
A: Program : import java.util.Scanner; public class Main { public static boolean isEven(int z){…
Q: Create an application that contains an enumeration that represents the days of the week. Display a…
A: Enum has to be created Display the values Input a day Display business hours If you want to perform…
Q: What will the following code display?names = ['Jim', 'Jill', 'John', 'Jasmine']if 'Jasmine' not in…
A:
Q: Strictly java code Write an application for Limpopo’s Car Care Shop that shows a user a list of…
A: Use an if-elseif ladder to compare the user input and then display message accordingly The program…
Q: What is the difference between these two statements? void showValues(int num) void showValues(int…
A: Function overloading: One name multiple forms are the feature of the function overloading. A single…
Q: Question 3 Write an application that prints each number between 1 and 100 that are divisible by 5 or…
A: Code: public class Main{ public static void main(String[] args) { //declaring required variables…
Q: A Hotel Reservation Program Write a program that allows the user to reserve a room in a hotel and…
A: Source Code: import java.io.*;import java.util.Scanner; public class Reservation{ public static…
Q: Write an application that handles a student report card. The application shall save the marks of…
A: Solution C# PROGRAM using System; //computer science, maths, english //75 congratulationa, else…
Q: (Health application: BMI) Revise Listing 3.2, ComputeAndInterpretBMI.cpp, to let the user enter…
A: Sample Response: //C++ program to compute BMI by using weight in pounds, height in feet and…
Q: Three-letter acronyms are common in the business world. For example, in Java you use the IDE…
A: Approach Built-in methods used: toUpperCase() length() charAt()
Q: Programming challenge description: When John was a little kid he didn't have much to do. There was…
A: Actually, java is a object oriented programming language. It is a platform independent.
Q: Day of the Week Calculator For this assignment you will write a program that will allow you to enter…
A: Code: import java.util.Scanner; public class test { static String days[]=…
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: Trivia Game In this programming exercise, you will create a simple trivia game for two players. The…
A: Question.py • Define the class named “Question”. ○ Define “__init__()” method for “Question”…
Q: Summary 2 EmployeeBonus.py - This program calculates an emplo productivity bonus. 3 In this lab, you…
A: Decision making is needed to execute a code or block of statements only if a certain condition is…
Q: Given the following struct: typedef struct { char surname[MAX], name[MAX]; int id; float avg; //…
A: Hi, i have implemented the mostFrequent(student_t s[],int n) and printStudents(student_t s[],int…
Q: tinclude #include using namespace std; const int QUARTERS 4; // Write the prototype of…
A: PROGRAM CODE: #include <iostream>#include <iomanip> using namespace std; const int…
Q: 1. Compute rainfall | This program prompts the user to enter the current month, using 1 for January,…
A: public class Rain { //method that query the user for 1 to 10 days of rainfall for each month public…
-
Design an application that accepts 10 numbers and displays them in descending order.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 3 images
- 99 question Reza Enterprises sells tickets for buses, tours, and other travel services. Because Reza frequently mistypes long ticket numbers, Reza Enterprises has asked his students to write an application that shows if a ticket is invalid. Your application/program tells the ticket agent to enter a six-digit ticket number. Ticket numbers are designed so that if you lose the last digit of the number, then divide by 7, the remainder of the division is exactly the same to the last dropped digit. This process is shown below: Step 1: Enter the ticket number; for example 123454 Step 2: Remove the last digit, leaving 12345 Step 3: Determine the remainder when the ticket number from step 2 is divided by 7. In this case, 12345 divided by 7 leaves a remainder of 4. Step 4: Display a message to the ticket agent indicating whether the ticket number is valid or not. If the ticket number is valid, save the number to a .txt file called “tickets.txt” and.GPA Calculator Students are concerned about their GPA. They need to calculate it accurately every semester to monitor their progress. Develop a GPA calculator that follows the AOU regulations (AOU-OU Grade Scale) using C# programming language. The application asks the student to enter his numeric grade of each course and the course's credit hours. Accordingly, the application calculates the student's GPA after converting the numeric grade to letter grade. The GPA calculation should produce floating-point results. Display the results rounded to the nearest hundredth. You should store the letter grades of all student's courses in an array. The final grade of the student should be also calculated. Sample I/O Enter the course grade (-1 to end): 93 Enter the course credit hours: 3 Enter the course grade (-1 to end): 74 Enter the course credit hours: 2 Enter the course grade (-1 to end): 60 Enter the course credit hours: 3 Enter the course grade (-1 to end): -1 The grades of your courses…PYTHON CODE Reza Enterprises sells tickets for buses, tours, and other travel services. Because Reza frequently mistypes long ticket numbers, Reza Enterprises has asked his students to write an application that shows if a ticket is invalid. Your application/program tells the ticket agent to enter a six-digit ticket number. Ticket numbers are designed so that if you lose the last digit of the number, then divide by 7, the remainder of the division is exactly the same to the last dropped digit. This process is shown below: Step 1: Enter the ticket number; for example 123454 Step 2: Remove the last digit, leaving 12345 Step 3: Determine the remainder when the ticket number from step 2 is divided by 7. In this case, 12345 divided by 7 leaves a remainder of 4. Step 4: Display a message to the ticket agent indicating whether the ticket number is valid or not. If the ticket number is valid, save the number to a .txt file called “tickets.txt” and continue to loop your program asking…
- C# Account numbers sometimes contain a check digit that is the result of a mathematical calculation. The inclusion of the digit in an account number helps ascertain whether the number is a valid one. Write an application named CheckDigit that asks a user to enter a four-digit account number and determines whether it is a valid number. The number is valid if the fourth digit is the remainder when the number represented by the first three digits of the four-digit number is divided by 7. For example, 7770 is valid, because 0 is the remainder when 777 is divided by 7. If the account number is valid, output The account number is valid. If the account number is invalid output Invalid. If the account number is too short or too long output Account number invalid - it must have 4 digits.Write the pseudocode for an application that will request three numbers from a user. The application should then determine and display the largest of the three numbers.True or False In C#, you must declare a variable in a program before you can use it to store data.
- PYTHON PROGRAMMING Reza Enterprises sells tickets for buses, tours, and other travel services. Because Reza frequently mistypes long ticket numbers, Reza Enterprises has asked his students to write an application that shows if a ticket is invalid. Your application/program tells the ticket agent to enter a six-digit ticket number. Ticket numbers are designed so that if you lose the last digit of the number, then divide by 7, the remainder of the division is exactly the same to the last dropped digit. This process is shown below: Step 1: Enter the ticket number; for example 123454 Step 2: Remove the last digit, leaving 12345 Step 3: Determine the remainder when the ticket number from step 2 is divided by 7. In this case, 12345 divided by 7 leaves a remainder of 4. Step 4: Display a message to the ticket agent indicating whether the ticket number is valid or not. If the ticket number is valid, save the number to a .txt file called “tickets.txt” and continue to loop your program…PYTHON programming solotion Develop a program that allows the user to enter a start value of 1 to 4, a stop value of 5 to 12 and a multiplier of 2 to 8. The program must display a multiplication table with results using these values. For example, if the user enters a start value of 3, a stop value of 7 and a multiplier value of 3, the table should be displayed as follows: Multiplication Table 3 x 3 = 9 3 x 4 = 12 3 x 5 = 15 3 x 6 = 18 3 x 7 = 21 additionally Each multiplication problem must be displayed with a problem number. The program must prompt the user to enter an answer to each of the multiplication problems. The correct answer should be displayed after the user enters an answer. A message should be displayed informing the user that the answer entered was correct or incorrect followed by an appropriate motivating comment. A running record of the number of correct and incorrect responses must be kept. After all the problems have been presented the user must be informed of…SOLVE IN C# Canada Government has announced 250 immigration visa lottery for third world countries. Total number of Application collected 10000, starting from application number 1 to 10000. You are required to write a program for Canadian government to select 250 visa for lottery visa, randomly from the pool of 10000 application and print the application number on screen Note: No input required in this program
- Mail Delivery Service Create a Python application, Delivery.py for a delivery service. The program should prompt the user for the following inputs. A code representing the delivery area. A local delivery is code 1, and a long distance delivery is code 2. A weight, in pounds of the item to be delivered. The program will then display the fee for the item based on the delivery type and its weight. The fee for the delivery, as follows: 1. Distance Fee (S) Weight Under 5 pounds 5 to 20 pounds Over 20 pounds Under 5 pounds 5 pounds or more 1 12.00 1 16.50 1 22.00 2 35.00 2 47.95 For examples: (These outputs are from different runs. They are not from a loop.) Delivery Service Enter Distance (1) Local - (2) Long Distance: Enter weight: 4.9 ------ Summary Delivery Type: Local Weight: 4.9 pounds Fee: $12.00 Delivery Service Enter Distance (1) Local - (2) Long Distance: Enter weight: 4.9 --------- Summary Delivery Type: Long Distance Weight: 4.9 pounds Fee: $35.00 Delivery Service Enter Distance…Population Tracker Learning Objective: Using Python Repetition and Loop Statements Problem Description Write a Python program (Console and GUI) that predicts the approximate size of a population of organisms. The application should use text boxes to allow the user to enter the following information: starting number of organisms, the average daily population increase (as a percentage), and the number of days the organisms will be left to multiply. For example, assume the user enters the following values: Starting number of organisms: 2 Average daily increase: 30% Number of days to multiply: 10 The program should display the following table of dataNeed help coding in Java Create an application that contains an enumeration that represents the days of the week. Display a list of the days, and then prompt the user for a day. Display business hours for the chosen day. Assume that the business is open from 11 - 5 on Sunday, 9 - 9 on weekdays, and 10 - 6 on Saturday.