M
matt
I new to programming and have started with c. I am stuck on 2 questions
and cannot move forward, any help would be greatly appreciated.
Question 1: Express each number as a floating-point constant using both
regular decimal notation and exponential notation.
a) 1,234
b) 1,234.5
c) 0.1234
d) 1.234 x 10 to the second power
Question 2: Express each number as an integer constant, an octal
constant, and a hexadecimal constant.
a) 1,234
b) 2
c) 8
d) 16
e) 1,024
Thanks in advance.
and cannot move forward, any help would be greatly appreciated.
Question 1: Express each number as a floating-point constant using both
regular decimal notation and exponential notation.
a) 1,234
b) 1,234.5
c) 0.1234
d) 1.234 x 10 to the second power
Question 2: Express each number as an integer constant, an octal
constant, and a hexadecimal constant.
a) 1,234
b) 2
c) 8
d) 16
e) 1,024
Thanks in advance.