0 Replies - 1789 Views - Last Post: 28 September 2012 - 11:43 PM Rate Topic: -----

#1 ctwentieth  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-September 12

MIPS - Convert Day and Month (e.g 20 January) to Day of the year is 20

Posted 28 September 2012 - 11:43 PM

I have this assignment and i am stuck in between the codes. I am asked to collect user input day and month a year. E.g 30 May and display the equivalent as an "day of the year is 140.

This is just a part of the program that i don't understand or know how to go about it. I have been searching google for this answer but no luck. I heard i have to convert to ASCII but still don't know how to store or identify int + spring and validate January to December input and determine the equivalent in a 365 days, assuming February is 28.

Someone please help!

Thanks

Is This A Good Question/Topic? 0
  • +

Page 1 of 1