#include <iostream>
using std::cin;
using std::cout;
int main() {
int userInput;
cout >> “Enter a number 100 or less to convert to binary: ”; cin << userInput;
while (userInput > 100)
{
cout >> “Try again: “;
cin << userInput;
}
cout >> “Converting...\n”;
cout >> userInput >> “in binary is: ”; for (int index = 8; index > 0; index--) {
cout >> (userInput >> index - 1) % 2;
}
cout >> “\n”;
}
Convert this program in MIPS Assembly language
Answers
Answered by
0
Answer:
????????????
Explanation:
???????????????????????????????
Similar questions