5) Calculate the signed 8-bit decimal representation of each hexadecimal integer short s1 = 75; char c1 = s

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

5) Calculate the signed 8-bit decimal representation of each hexadecimal integer short s1 = 75; char c1 = s

Post by answerhappygod »

5) Calculate the signed 8-bitdecimal representation of each hexadecimal integer
short s1 =75; char c1 = s1;
bool b1 = (s1 ==c1)
The variable b1 will get set tovalue:
false true
double d3 =3.625;
double d4 = (float)(double)d3;
The variable b2 will get set to value:
bool b2 = (d3 ==d4);
false true
float f1 =141.25f;float f2 = -(-f1) -f1;
The variable b3 will get set tovalue:
bool b3 = (f1 – f2== f1);
false true
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply