Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Write a C# console program that will calculate the retail price of a product.Write and use the following methods:
.A method to prompt and get the product name,the product cost price and the discount percentage to be added for profit.
.A method to calculate the retail price after the percntage profit has been added to the cost price.
.A method to display the output.the following should be displayed :
the product name;
the original cost price of the product;
the profit percentage;
the new retail price;
Posted
Updated 21-Mar-12 1:13am
v4
Comments
JF2015 20-Mar-12 5:24am    
So, did you even try solving that on your own?
phil.o 20-Mar-12 6:16am    
Go and try yourself. We're not here to do your homework. Come back here when you have a real and specific question.
Sergey Alexandrovich Kryukov 20-Mar-12 17:40pm    
There are no any technical questions in this post. Not suitable for answering.
You need to do the work by yourself and ask a question if you have some particular problem.
Please see the advice by Abhinav and myself on how to do it properly.
--SA

Did you read the guidelines that are mentioned in the "Ask a Question" section?
A few simple rules when posting your question.

    Have you searched or Googled for a solution?
    Be specific! Don't ask "I need to write a booking application". Specify exactly what it is you need help with.
    Keep the subject brief but descriptive. eg "How do I change the dialog colour?"
    Keep the question as concise as possible. If you have to include code, include the smallest snippet of code you can - do not dump your entire codebase.
    Tag your question appropriately.
    Your question may be edited or retagged by others. Anything inappropriate will be removed.
    If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
    Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
    Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read.
    Do not be abusive, offensive, inappropriate,harass anyone on the boards or post ads or spam. Doing so will get you kicked off and banned. Play nice.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 20-Mar-12 17:39pm    
My 5. Please see also some more in my answer.
--SA
Abhinav S 20-Mar-12 22:29pm    
Thank you.
Monjurul Habib 21-Mar-12 3:41am    
5!
Abhinav S 21-Mar-12 6:10am    
Thank you Monjurul.
 
Share this answer
 
Comments
Abhinav S 20-Mar-12 22:29pm    
My 5.
Sergey Alexandrovich Kryukov 20-Mar-12 22:31pm    
Thank you, Abhinav.
--SA
Monjurul Habib 21-Mar-12 3:41am    
5!
Sergey Alexandrovich Kryukov 21-Mar-12 3:52am    
Thank you, Monjurul.
--SA
member60 21-Mar-12 7:21am    
My 5!
Please put in some effort and ask questions that you are stuck on it. It is rude to assume others will do your homework. Goodluck.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900