1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Sophie [7]
3 years ago
9

Creating objects of the currency class requires a name (string ), a currency symbol (string ) and the number of decimal places (

integer ) usually associated with the currency (in that order). define an object named curr, of type currency corresponding to "us dollar" with the symbol "$" and 2 decimal places.
Computers and Technology
1 answer:
Thepotemich [5.8K]3 years ago
7 0
We are given with
name = curr
currency = $
decimal places = 2

Defining the object requires declaring it as a string character. So,
string.Format("$", "{0:0.00}")

The object is string with keyword string
The format is that there is a dollar sign at the start and a number of two decimal places hence the format 0:0.00<span />
You might be interested in
Sally needs to teach her class how to convert a decimal number to a binary number. What is the first step she should take to sta
Alborosie

<u>Answer:</u>

  • <em>A. divide the decimal number by the base value 2</em>
  • <em>C. note the remainder separately</em>
  • <em>D. divide by 2 until she gets 0 as the remainder</em>
  • <em>B. collect the digits in the reverse order</em>

<u>Explanation:</u>

When we want to convert decimal number to a binary number first we have divide the given number by 2. The next step is to note the reminder of the number in the side every division so that the reminder value is the binary value. Repeat this until an zero is encountered.

We have to collate all the remainders from last of first and then the collated number is the answer for the given problem.

<em>So the given option can be ordered as, </em>

  • <em>A</em>
  • <em>C</em>
  • <em>D</em>
  • <em>B</em>
6 0
4 years ago
Dora electronically transferred $591.68 from her checking account to Matt's checking account. In what column of the check regist
Allisa [31]
The answer is D.Payment/Debit
4 0
3 years ago
Read 2 more answers
What term is commonly used to refer to HTML formatting?
yanalaym [24]

Answer: No particular term

Explanation:

If by formatting you are referring to the presentation of the html page or website means how the forntend looks then css is used. In case of text formatting then bold <b><b/> italic <i></i> small <small></small> superscript <sup></sup> subscript <sub></sub> etc tags available

6 0
4 years ago
Who do u play as in sister location
seropon [69]
Well, it really depends on who you believe, because i have a lot of friends who say it is Purple Guy, but i have others that say you just play as an unknown character. So, i would go with Purple Guy, but I'm only like 85 percent sure.
5 0
3 years ago
Read 2 more answers
What is the best list to use to speed up a research plan
iren2701 [21]

Answer:

Well here is what I got

Explanation:

1. Title

2. Abstract or summary

3. Background, context or rationale

4. Aims and objectives

5. Hypothesis

6. Literature review

7. Research design and methods

8. Ethical issues

9. Project timetable

10. Deliverables, outputs and outcomes

11. Risk assessment

12. Resources and costs

13. Project evaluation

14. References

15. Appendices

Hope I helped. Pls mark mine as brainliest

6 0
3 years ago
Other questions:
  • What is the advantage of defining a target user?
    14·1 answer
  • How to write equal to or greater than in word?
    9·1 answer
  • ENG103 DISCUSSION BOARD 6
    15·1 answer
  • Akira has trouble reading what is on the computer screen and sometimes seeing pictures on websites. As her friend, you explain t
    8·1 answer
  • Business Professionals of America, and Future Business Leaders of America – Phi Beta Lambda are both open to business students a
    15·2 answers
  • What is a Joint Staff approved, standardized communications link that is suitable for the transmission of digital information an
    5·1 answer
  • Which statement is false? Select one: a. Function printf does not care how large the array it is printing is. b. Function scanf
    9·1 answer
  • Your friend gave you a flash drive containing photos from a weekend event. After you copy the files, you notice a bunch of .DS f
    6·1 answer
  • Displays information a bout drivers, network connections, and other program-related details.
    6·1 answer
  • How do we store value in a variable? Give an example
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!