Click here to Skip to main content
14,689,369 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
how to convert binary number into Decimal,Octal and Hexadecimal and also print pattern like
----------
1
12
234
3456
56789
________
Posted
Updated 18-Oct-13 5:44am
v2
Comments

i think you should write an algorithm to change the Prices based and then write your output with "\n"
   
This is not how CP usually works. Most important goal here is to learn and help learning.
You are supposed to try it on your own, and come here when you got stuck with something, with a concrete question about your code, design, etc.

Please have a look to What have you tried?[^] to see a good explanation about what I mean.

Don't forget people here don't get payed. And besides, if we give you a ready-to-go solution, it is not going to help you because you are not going to learn anything from it.
   

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