hi can anyone here help me to fine solution to the following question in MIPs assemble language

  1. Write a program that asks the user to input a set of floating-point values. When the
    user enters a value that is not a number, give the user a second chance to enter the
    value. After two chances, quit reading input. Add all correctly specified values and
    print the sum when the user is done entering data. Use exception handling to detect
    improper inputs.
  2. Repeat Exercise P11.14, but give the user as many chances as necessary to enter a
    correct value. Quit the program only when the user enters a blank input.

First, this looks like you put this under someone else's old discussion. You could delete that.

Second, unlike some forums, this is all about you learning. Read https://www.daniweb.com/programming/threads/435023/read-this-before-posting-a-question to see how this works.

So my thought is to break the problem down to steps. I see you have a very basic first step of getting user input. Are you stuck there?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.