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
cluponka [151]
2 years ago
12

Write convert() method to cast double to int Complete the convert() method that casts the parameter from a double to an integer

and returns the result. Note that the main() method prints out the returned value of the convert() method.
Ex: If the double value is 19.9, then the output is: 19
Ex: If the double value is 3.1, then the output is: 3
Computers and Technology
1 answer:
alexgriva [62]2 years ago
8 0

Answer:

Write convert() method to cast double to int Complete the convert() method that casts the parameter from a double to an integer and returns the result. Note that the main() method prints out the returned value of the convert() method.

Ex: If the double value is 19.9, then the output is: 19

Ex: If the double value is 3.1, then the output is: 3

Explanation:

<h3>plz bhai mera answer ko brainliest kar do.....</h3>
You might be interested in
10. Differentiate between equity share &amp; preference share.​
IrinaVladis [17]

Answer:

Equity Shares are commonly called Common shares and have both advantages and disadvantages over Preference shares.

  • Equity shareholders are allowed to vote on company issues while preference shareholders can not.
  • Preference shareholders get paid first between the two in the case that the company liquidates from bankruptcy.
  • Preference shareholders get a fixed dividend that has to be paid before equity share dividends are paid.
  • Preference shareholders can convert their shares to Equity shares but equity shareholders do not have the same courtesy.
  • Preference shares can only be sold back to the company while equity shares can be sold to anybody.

5 0
2 years ago
Convert the following decimal number to its equivalent binary ,octal,hexadecimal 1920​
Serhud [2]

Answer:

0b11110000000 is binary

0o3600 is in octal

0x780 in hexa dec.

Explanation:its a bit complitcated to explain sorry bro!

3 0
3 years ago
An electronic resume is a plain-looking document. True of False?
Contact [7]
I think it's TRUE!!!!!!!!!!
8 0
3 years ago
Read 2 more answers
Selena needs to insert a comment in a webpage's code to ensure that other web team members who work with the page code understan
ANTONII [103]

Answer:

<!-- Modified by selena ramirez - for html compliance -->

Explanation:

In HTML, <!-- .. --> tag is used to insert comments in the webpage code.

Comments written inside the tag is visible only on the code, and is not displayed in the browsers when the page is requested by the client computer.

<em>Comment tag</em> is useful when there is a lot of code and multiple developers are dealing with the same code.

Comments help developers understand what changed is made and why.

5 0
3 years ago
To achieve balance—that is, to operate an information system that satisfies the user and the security professional—the security
marta [7]

the answer is True

there has to be a balance between security and the user experience

7 0
3 years ago
Other questions:
  • Access Control can be defined as putting controls (or countermeasures) in place to help achieve information security goals. Whic
    13·2 answers
  • "list at least 3 key performance indicators that should be considered prior to initiating a cloud deployment."
    15·1 answer
  • As the new manager at your local grocery store, you want to create a more efficient inventory process by allowing outside vendor
    6·1 answer
  • What two pieces of information would you need in order to measure the masses of stars in an eclipsing binary system?
    9·1 answer
  • True / False<br> An instruction’s opcode generally indicates the number and type of its operands.
    5·1 answer
  • Where does the list of incoming mail appear in gmail
    13·2 answers
  • What command should be executed to view the configuration of the nic?
    7·1 answer
  • What does it mean to be a good cyber citizen?
    8·2 answers
  • Software that allows users to use and adapt it for any purpose, often allowing the public to participate in further development
    7·2 answers
  • How would you open the web browser in Linux and still have access to the Linux terminal?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!