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

People who earn less than R6 000.00 do not pay tax. Write a program that reads in a person’s salary. If he earns R6 000.00 or more, the program must request the percentage tax the person pays. The program must then finally display one of the following messages (as an example): For a person who earns R1500.00 You do not pay tax, and your final payout is R1500.00 For a person who earns R8200.00 and whose tax is 10% You pay R820.00 tax, and your final payout is R7380.00


Write a program that prompts the user his balance as well as an amount to be withdrawn from his/her bank account. Display an error message if the amount is more than the balance; otherwise display the new balance.


Create a new project, and name it P2T1 Write a program that requests from a user the number of pies (at R18.50 per pie) and the number of hamburgers (at R35.00 per hamburger), and then calculates the total for the order. Now extend this program to request the amount paid by the user, before calculating and displaying the change that needs to be paid out. Ensure that your monetary amounts are displayed with the R currency sign. Your running program could resemble the following:


Task:


Your task is to make 2 circular queues using static array of same size. User should be allowed to input values at the back of the queue. And when an element in removed from the first queue by moving front pointer it should be instered into the second circular queue and you should keep checking both the circular queues if they are full or have they been emptied.

Smallest of the Three

by CodeChum Admin

There's always going to be that odd one out. In this case, it's the one with the smallest value. It's your job to determine which one that is!


Instructions:

  1. Input three integers in one line.
  2. Evaluate the integers using conditional statements and print out the integer with the smallest value among the three.

Input

A line containing three integers separated by a space.

10·5·-5

Output

A line containing an integer.

-5

Rahul wants to display the n terms of odd natural number and calculate their sum. Help him



to develop a program in C to perform the task using for loop.

Create a "quote of the day" program. The program should read in the contents of a file containing at least 10 quotes. The program must read the quotes from the file into an array, and then randomly print one of them to the screen.



To create the text file, use Notepad or another text editor and place each quotation on a separate line. Make sure your text file is part of your project. You should also attach a seperate copy of the text file into the dropbox in case there are any issues.


A company is planning to provide an extra discount to it's customers. Every order has an order ID associated with it which is a sequence of digits. The discount is calculated as the count of unique repeating digits in the order ID. Write a code to find the discount percentile given to the customers.

A company is planning to provide an extra discount to it's customers. Every order has an order ID associated with it which is a sequence of digits. The discount is calculated as the count of unique repeating digits in the order ID. Write a code to find the discount percentile given to the customers.

A company is planning to provide an extra discount to it's customers. Every order has an order ID associated with it which is a sequence of digits. The discount is calculated as the count of unique repeating digits in the order ID. Write a code to find the discount percentile given to the customers.

LATEST TUTORIALS
APPROVED BY CLIENTS