Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

Special consideration needs to be made for the selection of the product category. Allow

the user to make a selection between the following categories:

• Desktop Computer.

. Laptop.

.

Tablet.

Printer.

• Gaming Console.
Q.1.2

If the user selects to capture a new product, you are required to save all the information supplied by the user into memory. To achieve this, you may use arrays or array lists.

Sample Capture Product Screenshot

CARTURE & NEW SODUCT

Inter the product code: Ass

Enter the product nass: EliteBook

Select the product category:

Laptop - 2

Caming Const

Product Category >>

Indicate the product warranty. Innar (1) for 6 months or any other tey for 2 years. 2 Enter the stock level for Elitalock 1 Enter the supplier for litellook IT 4 Africa Product details has been saved successfully!!!

Enter the price for EliteBook 15000

Intex (1) to launch masu úz any other key to exist
Write a program to find the minimum number of notes required for the amount M
. Available note denominations are 500, 50, 10, 1.

As the user scrolls down, they should see the Shop Now! Heading and the different clothing items they can shop, with the prices and the icon to click on to buy the item. When the user clicks on the icon to buy a pop box will appear which will allow them to select how many of the item do, they want to buy. It should calculate accordingly. When the user clicks check out. They should be redirected to the Checkout page, where they need to fill in information. Once the form is correctly filled in and the user clicks on the Ship off button. They should be redirected to the Thank You web page.


declare a character stack
while ( more input is available)
{
read a character
if ( the character is a '(' )
push it on the stack
else if ( the character is a ')' and the stack is not empty )
pop a character off the stack
else
print "unbalanced" and exit
}
print "balanced
write c++ code for the above
Consider the following pseudocode:
declare a stack of characters
while ( there are more characters in the word to read )
{
read a character
push the character on the stack
}
while ( the stack is not empty )
{
write the stack's top character to the screen
pop a character off the stack
}
mplement the following function. You may use the stack template class and the
stack operations of push, pop, peek, is_empty, and size. You may also use cin.peek( )
and use "cin>>i" to read an integer.
int evaluate_postfix_from_cin( )
// Precondition (Which is not checked): The next input line of cin is a
// properly formed postfix expression consisting of integers,
// the binary operations + and -, and spaces.
// Postcondition: The function has read the next input line (including
// the newline) and returned the value of the postfix expression.
{
int i;
stack<int> s;
Complete the body of this function. You do not need to check the precondition. You
may use the stack template class
bool balanced(const char p[ ], size_t n)
// Precondition: p[0]...p[n-1] contains n characters, each of which
// is '(', ')', '{' or '}'.
// Postcondition: The function returns true if the characters form a
// sequence of correctly balanced parentheses with each '(' matching
// a ')' and each '{' matching a '}'. Note that a sequence such as
// ( { ) } is NOT balanced because when we draw lines to match the
// parentheses to their partners, the lines cross each other. On the
// other hand, ( { } ) and { ( ) } are both balanced.

Create two interfaces such as MathsOperable and TrigonometricOperable which

contains the functions to perform the basic arithmetic operations (add, sub, mul, div,

mod) and trigonometric operations (sine, cosine, tan) respectively.Create an abstract class called “Calculator” with details such as no1, no2 and result. Add

necessary constructors.

Implement these interfaces and inherit the class in “Operation” class to perform the

specific operations.

Demonstrate the operations in a menu driven fashion from a Main class. Write logics in

the corresponding methods.


Create a program that will generate twenty (20) random numbers from the range 1 to 9. The twenty random numbers shall be stored in a generic list. Print a horizontal histogram, representing the occurrence of each digit. Display also the generated combinations. 2. Refer to the sample output given below.


(Sample Ouput)

Welcome to my GENERIC LIST PROGRAM

The 20 random numbers are: 3 4 1 7 8 5 6 3 4 9 3 5 1 3 4 2 8 9 5 9

Histogram:

1 **

2 *

3 ****

4 ***

5 ***

6 *

7 *

8 **

9 ***


LATEST TUTORIALS
APPROVED BY CLIENTS