subject
Computers and Technology, 18.06.2021 01:40 kidzay

Write a C# program named DoubleDecimalTest thatdeclares and displays two variables - a double and a decimal. Experiment by assigning the same constant value to each variable sothat the assignment to the double is legal but the assignment tothe decimal is not. In other words, when you leave the decimalassignment statement in the program, an error message should begenerated that indicates the value is outside the range of the typedecimal, but when you comment out the decimal assignment and itsoutput statement, the program should compile correctly.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 12:30
An atom's diameter is about 0.1 nanometer (1×10-9m), and a human hair is about 1×10-3m. how many times greater is a human hair than an atom's diameter? sorry pushed wronf button but this is math
Answers: 3
question
Computers and Technology, 22.06.2019 17:00
Annie is creating a corporate report for a company’s annual meeting. in the report, she wants to add the signature of various department heads. which device can annie use to capture signatures to include in the report? a. printer b. monitor c. e-reader d. digitizing tablet
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
You need a quick answer from a coworker. the most effective way to reach your coworker is through a. cloud server b. instant message c. teleconference d. telepresence
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
The first screen you see when you open word2016 what is called?
Answers: 1
You know the right answer?
Write a C# program named DoubleDecimalTest thatdeclares and displays two variables - a double and a...
Questions
question
Advanced Placement (AP), 20.11.2020 15:20
question
Mathematics, 20.11.2020 15:20
question
Mathematics, 20.11.2020 15:20
Questions on the website: 13722367