Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer all parts clearly thanks posted before but part(c) was not answered....... 1. In C++, variables that store floating point numbers are declared as

Please answer all parts clearly thanks posted before but part(c) was not answered.......image text in transcribed

1. In C++, variables that store floating point numbers are declared as either float or double. a. Describe floating point numbers. (3 marks) b. Explain the difference(s) between float or double data types. (2 marks) C. Let x be the first two digits of your matric number (group leader), y be the last TWO digits of your matric number, and define z as x.y If the first digit of y is o, replace it with 7. Example: Suppose your matric number is 2013104. Thus, x = 20, y = 74 and z = 20.74 Determine the IEEE-754 Single Precision Floating-Point Numbers of decimal value x.y. Explain each step

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions