Start Discovering Solved Questions and Your Course Assignments
TextBooks Included
Solved Assignments
Asked Questions
Answered Questions
Writes to standard output the variable's value, twice the value, and the square of the value, separated by spaces.
Number Stack Different. Write a program that uses a nested loop to generate the output shown below. Be sure that the value on the line changes with each digit displayed. For example, line 5 has the va
Design a Population class that stores a current population, annal number of births and annual number of deaths for some geographic area. The class should allow these three values to be set in either o
In a pseudocode program write a program that computes and displays a 15b percent tip when the price of a meal input by the user.(Hint: the tip is computed by multiplying the price of the meal
Design and write 3 classes - Account, CheckingAccount, and SavingsAccount. Have CheckingAccount and SavingsAccount inherit from Account. In Account, you should include an account number, an account ba
Write a program in java to input the basic salary of 15 persons . Each one of them gets 25% of the basic as hra (house rent allowance), 15 % of the basic as conveyance and 10 % of the basic as enterta
Consider a program that accesses a single I/O device and compare unbuffered I/O to the use of a buffer. Show that the use of the buffer can reduce the running time by at most a factor of two
Write a java program that will prompt the user for a positive integer(num) and then display two triangles with num numbers of lines to represent the following pattern of asterisks.The input num must b
Write a program for a furniture company. Ask the user to choose P for pine, O for oak, or M for mahogany. Show the price of a table manufactured with the chosen wood. Pine tables cost RM100,
Write a program for a furniture company. Ask the user to choose P for pine, O for oak, or M for mahogany. Show the price of a table manufactured with the chosen wood. Pine tables cost $100, oak tables
Given a = 5,b = 1, x = 10, and y = 5, create a program that outputs the results of the formula f = (a - b) (x - y) using a single print f () function.
Write a MARIE program that performs the three basic stack operations: push, peek,and pop (in that order). In the peek operation, output the value that's on the top of thestack. (If you are unfamiliar
This program will calculate the miles per gallon for you for three tanks of gas afteryou have entered the gallons used and miles driven.
Write a java application that displays a series of atleast four survey questions and each question should have three possible numeric choice answers. At the end of the survey use a dialog box to ask w
Suppose the plaintext is 101101101. If CBC is not used, what is the resulting ciphertext? If CBC is used with IV = 111, what is the resulting ciphertext? Show all work.
Select FIVE elements of design that can be explored to help you create the best composition possible, when creating work in Illustrator? LINE
The National Commerce Bank has hired you to create an application that verifies a customer personal identification number (PIN). A valid PIN is a seven-digit number that meets the following specificat
Given a=5,b =1, x = 10, and y = 5, create a program that outputs the result of a formula f = ( a - b) ( x -y) using a single printf ( ) function.
Create a program that uses the same formula above to output the result. This time, prompt the user for the values a,b,x, and y. Use appropriate variable names and naming conventions. a= 5, b = 1, x =
A boolean variable is needed in the function. E.g., if the number is 27 then the variable would be set to false and the function would return false to the calling program. In this casethe program woul
Design a class named CustomerRecord that holds a customer number,name, and address. Include methods to set the values for each data field and output the values for each data field. Create the class di
The purpose of this assignment is to have students research the .NET Framework on the Internet and other sources and share their findings with each other.
Design a sequential circuit that can detect two or more consecutive 1's in a stream of input bits. Specifically, if the last two bits in the sequence were 1, the circuit should output 1. Otherwise, it
Write an interface, PointingDevice, containing:an abstract method, getXCoord that returns an int an abstract method, getYCoord that returns an int
Assign to the variable boolean 'primeSecond' the value true if the second leading (just after the most significant) decimal digit of the value of an int variable 'n' is 2,3,5 or 7; otherwise assign 'p