public static int convertRomanNumeral(String numeral)
{
numeral = numeral.replace("M", "DD")
.replace("CD", "CCCC")
.replace("D", "CCCCC")
.replace("C", "LL")
.replace("XL", "XXXX")
.replace("L", "XXXXX")
.replace("X", "VV")
.replace("IV", "IIII")
.replace("V", "IIIII");
return numeral.length();
}
- 0 Posts
- 21 Comments
ray@sh.itjust.worksto
Technology@lemmy.world•Apple steps up war of words with European regulatorsEnglish
652·2 months agoIt stops being Apple’s phone once they sell it.
ray@sh.itjust.worksto
Showerthoughts@lemmy.world•"make out" has an awful lot of meanings for two words that seemingly don't make any sense togetherEnglish
12·4 months agoIt’s definitely not as straightforward as it’s made out to be
I think it’s called a frunk
20$ dollar bills y’all
ray@sh.itjust.worksto
memes@lemmy.world•Does anyone else use this way of taking notes?English
0·5 months agoMy wife does this, except she sends the messages to me
27andDC vs 23andMe
He was checking out her brown eye
4111 1111 1111 1111 0126 123
Now I’m confused. Is this washing machine Danish or Finnish?
If your pizza topping is a slightly smaller pizza, and that pizza is in turn topped with an even smaller pizza and so on, then it can be a literal food pyramid
Royale with cheese has a nice ring to it though
It’s not exclusively hummingbirds, there are a few others. The wikipedia pages on Ornithophily and Nectarivores have some info about this.
But bees also lay eggs, and birds also carry and deposit pollen
Usually sweatpants and a hoodie
ray@sh.itjust.worksto
Asklemmy@lemmy.ml•What's the closest you've come to having a car accident?English
10·2 years agoOne time I went over a patch of ice on the highway and my car did a full 360 at 100 km/h. I was pretty sure I was about to die, but somehow I managed to straighten out and keep going without hitting anything.
At a previous job I had to work with an old database where all the tables and columns had 6-character names
Cooper Howard has entered the chat




Component Object Model?