Click here to Skip to main content
14,265,813 members
Rate this:
Please Sign up or sign in to vote.
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 4:44am
v2
Comments
Rate this:
Please Sign up or sign in to vote.

Solution 1

i think you should write an algorithm to change the Prices based and then write your output with "\n"
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

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, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100