Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
Your program should be interactive with 3 inputs. You can either research the net and use the sin/cos formula or just use a little high school algebra; no loops are required.
Write a program in C to compute the power loss in a transmission line with a resistance of 0.05 ohms/mile. Compute the power loss if 500 kW of power is transmitted from a power generation station to c
Write a complete class (in Java) that takes a sequence of strings as its command-line arguments, sorts them, and prints them on separate lines.
Write a program that asks the user for a two digit number and then prints the English word for that number.
Write an algorithm or code segment in C++ for locating the nth successor of an item in a circlar linked list (the nth item that follows the given item in the list).
Modify the movie-rating program so that a user gets three tries to enter a valid rating. After three incorrect entries, the program issues an appropriate message and continues with a new user.
You will design a small database for used textbooks, as might be used by an on-line trading site like Amazon. The database will store textbooks for sale. Each textbook has an ISBN, a catagor
Design a program for the Hollywood Movie Rating Guide,in which users continuously enter a value from 0 to 4 that indicates the number of stars they are awarding to the Guide's featured movie of the we
Design a program for the Hollywood Movie Rating Guide, in which users continuously enter a value from 0 to 4 that indicates the number of stars they are awarding to the Guide's featured movie of the w
Write a program that allows the user to enter the last names of candidates in a local election and the number of votes received by each candidate.
Why should you not use an external file name in any place other than the open statement?
Write a program in C to compute the diameter in centimeters of a steel rod, an aluminum rod, and a copper rod, which can withstand a particular compression load. The allowable compression stress of st
Write a Little Man program that accepts three values as input and procedures the largest of the three as output.
On the interval from a to b (0<a<b). In the main program, scanf a double value for n and a non-negative integer value for m,nonzero double values for A and B, and positive double values for
Write a script that calculates the squares and cubes of the numbers from 0 to 10 and outputs xhtml.text that dispalys the resulting values in an xhtml.table format
Give a dynamic programming solution to the 0-1 knapsack problem that runs in O(nW) time where n is the number of items and W is the maximum weight of items that the thief can put in his knapsack.
The manager for the Clearwater Traders wants to collect the following data for each order placed by a customer: customer's name and address, item ordered, quantity of each item, item's size or color i
Develop class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent. The term 2x4 has a coefficient of 2 and an exponent of 4.
A program needs to accept a series of integers from the user and append them to the end of a file. I need to write a pseudocode progam to implement these requirments.
Write a program to assist in monitoring the gasoline supply in a refinery storage tank. Your program should alert the supervisor when the supply of gasoline in the tank falls below 10% of the tank's 8
Create an inheritance hierarchy containing base class Account and derived classes SavingsAccount and CheckingAccount that inherit from class Account. Make sure all fields, methods, and parameters are
Write a program that takes as input five numbers and outputs the mean average and standard deviation of the numbers. If the numbers are x1, x2 ,x3, x4, and x5, then the mean
Write a Java program to get the gpa of a student as a command line argument. Then display the class of the degree according to the following criteria.
You need to program a robot to drive a car. Describe how you would use the Top-Down approach to solving this problem.