本人有作业问题: QQ:112518964
因为刚刚学习这个计算机科学专业所以!
有些东西束手无策
:作业 题目:
Converter 4. Write a Java program that acceptsas input an 8 character string that represents the 32-bit internalrepresentation (2's complement) of an integer, and produces and prints thecorresponding integer using standard integer output. Allow the user to repeatthe conversions if they desire. For examples a typical sequence could be: Please enter the internalrepresentation: FFFFFFFA
The corresponding integer is: -6
Do you wish to continue (Y/N): Y
Please enter the internalrepresentation: 000000C2
The corresponding integer is: 194
Do you wish to continue (Y/N): N
Thank you.
You may NOT use any classes that dothe conversion. You may use any I/O facilities you choose
|