Design a modular program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobile: loan payment, insurance, gas, oil, tires, and maintenance. The program should then display the total monthly cost of these expenses, and the total annual cost of these expenses.
Q: In c++ program: Write a program for Personal Organizer. 1. An interactive program to accept name,…
A: Answer : Algorithm:- To calculate age we need today's year and birth year. Take input from user…
Q: Develop a C# program using Visual Studio that has the following interface: The program must allow…
A: Hello Student. Warm greetings from my side. Hope you are doing great. Thank You.
Q: A program’s ability to run on several different types of computer systems is called__________.
A: GIVEN: A program’s ability to run on several different types of computer systems is…
Q: Design program that prompts the user for a refrigerator model name and interior hieght, width, and…
A: PROGRAM MODULES: - calculateCapacity(height, width, depth): The function accepts the parameter…
Q: Convert to C# Language def Deposit(balance, pin): # Deposit function…
A: This is C program that asks user to create the bank system criteria through programming. User will…
Q: Using Java programming language Shopping Software: The software should allow a shopper to buy at…
A: import java.util.*; public class books { String[] book=new String[6]; float[] price=new float[6]; {…
Q: Dividing a program into separate subprograms (such as libraries) is known as: A. modularity B.…
A: Actually, program is a executable software that runs on a computer.
Q: Design a program using pseudocode that prompts the user to enter a number within the range of 1 -…
A: We need to create a program that has 3 methods. main() method take_input() method find_roman()…
Q: 1. Create a Salary Computation using python programming 2. Create 3 Modules 3. The first module…
A: As per the given question, the required program is implemented in Python programming language.…
Q: Question:Code the function that returns the number of digits of the integer sent to it with an…
A: function digitCount(int n) START DECLARE count =0 WHILE n>0 do step 4 and 5 SET n=n/10 INCREMENT…
Q: nario: You are creating a text-based adventure game that will give the player a scenario and will…
A: It is defined as a simple, general purpose, high level, and object-oriented programming language. It…
Q: 1. Create a Raptor Flow Chart for this problem (hand written or using a software) ; screen capture…
A: Algorithm: Start Read no.of kWh If n<=55 and n>=0, set amount to 250 Else if n>55 and…
Q: Code for a shoppping bag with spefic items in the bag.
A: Python: Python is a general purpose, high-level, interpreted language with easy syntax and dynamic…
Q: Design a program that calculate your age and displays the following information • Your name • Your…
A: Python is an interpreted, object-oriented, high-level programming language with dynamic semantics.…
Q: Project Name: Chpt2_Project Class Name: Chpt2_Project Write a Java program that calculates how fast…
A: Here, in this program, you need to calculates how fast a bucket will fill up. Program inputs which…
Q: Create a program that displays the result of a sales transaction. The calculation requires three…
A: Note:- This program is done in c++, please mention programming language name in your questions.…
Q: Write a Java language program the will accept username and five (5) score grades of students, Get…
A: Create a Java language program that Prompt the user to enter the username and five (5) score grades…
Q: Design a program that asks the user for a series of names (in no particular order). After the final…
A: Program Plan: Create an empty list to store the names. Start the loop till 1 is pressed. Input name…
Q: Java Programming control structures:\ The population of Town A is less than the population of Town…
A: I've observed from your code that we don't need to take input for projectedYears, and it's also not…
Q: Create an auto loan calculator java swing program that will provide dialogs to ask the user…
A: Create an auto loan calculator java swing program that will provide dialogs to ask the user…
Q: ava Programming challenge: a.) problem definition: 1.)The program should ask the user to enter…
A: According to the Question below the Solution: Output:
Q: a). A cash register operates as follows: When the cash register receives the entry “new sale” (NS),…
A: a). A cash register operates as follows: When the cash register receives the entry “new sale”…
Q: Certain programs facilitate the construction of other programs, and can be used over and over again…
A: Mojoko submitted many programs and their data at a Computing Centre, to later get her results…
Q: create a Python application that makes use of repetition control structures in Python. Scenario: You…
A: Find the required code in python given as below and output :
Q: PYTHON LANGUAGE Design a program that asks for the number of fat grams and calories in a food item.…
A: Actually, python is easiest programming language. It is a structured and object oriented programming…
Q: Design a retirement planning calculator for Skulling Financial Services. Allow a user to enter a…
A: #include<iostream> using namespace std; int main(){ int years; float savingsPerYear,…
Q: C# language Create a simple program that will perform the following tasks. Deposit (the amount will…
A: Create a simple program that will perform the following tasks.Deposit (the amount will be added to…
Q: Using PYTHON You have been asked by a swimming pool company to create an application to give price…
A: The Complete code is given below with the output.
Q: avg_gpa_.py NCT college management wants to compare IT students' performance with Business students.…
A: #function to find avergae of list def Average(lst): return sum(lst) / len(lst) #list to store…
Q: Code Example 4-1 def get_username(first, last): s = first + "." + last return s.lower()…
A: Ans: Code Example 4-1 def get_username(first, last): s = first + "." + last return s.lower()…
Q: Write features that are provided to make a program modular.
A: Modular Programming: Modular programming is a software design technique that emphasizes separating…
Q: 8. Property Tax A county collects property taxes on the assessment value of property, which is 0u…
A: Since here, no programming language is specified. So, we are providing a solution in C++. The…
Q: I need help with this solution in pseudocode.
A: Start the process by accepting zip code and age from user Continue if zip code is not zero Ask for…
Q: A module can contain one or more definitions of other modules. Select one: OTrue OFalse
A: Solution :
Q: 4.Travel Application Create a python application that takes the destination name and the minimum…
A: Here I have taken input from the user for the first entry and stored it into the variables. Next, I…
Q: Question: Given the following problem specification, you need to develop a travelling agency…
A: We need to write a java program that takes input for the number of flights in the month. Then it ask…
Q: c# language Create a console program that will perform the following: • Ask the user to enter five…
A: using System;using System.IO;public class ComputeAverageProgram{ public static void Main() {…
Q: Hello , okay so I sent a message asking for help on a question but I'm having a difficult time…
A: In this question, we need to input distance and speed in mph. We will calculate time using speed and…
Q: A local business employs five salespeople and pays a 3% bonus on a salesperson’s sales how to create…
A: Note: Since no programming language is mentioned. I am attempting this in python. if you need it in…
Q: Instructions: Input one number (integer or decimal), an operator (+, -, *, /), and another number…
A: Java printf statement to print the value up to two decimal values. For a float or double decimal…
Q: Design an algorithm for a program that calculates the current balance in a savings account. The…
A: A flowchart is a diagram. It is used to display the logical flow of a program. Flowchart for a…
Q: A console (text-based) program that allows the user (when asked) to enter these three pieces of…
A: Here we have written the code in java as per your requirement. you can find the program in step 2.
Q: Find the error in the following pseudocode: Module main() Declare Real mileage Call…
A: Function is set of statement that contains instructions and it has a calling name.
Q: Directions: Create a C program that will display the following requirements. Every savings…
A: GIVEN: Write a C program that outputs the interest earned and balance of a savings account each year…
Q: should be at least 20, but not greater than 70. The driver’s speed should be at least the value…
A: Use while condition Use try statement Define variable splim and take user input for the speed limit…
Q: a program for the Hollywood Movie Rating Guide, which can be installed in a kiosk in theaters. Each…
A: Note: Here you didn't mention any programming language so we are going to use the C++ Programming…
Q: Design a modular program when using your Flowchart using Flowgorithm. That asks the user to enter…
A: The given problem is related to creating a flowchart to solve the problem. The current sample…
Q: Validate IP Address. Create a program and reads an IP address and determines whether it is…
A: #include <stdio.h> #include <stdlib.h> #include <string.h> #include…
Addition of Two Numbers
Adding two numbers in programming is essentially the same as adding two numbers in general arithmetic. A significant difference is that in programming, you need to pay attention to the data type of the variable that will hold the sum of two numbers.
C++
C++ is a general-purpose hybrid language, which supports both OOPs and procedural language designed and developed by Bjarne Stroustrup. It began in 1979 as “C with Classes” at Bell Labs and first appeared in the year 1985 as C++. It is the superset of C programming language, because it uses most of the C code syntax. Due to its hybrid functionality, it used to develop embedded systems, operating systems, web browser, GUI and video games.
Design a modular
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 1 images
- Automobile Costs Problem:Design a modular program that asks the user to enter the monthly costs for the following expenses incurred from operating his or her automobile: loan payment, insurance, gas, oil, tires, and maintenance. The program should then display the total monthly cost of these expenses, and the total annual cost of these expenses.Requirements You are required to write a program that calculates and prints the bill for Viti Telephone Company. The company offers two types of services: regular and premium: its rate very depending on the type of service. The rates are computed as follows: Regular Service $10.00 plus first 50 minutes are free. Charges for over 50 minutes are $0.20 per minute Premium Service $25.00 plus Calls made from 6.00 AM to 6.00 PM, the first 75 minutes are free and charges over 75 minutes are $0.10 per minute. For Calls made from 6.00 PM to 6.00 AM, the first 100 minutes are free and charges for over 100 minutes are $0.05 per minute. Your program should prompt user to enter an account number, a service code (type char), and the number of minutes service was used. A service code of r or R means regular service; a service code p or P means premium service. Treat any other character as an error. Your program should output the account number, type of service number of minutes the telephone was used…Financial Assistance Application Create the Financial Assistance Application. A non-governmental organization needs your application to calculate the amount of financial assistance for needy families. The formula is as follows: • If the annual household income is between $30,000 and $40,000 and the house- hold has at least three children, the amount is $1,000 per child. • If the annual household income is between $20,000 and $30,000 and the house- hold has at least two children, the amount is $1,500 per child. • If the annual household income is less than $20,000, the amount is $2,000 per child. Implement a function for this computation. The program asks for the household income and number of children for each applicant, printing the amount returned by your function. Use -1 as a sentinel value for the input. The program output should be formatted as shown in the Sample Run. Note: You must use at least one function in your code.
- Paint Job Estimator A painting company has determined that for every 115 square feet of wall space, 1 gallon of paint and 8 hours of labor will be required. The company charges $20.00 per hour for labor. Create an application that allows the user to enter the square feet of wall space to be painted and the price of the paint per gallon. The program should display the following data: • The number of gallons of paint required • The hours of labor required • The cost of the paint • The labor charges • The total cost of the paint jobProgramming Problem 1 – Calculating a Number As part of the discussion forum for this unit, you will be solving a programming problem from the book. This assignment will have you calculating the chapter and the number of the programming problem that you will solve for the online discussion forum. To calculate the chapter from which you solve the programming exercise: • Divide the integer number representing your student ID by 3, consider the remainder and increment it by 3. The result you obtain represents the chapter number, and it should be either 2, 3, 4, or 5. Depending on the chapter number obtained above, consider the following rules in calculating the problem number to solve: • If the chapter number is 3, divide your student ID by 34, consider the remainder and increment it by 1. The result you obtain represents the number of the programming exercise you will solve for online discussions, which should be from chapter 3. • If the chapter number is 4 (you need to go to chapter 6),…In conclusion, it is important to define a variable by its data type, but this is not always enough. Data type, variable name, memory location, and initial value must all be specified when declaring a variable (if any). This guarantees that the variable is properly managed by the computer and is available for usage in the application.
- 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…Change the order of the numbered Use Case Definition steps to correspond to the following problem definition: A college provides every incoming freshman with a gift card for a choice of two specialty restaurants within the cafeteria. Students should select one specialty restaurant they want. A program opens a window that displays each specialty restaurant one picture at a time when a student clicks the corresponding button. After making a decision, the student should click the Select Restaurant button. After selecting a restaurant, the student should exit the application.ITP 100 Programming Logic & Design Project In this project, you will design a program to perform the following task: Design a program, the STAR Movie Rating App, which can be installed in a kiosk in theaters and patrons can immediately give their rating of a movie they’ve just seen. Each theater patron enters a value of 0, 1, 2, 3, or 4 indicating the number of stars that the patron awards to the App’s featured movie of the week. If a user enters a star value that does not fall in the correct range, the program will prompt the user continuously until a correct value is entered. The program executes continuously until a negative number is entered to quit. At the end of the program display: the number of ratings given the average star rating for the movie of the week the following message depending on the average rating. 3 or better – “Great movie choice!” 2 up to 3 – “Good movie choice!” 1 up to 2 – “Not a Good movie choice.” 0 up to 1 – “Bowling would have been a better…
- ProgramName: Chapter3StadinumSeatingProgram There are three seating categories at an athletic stadium. For a baseball game, Class A seats cost $15 each, Class B seats cost $12 each, and Class C seats cost $9 each. Create an application that allows the user to enter the number of tickets sold for each class. The application should be able to display the amount of income generated from each class of ticket sales and the total revenue generated. The application's form should resemble the one shown in below. X A Stadium Seating Revenue Generated Tickrts Sød Enter the rumber of tickets sold for coch dass of sects. Cass A Class B Cass A: lass C Caes B: Oless C Total Calculate Revenue Cear Ext Use the following sets of test data to determine if the application is calculating properly:Additional Notes: USING C# You cannot add two flights with the same flight number When you select “View Flights”, a list containing the Flight number, origin and destination for each flight must be shown. When you select “View a particular flight”, a list of all flights should be displayed and the user must be allowed to enter a particular flight number. All the information on that selected flight must be displayed. All the customers who are booked on that flight must SPECIAL NOTE: A customer can only be deleted if there are no bookings for that customer. A flight can only be deleted if there are no customers booked on the flight. You must extend the core design and add the functionality to add customers and booking features to the system. The information that must be recorded on a customer is as follows: A customer ID must be assigned to each customer by the system. (NOT entered by the user) The customer’s first name The customer’s last name. The customer’s phone (a string type…H1. In C# (Windows Form App .NET Framework please) Create an application that serves as a time clock that employees can use to clock in and clock out of work. When the application starts, the employee can click a button to clock in. At some later time the employee can click a button to clock out. The application will then calculate and display the amount of time that the employee worked. Show proper step by step explanation