Starting Out with C++
8th Edition
ISBN: 9780133888201
Author: GADDIS
Publisher: PEARSON CUSTOM PUB.(CONSIGNMENT)
expand_more
expand_more
format_list_bulleted
Question
Chapter 2.11, Problem 2.19CP
Program Plan Intro
E-notation:
A scientific notation displays a numeric value in an exponential notation.
- The exponential notation is represented by “E”.
- E-notation replaces a part of a number with “E + n”, “E” multiples the previous number by “10” to the “nth” power.
- The notation “E” is the power of “n”.
Example to represent the E-notation:
Consider the number “64392.86”.
Step1: Convert a number given to the scientific notation.
In scientific format, a number “64392.86” is represented as
Step 2: Convert the scientific format to E-notation.
The number “
Expert Solution & Answer
Trending nowThis is a popular solution!
Students have asked these similar questions
How would the following number in scientific notation be represented in E notation?6.31* 1017
Imagine a decimal number dn dn−1 dn−2 . . . d2 d1 d0 . Write a summation to calculate the value of the number.
If three-quarters of a number is 24, the number itself must be
(A) 32
(B) 30
(C) 18
(D) 48
Chapter 2 Solutions
Starting Out with C++
Ch. 2.1 - The following C++ program will not compile because...Ch. 2.3 - The following C++ program will not compile because...Ch. 2.3 - Study the following program and show what it will...Ch. 2.3 - Write a program that will display your name on the...Ch. 2.4 - Prob. 2.5CPCh. 2.4 - What will the following program display on the...Ch. 2.6 - Which of the following are illegal variable names,...Ch. 2.6 - Prob. 2.8CPCh. 2.6 - Prob. 2.9CPCh. 2.6 - Prob. 2.10CP
Ch. 2.7 - Prob. 2.11CPCh. 2.7 - Which of the following is a character literal? B BCh. 2.7 - Prob. 2.13CPCh. 2.7 - Write a program that has the following character...Ch. 2.7 - What is wrong with the following program...Ch. 2.7 - Prob. 2.16CPCh. 2.7 - Write a program that stores your name, address,...Ch. 2.11 - Prob. 2.18CPCh. 2.11 - Prob. 2.19CPCh. 2.11 - Prob. 2.20CPCh. 2.14 - Is the following assignment statement valid or...Ch. 2.14 - How would you consolidate the following...Ch. 2.14 - What is wrong with the following program? How...Ch. 2.14 - Prob. 2.24CPCh. 2.16 - Prob. 2.25CPCh. 2 - How many operands does each of the following types...Ch. 2 - How may the double variables temp, weight, and age...Ch. 2 - Prob. 3RQECh. 2 - Write assignment statements that perform the...Ch. 2 - Is the following comment written using single-line...Ch. 2 - Is the following comment written using single-line...Ch. 2 - Modify the following program so it prints two...Ch. 2 - What will the following programs print on the...Ch. 2 - Multiple Choice 9. Every complete statement ends...Ch. 2 - Prob. 10RQECh. 2 - Every C++ program must have a ________. A) cout...Ch. 2 - Preprocessor directives begin with ________. A) #...Ch. 2 - The following data 72 'A' Hello World" 2.8712 are...Ch. 2 - A group of statements, such as the contents of a...Ch. 2 - Which of the following are not valid assignment...Ch. 2 - Which of the following are not valid cout...Ch. 2 - Assume w = 5, x = 4, y = 8, and z = 2. What value...Ch. 2 - How would each of the following numbers be...Ch. 2 - The negation operator is ________. A) unary B)...Ch. 2 - A(n) ___________ is like a variable, but its value...Ch. 2 - Prob. 21RQECh. 2 - T F A variable must be defined before it can be...Ch. 2 - T F Variable names may begin with a number.Ch. 2 - T F Variable names may be up to 31 characters...Ch. 2 - T F A left brace in a C++ program should always be...Ch. 2 - T F You cannot initialize a named constant that is...Ch. 2 - Prob. 27RQECh. 2 - Convert the following pseudocode to C++ code. Be...Ch. 2 - There are a number of syntax errors in the...Ch. 2 - Sum of Two Numbers Write a program that stores the...Ch. 2 - Sales Prediction The East Coast sales division of...Ch. 2 - Sales Tax Write a program that will compute the...Ch. 2 - Restaurant Bill Write a program that computes the...Ch. 2 - Average of Values To get the average of a series...Ch. 2 - Annual Pay Suppose an employee gets paid every two...Ch. 2 - Ocean Levels Assuming the oceans level is...Ch. 2 - Total Purchase A customer in a store is purchasing...Ch. 2 - Cyborg Data Type Sizes You have been given a job...Ch. 2 - Miles per Gallon A car holds 15 gallons of...Ch. 2 - Distance per Tank of Gas A car with a 20-gallon...Ch. 2 - Land Calculation One acre of land is equivalent to...Ch. 2 - Circuit Board Price An electronics company sells...Ch. 2 - Prob. 14PCCh. 2 - Triangle Pattern Write a program that displays the...Ch. 2 - Diamond Pattern Write a program that displays the...Ch. 2 - Stock Commission Kathryn bought 750 shares of...Ch. 2 - Energy Drink Consumption A soft drink company...
Knowledge Booster
Similar questions
- Multiplying a number by one half is the same as as taking half of the number. True or Falsearrow_forwardWhen multiplying or dividing integers with the same sign, the answer will bearrow_forwardHow is the decimal number 82.2801 represented using the decimal floating-point notation described in the text? A. 822801 * 104 B. 822801 * 10-4 C. 8.22801 * 10 D. 8.22801 * 10-1 E. both B and Carrow_forward
- The following is a multiplication problem in traditional base ten notation. Each letter represents a different digit. What digit does each letter represent? How did you get your foot in the door? XY*YX=XY*YZ=WVYarrow_forwardUse what you’ve learned about the binary numbering system in this chapter to convert the following decimal numbers to binary: 11 65 100 255arrow_forwardTAKE THE 2 LAST DIGITS OF YOUR STUDENT NUMBER. BY CONSIDERING IT AS A DECIMAL NUMBER, CONVERT ITINTO BINARY NUMBER. MY student number : 202010022arrow_forward
- A number that can not be expressed as a product of two positive numbersExcept 1 and itself is called .arrow_forwardwhat weight does the digit 0 have in each of the following numbers? a) (51.03)10 b) (11011)2 c) (703.12)8 d) (F2E.10A)16arrow_forwardAnswer the following Binary Multiplication: *similar to decimal multiplication* 5. 10 x 10 = 6. 101 x 10 = Binary Division: *Hint: very similar to decimal division* 7. 100 / 10 = 8. 1010 / 100 =arrow_forward
- NUMERICAL METHODS Convert the decimal number into binary floating point form A.)560 B.)0.65625arrow_forwardFind the value of the following sums (for b., round to 2 decimal places). Show your work using the formulas. Answers without work will not receive credit. This is not to be done simply by plugging the sum into a calculator.arrow_forwardWhat is the decimal value of 20?arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology Ptr
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr