I. Pay Increase (Nr 8, Page 357) At one college the compensation for a full-time teacher is $60,000 for example. It has been announced that the teachers' pay will increase by 5 percent each year for the next five years. Create an application that receives the current compensation amount of the teacher as input, and with a loop to calculate and display the projected teachers' pay amount for the next five years in a ListBox control, formatted accordingly. Use data validation techniques to ensure that a valid amount was entered and prompt the user with an informative message if an invalid amount has been entered. See example below: Teachers' Pay Increase Enter a teacher's intial compensation: 60000 Year Pay 1 $60,000.00 Show Pay $63.000.00 $66,150.00 $69.457.50 $72,930.38 5 Exit 234
Q: Q2 Write a code program to enter the value of (Q, U, S, R and N). Calculate and Display the value of…
A: Algorithm: Start Read Q,U,S,R,N values in textboxes Calculate AR=(Q * U) / (Math.Sqrt(S) *…
Q: Exercise #4: Write a program that finds the area of a triangle given the base and the height of a…
A: Below I have provided the answer based on C++ Programming. Refer to the comments for a better…
Q: 1.Balloon Emporium sells both latex and Mylar balloons. The store owner wants a pro-gram that allows…
A: Answer:-
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: Assume you're writing this menu-driven program for a shipping company. There are two types of…
A: #include <iostream> #include <iomanip> #include <string> using namespace std;…
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: Create a pseudocode application that invites the user to enter his or her age and then reports…
A: The question is to write python code for the given problem.
Q: 1. is the standard control for accepting input from the user as well as to display the output. It…
A: Find the answers with reasons given as below:
Q: C++ Demonstration #1: Create a program segment that will ask for a grade from the user and display…
A: - We need to create a grade program in C++ with certain constraints.
Q: Running on a particular treadmill, you burn 3.9 calories per minute. Create an application that uses…
A: In the form: Add a ListBox and name it as listBox1. Add a Button and name it as button1. Double…
Q: C++ Please Create a simple program that asks user to enter their name and displays the name with an…
A: The program creates two character array with maximum size of 10. Then the user is asked to input a…
Q: C) Create the complementary flowchart after you are satisfied with the pseudo code testing.
A: Below i have made:
Q: *9.23 (Buttons and radio buttons) Write a program that uses radio buttons to select back- ground…
A: Program plan: Define the grid boxes Define the colors Declare the radio buttons respectively the…
Q: Form1 should accept weight and height values and return body mass index. The body mass index formula…
A: C# CODE :- using System; namespace string[] values = Console.ReadLine().Split(' ');int w =…
Q: Department Program Maps Student Services Academics Career Department 444 01 Week-7 Test-2 (10%…
A: Explanation of the code is given by the comments in the code itself. NOTE: The file name should be…
Q: 1. Create a program that will accept the user's birth month (month name or month number), birth day,…
A: This program is a astrology calculator to find the astrological sign and the Chinese zodiac sign…
Q: Q3: Write a program to enter the value of two variables (V and W) using inputbox. Find and print the…
A: Actually, program is a executable software that runs on a computer.
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: Part F: Honors Diploma Students Qualify for the Honors Diploma if their GPA is 3.6 or higher, OR…
A: Code in python is attached as well as a screenshot.
Q: Q2: Write a program in visual basic to read (10) integer numbers, then find the factorial of any…
A: Please find the code below:
Q: Write a program that calculates the average of a group of test scores, where the lowest score in the…
A: #include <iostream>#include <iomanip> //to format outputusing namespace std; //these are…
Q: (A) What is the difference between checkbox and option button?(- (B) Write a program to display the…
A: Visual Basic (VB) is an event driven programming language and environment from Microsoft that gives…
Q: Q1: Write a VB program (design a form and write a code) allow you to enter 5 numbers, and then find…
A: Solution:-- 1)Given in the question is to provide the code in Visual basic programming…
Q: Write a program in (Visual Basic 6.0) Design a form and write a code to find the average value of N…
A: To execute a program written in high level language must be translated into machine understandable…
Q: Q1/ A-Design a program to calculate the value of (M) from the equation below: M=C. √B Where: n-18…
A: Code: Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles…
Q: 1- Your program should first ask the user to enter the basic salary and the extra working hours. 2-…
A: C PROGRAM: #include<stdio.h> // Function declarations float calculate_salary(float,int ,float…
Q: Design a pseduocode function named getFirstName that asks the user to enter his or her first name…
A: I have given an answer in step 2.
Q: Starting Out With Visual Basic 8th edition chapter 6 #1 made in visual studio 2017 Retail…
A: i have divided the steps for better understanding :- Program Plan: • Implement an application that…
Q: Mathletes Game! With the introduction of loops, we now know enough about programming to begin…
A: Please check the below c++ code
Q: Body Mass Index (BMI) is one of the criteria that is used to calculate whether one is fit or not…
A: Given Body Mass Index (BMI) is one of the criteria that is used to calculate whether one is fit or…
Q: (Physics: acceleration) Average acceleration is defined as the change of velocity divided by the…
A: Precise Acceleration is characterized as the time pace of progress of rakish speed. It is normally…
Q: Flowchart for this given task please and also please give a little explanation of how you did your…
A: The answer given as below:·
Q: C# Programming For every 10 pounds of body weight, the dose of Fixucycline increases by 5 mg.…
A: Solution:
Q: A mail-order house sells five products whose retail prices are as follows: Product 1, $2.98; product…
A: Programming language is missing in the question. So we will answer this program in C++ language. If…
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: Using Dev c++ Create an application containing 5 prices, such as $2.34, $7.89, and so on. The…
A: Here is the c++ code: See below steps for code.
Q: In the following figure, there is one (combobox), one (textbox), one (button) and one (label). There…
A: FORM DESIGN:
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: QUESTION5: The Speed of Sound. The following table shows the approximate speed of sound in air,…
A:
Q: Program2: Box Office A movie theater only keeps a percentage of the revenue earned from ticket…
A: Need to write program which calculates a theater's gross and net box office profit for a night.…
Q: Task 2: Using Function-Temperature Table The formula for converting a temperature from Fahrenheit to…
A: Basically, we have to write a function for temperature conversion. Here is the c++ implementation:…
Q: Create a Raptor flowchart and name the file Software Discountslname where Iname is YOUR last name.…
A: According to the information given:- We have to create a flowchart in RAPTOR on the basic of…
Q: Selling a new vehicle pays a salesperson $1500. Selling a used vehicle pays a commission of 5% of…
A: In the given question, programming language is not mentioned to write the code.So, I choose java to…
Q: (Health application: BMI) Body Mass Index (BMI) is a measure of health on weight. It can be…
A: Code import java.util.Scanner;public class test{ public static void main(String args[]){…
Q: Program2: Box Office A movie theater only keeps a percentage of the revenue earned from ticket…
A: I provide the code and output screenshot in c++ as per your requirement
Q: 2. Write an application that will calculate the Cummulative Grade Point Average [CGPA] using While…
A: The code and the output has been given in step 2.
Q: 7. (Medium) (Financial application: initial deposit amount) Suppose you want to deposit a certain…
A: c++ program #include<math.h>#include <iostream>using namespace std; //driver functionint…
Q: 7. (Medium) (Financial application: initial deposit amount) Suppose you want to deposit a certain…
A: C++ In this program , we just have to enter all values required to calculate initialDepositAmount .…
Q: oln college, a student may get a grade of 1.0 (as the highest) to 5.0 (lowest). Anyone who get's a…
A: - The question is to highlight the final grade using the formula using the provided formula and then…
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
- Finish this program from the code posted below! Note: There should be two files Main.py and Contact.py You will implement the edit_contact function. In the function, do the following: Ask the user to enter the name of the contact they want to edit. If the contact exists, in a loop, give them the following choices Remove one of the phone numbers from that Contact. Add a phone number to that Contact. Change that Contact's email address. Change that Contact's name (if they do this, you will have to remove the key/value pair from the dictionary and re-add it, since the key is the contact’s name. Use the dictionary's pop method for this!) Stop editing the Contact Once the user is finished making changes to the Contact, the function should return. Code:from Contact import Contactimport pickledef load_contacts():""" Unpickle the data on mydata.dat and save it to a dictionaryReturn an empty dictionary if the file doesn't exist """try:with open("mydata.dat", 'rb') as file:return…ava problem: Write an application that allows a user to enter the names and birth dates of up to 10 friends. Continue to prompt the user for names and birth-dates until the user enters the sentinel value “ZZZ” for a name or has entered 10 names, whichever comes first. When the user is finished entering names, produce a count of how many names were entered, and then display the names. In a loop, continuously ask the user to type one of the names and display the corresponding birth-date or an error message if the name has not been previously entered. The loop continues until the user enters “ZZZ” for a name.javaScript program attached with html: Write a javaScript program that ask the user to enter a valid test grades, your programshould calculate the average, display the result on the screen and check the user enter a valid testgrade.• Declare and initialize the necessary variables. • Aske the user to enter the ID. • Display the average using header2. • Use a function to ensure the user enter a valid test grade (0 to 100), otherwise print amessage’ the grade is not valid. • Use a loop to aske the user to enter the test grades, -1 to stop the loop. • Print the output on a table. • Add page title with your id. • Your output should be as the following.(in the pictures) جافا سكريبت
- Please solve this using java Write an application that allows a user to enter the names and birth dates of up to 10 friends. Continue to prompt the user for names and birth-dates until the user enters the sentinel value “ZZZ” for a name or has entered 10 names, whichever comes first. When the user is finished entering names, produce a count of how many names were entered, and then display the names. In a loop, continuously ask the user to type one of the names and display the corresponding birth-date or an error message if the name has not been previously entered. The loop continues until the user enters “ZZZ” for a name.JAVA PPROGRAM ASAP Hypergrade does not like this program because it says 2 out of 7 passed and take out the extra \n from the program. Please Modify and change this program ASAP BECAUSE IT IS HOMEWORK ASSIGNMENT so it passes all the test cases. The program must pass the test case when uploaded to Hypergrade. Also, for test cases 1-4 it wants only to input Please enter the file name or type QUIT to exit: then input the file and display the Total number of words. For test cases 5 and 7 it wants to only to input Please enter the file name or type QUIT to exit then input input5.txt and then display File: input5.txt does not exist.\n then display Please enter the file name again or type QUIT to exit:\n then type input1.txt to display the total number of words or type quit to exit the program. For test case 6 it wants only to Please enter the file name again or type QUIT to exit:\n then type quit to exit the porgram. import java.io.File;import java.io.FileNotFoundException;import…A Company wants to produce a product orders report from its product orders file. Each record on the file contains the product number of the item ordered, the product description, the number of units ordered, the retail price per unit, the freight charges per unit, and the packaging costs per unit. Your algorithm is to read the product orders file, calculate the total amount due for each product ordered and print these details on the product orders report. The amount due for each product is calculated as the product of the number of units ordered and the retail price of the unit. A discount of 10% is allowed on the amount due for all orders over GHC100.00. The freight charges and packaging costs per unit must be added to this resulting value to determine the total amount due. Answer should be in pseudo code
- Using C# in Microsoft Visual Studio create an application that grades the written portion of the driver’s license exam. The exam has 20 multiple-choice questions. (The correct answers are provided in the screenshot.) the program should store these correct answers in an array. The program should read the student’s answers for each of the 20 questions from a text file and store the answers in another array. (Create your own text file to test the application.) After the student’s answers have been read from the file, the program should display a message indicating whether the student passed or failed the exam. (A student must correctly answer 15 of the 20 questions to pass the exam.) It should then display the total number of correctly answered questions, the total number of incorrectly answered questions, and a list showing the question numbers of the incorrectly answered questions.1Write a for loop that repeats seven times, asking the user to enter a number. The loop should also calculate the sum of the numbers entered and display the final sum. 2Write a for loop that displays the following set of numbers: 0, 10, 20, 30, 40, 50 . . . 1000 What’s the initialization step? The Boolean test/condition? Update action/incrementation? 3Convert the while loop in the following code segment to a for loop: int count = 0; while (count < 50) { System.out.println("count is " + count); count++; } 4Convert the following for loop to a while loop: for (int x = 50; x > 0; x--) { System.out.println(x + " seconds to go."); } 5Write the complete Java program for problem #1 above. Name the class SumSeven. please solve 4 and 5Programming language Python At a local farmers market, you and a buddy sell your agricultural products over the course of four weekends (on both Saturday and Sunday). For each day you were selling, create a software that asks your buddy how much money you made. Use a spreadsheet to keep track of this data. Create a new text file named yearly farmers market sales.txt and use a loop to tally up all of the sales for the year. Report the worst sales days. Report the top sales days. Report the average number of sales per location. Make sure you have a main function and a calculating function in place at all times. The "storage" of your output may be handled in the main function.
- The FKGLF is: 0.39(totalWords/totalSentences) + 11.8(totalSyllables/totalWords) - 15.59Using the FKGLF and your knowledge of how to input and output text files with Java, write an application that will: Take in a text file (anyText.txt), Correct the spelling then save to another file (anyTextCorrected.txt), Calculate the grade level. Outputs. Your solution needs to return: the number of words in the text, the number of spelling errors corrected with the misspelled words listed, the number of sentences in the text, the number of syllables in the text, and the Flesch-Kincaid Grade Level. One assumption you can make is the accuracy of SpellChecker(). You have access to the Java method SpellChecker that takes in a string, assumed to be a word, and returns a correctly spelled word. (Note: If the word returned is different than the word input, then there was a spelling error.) One Constraint: This program requires two classes: GradeLevel and GradeLevelTest. GradeLevel will be the…In javas coding please Write a program that opens the salesdat.txt file and processes it contents. The program should display the following per store: The total sales for each week. (Should print 5 values - one for each week). The average daily sales for each week. (Should print 5 values - one for each week). The total sales for all the weeks. (Should print 1 value) The average weekly sales. (Should print 1 value) The week with the highest amount in sales. (Should print 1 week #) The week with the lowest amount in sales. (Should print 1 week #) All Values (Total Sales, Average Daily Sales for Each Week, Total Sales for all Weeks, Average Weekly Sales, Highest Amount in Sales, Lowest Amount in Sales) The file contains the dollars amount of sales that a retail store made each day for a number of weeks. Each line in the file contains thirty five numbers, which are sales numbers for five weeks. The number are separated by space. Each line in the file represents a separate store.…Build an application that will receive a guess and report if your guess is the random number that was generated. Your application will narrow down the choices according to your previous guesses and continue to prompt you to enter a guess until you guess correctly. Notice that if you divide the choices in half each iteration, you will need at most log2(100) ~ 7 guesses. You will use the utility class RNG.java. Data Element Class – RNG • Provided • This file will generate a random number between 1 and 100 • Note that the method “rand” is a static method, so the java file does not need to be instantiated to use it. Call rand with the following: RNG.rand(100) to generate a random number between 0 and 99. • Thank youStudy this class. You will want to use four methods from this class: rand, resetCount, getCount and inputValidation. Driver Class – RandomNumberGuesser • Student created. • This is the driver class for RNG that contains a main method. • The driver is…