942,967 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 112
  • C RSS
Sep 8th, 2010
0

do while loop

Expand Post »
i have a problem,,here in turbo c i don't know if what kind of loop i will use can you please help me with this problem??

"write a program that accepts ordinary number and outputs,the equivalent in roman numerals"
1------I
5------V
10-----X
50-----L
100----C
500----D
1000---M
1500---MD

Until 3000 Only
Similar Threads
bdv
Reputation Points: 10
Solved Threads: 0
Newbie Poster
bdv is offline Offline
1 posts
since Sep 2010
Sep 8th, 2010
0
Re: do while loop
I'd use a while loop. But since you can use any loop to simulate the behavior of any other loop, it's really personal preference.
Administrator
Reputation Points: 6442
Solved Threads: 1391
Bad Cop
Narue is offline Offline
11,807 posts
since Sep 2004
Sep 18th, 2010
0
Re: do while loop
If I were you, I'd use more than one loop
Reputation Points: 11
Solved Threads: 6
Junior Poster
CrazyDieter is offline Offline
106 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: Finding middle value in C...
Next Thread in C Forum Timeline: help with the break statement always triggering





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC