{"id":14207,"date":"2024-11-01T02:02:38","date_gmt":"2024-11-01T02:02:38","guid":{"rendered":"https:\/\/academicwritersbay.com\/solutions\/cos-2\/"},"modified":"2024-11-01T02:02:38","modified_gmt":"2024-11-01T02:02:38","slug":"cos-2","status":"publish","type":"post","link":"https:\/\/academicwritersbay.com\/solutions\/cos-2\/","title":{"rendered":"cos 2"},"content":{"rendered":"<p>COS2.docx<\/p>\n<p>Post the offer code .java file(s) on Ecampus.\u00a0 It\u2019s o.okay. to combine the three questions into one compilable java file.  <br \/> 1.\u00a0Make a program named signal.java.\u00a0 Effect a query to the user which month and day they were born.\u00a0 Output their birthstone and zodiac signal.\u00a0 You would possibly perchance maybe need to have these two ideas on your program: \u00a0 String Birthstone(int Month) String ZodiacSign(int Month, int Day)<br \/> Example output: What month were you born (1-12)? 5 What day of the month were you born? 21 Your birthstone is Emerald. Your zodiac signal is Gemini. Verbalize:\u00a0 Encompass the Chinese zodiac animal.\u00a0 This requires you quiz quiz the user for the year they were born.<br \/> 2.\u00a0Make a program named board.java.\u00a0 Make a 10\u00d710 two dimensional array of characters.\u00a0 Own all 100 sides with a length.\u00a0 Subsequent, have ten random sides with a plus symbol.\u00a0 Field your final name initial in a random location.\u00a0 Output the array the usage of a nested for loop on this structure: . . . + . . . . . . . . . . . . . . . . . . . + . . . . . . . . . . . . . . + . . . K . . . . . . + . . . . . + . . . . . + . . . . . . . . . . . . . . + . . . . . . . . . . . . + . + + . . . . . . .  <br \/> 3.\u00a0Make a program named roman.java.\u00a0 Effect a query to the user to enter a Roman Numeral.\u00a0 Output the numeric model of the Roman Numeral.\u00a0 You would possibly perchance maybe need to have the following means on your program:\u00a0 int RomanToDecimal(String R) Here\u2019s some numbers to verify your program with:\u00a0\u00a0MCMXLII = 1942, MCMLXIX = 1969, DCCCLXXXVIII = 888<br \/> Hint:\u00a0Within the RomanToDecimal means, scheme a for loop that steps through every persona of roman numeral.\u00a0 M = 1000, D = 500, C = 100, L = 50, X = 10, V = 5, I = 1.\u00a0\u00a0 MDCLXVI = 1000 + 500 + 100 + 50 + 10 + 5 + 1 = 1666 If a digit is out of define, then it&#8217;s subtracted from the next digit.\u00a0 Here is most productive identical old for these combos: CM = 900, CD = 400, XC = 90, XL = 40, IX = 9, IV = 4<\/p>\n","protected":false},"excerpt":{"rendered":"<p>COS2.docx Post the offer code .java file(s) on Ecampus.\u00a0 It\u2019s o.okay. to combine the three questions into one compilable java file. 1.\u00a0Make a program named signal.java.\u00a0 Effect a query to the user which month and day they were born.\u00a0 Output their birthstone and zodiac signal.\u00a0 You would possibly perchance maybe need to have these two [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-14207","post","type-post","status-publish","format-standard","hentry","category-solutions"],"_links":{"self":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/posts\/14207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/comments?post=14207"}],"version-history":[{"count":0,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/posts\/14207\/revisions"}],"wp:attachment":[{"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/media?parent=14207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/categories?post=14207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/academicwritersbay.com\/solutions\/wp-json\/wp\/v2\/tags?post=14207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}