Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

always keeps a fixed decimal point, regardless of the number of digits displayed. For example, 1.50000000000 is expressed in fixed notation. Scientific notation displays numbers

image text in transcribed
always keeps a "fixed" decimal point, regardless of the number of digits displayed. For example, 1.50000000000 is expressed in fixed notation. Scientific notation displays numbers in a format such as 1.5E+10. 11. If you have any questions as you proced, ask your lab instructor for help. Follow-Up Questions and Activities 1. Execute the program, and enter a floating-point number when you are prompted for an account number. Observe what happens. You are no longer asked to input a beginning balance. Your output screen may resemble the output accompanying this question. Instead, the program prompts you to enter only total charges, total credits and credit limit. Why does this situation occur? Enter account number (-1 to end): 123.456 Enter beginning balance: Enter total charges: Why is it necessary to ask the user to input the first account number before you begin the while loop? What problems could occur if the user were asked for an account number only inside the while loop? 2. always keeps a "fixed" decimal point, regardless of the number of digits displayed. For example, 1.50000000000 is expressed in fixed notation. Scientific notation displays numbers in a format such as 1.5E+10. 11. If you have any questions as you proced, ask your lab instructor for help. Follow-Up Questions and Activities 1. Execute the program, and enter a floating-point number when you are prompted for an account number. Observe what happens. You are no longer asked to input a beginning balance. Your output screen may resemble the output accompanying this question. Instead, the program prompts you to enter only total charges, total credits and credit limit. Why does this situation occur? Enter account number (-1 to end): 123.456 Enter beginning balance: Enter total charges: Why is it necessary to ask the user to input the first account number before you begin the while loop? What problems could occur if the user were asked for an account number only inside the while loop? 2

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_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions