CourseNotes
Published on CourseNotes (https://course-notes.org)

Home > Computer Sience A.P. Roman-Arabic converter (Java Project Filie)

Computer Sience A.P. Roman-Arabic converter (Java Project Filie)

Subject: 
Algebra [1]
Rating: 
0
No votes yet
SocialTags: 
Subroutines [2]
Tags: 
Computer Science A.P. [3]

import java.util.Scanner; public class romannumerals{ private static int ArabicNumber = 0; public static String rom= ""; public static boolean rnum; public static String RomanNumeral(String z){ int m = z.indexOf('M'); int d = z.indexOf('D'); int c = z.indexOf('C'); int l = z.indexOf('L'); int x = z.indexOf('X'); int v = z.indexOf('V'); int i = z.indexOf('I'); if (z.contains("M")){ String firstChar = z.substring(0, m + 1); String remainingstring = z.substring(m + 1, z.length()); ArabicNumber +=1000; RomanNumeral(remainingstring); } else if (z.contains("D")){ String firstChar = z.substring(0, d +1);

Wait just a minute here...

In order to access these resources, you will need to sign in [4] or register [5] for the website (takes literally 1 minute!) and contribute [6] 10 documents to the Course-Notes.Org library. Until you contribute 10 documents, you'll only be able to view the titles of the uploaded documents.

  • Unlock Course-Notes.org

    Gain access to members only, premium content that includes past essays, DBQs, practice tests, term papers, homework assignments and other vital resources for your success!
  • Interact with other members

    Receive feedback from the Course-Notes.Org community on your homework assignments
  • Participation = Points

    Earn points for by contributing documents to the library, helping other members, writing informative blog posts, and voting in polls!

There are over 10,000 documents that have been added to the Members Only section that you won't find anywhere on this site or on the interwebs, for that matter. In order to access these resources, you will need to register [5] for the website (takes literally 1 minute!) and earn 100 cnote$ (use the table above to figure that out). Until you contribute earn 100 cnote$, you'll only be able to view the titles of the uploaded documents and some teaser text.

Get started right now! [5]


Source URL:https://course-notes.org/other/premium/computer_sience_ap_roman_arabic_converter_java_project_filie

Links
[1] https://course-notes.org/subject/algebra [2] https://course-notes.org/taxonomy/term/1067206 [3] https://course-notes.org/tag_your_content/computer_science_ap [4] https://course-notes.org/user [5] https://course-notes.org/user/register [6] https://course-notes.org/node/add/upload/bulk