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.

Answers

Answer 1

Answer:

whatt is this na ni??

Explanation:


Related Questions

Help please! Really need to find this out rn

Answers

I believe it’s the “body” answer, because the term P refers to a paragraph, and paragraph code terms don’t change the entire webpage.

what is theory of knowledge?​

Answers

Theory of knowledge (TOK) plays a special role in the International Baccalaureate® (IB) Diploma Programme (DP), by providing an opportunity for students to reflect on the nature of knowledge, and on how we know what we claim to know.

6 + 7 = 7 + 6 is an example of which property of addition?

Answers

Answer:

commutative

Explanation:

The commutative property states that the numbers on which we operate can be moved or swapped from their position without making any difference to the answer.

Commutative Property of Addition

Implement a program that manages shapes. Implement a class named Shape with a method area() which returns the double value 0.0. Implement three derived classes named Rectangle, Square, and Circle. Declare necessary properties in each including getter and setter function and a constructor that sets the values of these properties. Override the area() function in each by calculating the area using the defined properties in that class.

Answers

Answer:

Explanation:

The following code is written in Python. It creates the parent class Shape and the three subclasses Rectangle, Square, and Circle that extend Shape. Shape has the constructor which is empty and the area method which returns 0.0, while the three subclasses take in the necessary measurements for its constructor. Each subclass also has getter and setter methods for each variable and an overriden area() method which returns the shapes area.

class Shape:

   def __init__(self):

       pass

   def area(self):

       return 0.0

class Square(Shape):

   _length = 0

   _width = 0

   def __init__(self, length, width):

       self._width = width

       self._length = length

   def area(self):

       area = self._length * self._width

       return area

   def get_length(self):

       return self._length

   def get_width(self):

       return self._width

   def set_length(self, length):

       self._length = length

   def set_width(self, width):

       self._width = width

class Rectangle(Shape):

   _length = 0

   _width = 0

   def __init__(self, length, width):

       self._width = width

       self._length = length

   def area(self):

       area = self._length * self._width

       return area

   def get_length(self):

       return self._length

   def get_width(self):

       return self._width

   def set_length(self, length):

       self._length = length

   def set_width(self, width):

       self._width = width

class Circle(Shape):

   _radius = 0

   def __init__(self, radius):

       self._radius = radius

   def area(self):

       area = 2 * 3.14 * self._radius

       return area

   def get_radius(self):

       return self._radius

   def set_radius(self, radius):

       self._radius = radius

quá trình xử lý dữ liệu (OSI) bên máy gởi, nhận có vẽ hình minh họa

Answers

Answer:

haywood is and best president for you me ravi in the a for and have to the a and should you of lost

Explain why an immutable type cannot have a transferFrom method as specified in the Standard interface.

Answers

Answer:

The reason behind the given statement is provided below throughout the explanation portion.

Explanation:

Whenever developers operate in something like a multiprocessing atmosphere or framework, a mutable type seems to be crucial.Immutable type can't, therefore, have transferFrom methods, even if there is no constructor way for determining the further outcomes. At first, a rate is calculated while building mutable structures, thus this can never be changed.

In this exercise we have to explain how it is immutable in a transferform method, like this:

The immutable type cannot have because skilled is no builder way for determining the further outcomes.

First, let's define the  methods we are dealing with:

What is Transferform?

Transfer Form means a standardized form prescribed by the Management Company to be duly filed by the investor to transfer Units and will be stated in this Offering Document. Immutable type can't, accordingly, have transferFrom plans, even though there is no builder habit for deciding the further effects. At first, a rate is deliberate while construction mutable forms, accordingly this can never be transformed.

See more about Transferform at brainly.com/question/14448924

what is SEO and SEM?

Answers

Answer:

SEO stands for “search engine optimization.” In simple terms, it means the process of improving your site to increase its visibility for relevant searches.

SEM, or search engine marketing, is the act of using paid strategies to increase search visibility.

An IT systems engineer creates a new Domain Name System (DNS) zone that contains a pointer (PTR) resource records. Which zone type has been created?

Answers

Answer: Reverse DNS zone

Explo: a reverse DNS zone needs a PTR record since it is in charge of resolving the IP address to a domain or a hostname.

QUESTION 2
1 poin
A document contains a list of items that appear in no particular order. Which of the following is the best way to format the list?

Answers

Answer:

Group of answer choices.

A. Apply numbering to the list.

B. Apply bullets to the list.

C. Apply multilevel numbering to the list.

D. Manually enter a ">" character at the beginning of each item in the list.

Answer:

B. Apply bullets to the list.

Explanation:

Formatting is a feature found in a lot of word processing software applications such as Microsoft Word, Notepad, etc., which is designed to avail end users the ability to apply specific formatting options such as cut, bold, italics, underline, list, etc., to texts based on certain criteria defined by an end user.

Microsoft Word refers to a word processing software application or program developed by Microsoft Inc. to enable its users type, format and save text-based documents.

In Microsoft Word, a list can be formatted using a numbered or bulleted arrangement style. A numbered style (1, 2, 3, 4, etc) is typically used for an ordered list while a bullet is designed to be used for an unordered list.

Hence, the best way to format a document containing a list of items that appear in no particular order is to apply bullets to the list.

For example, a bulleted list of my favorite subjects arranged in no particular order would appear as this;

English language

Mathematics

Geography

Biology

Chemistry

Physics

Computer technology

What is the HIE? What is its purpose?

Answers

Answer:

Electronic health information exchange (HIE) allows doctors, nurses, pharmacists, other health care providers and patients to appropriately access and securely share a patient's vital medical information electronically—improving the speed, quality, safety and cost of patient care.

Explanation:

Answer:

HIE is a system that helps tansport patients when it becomes overwhelmed.

Explanation:

At the point when medical services suppliers approach total and exact data, patients get better clinical consideration. Electronic wellbeing records (EHRs) can improve the capacity to analyze illnesses and lessen risks. Doing this helps patients get timely care. More severe cases can be treated quickly.

If a program compiles fine, but it produces an incorrect result, then the program suffers from _______________.

Answers

In my answer I am making an assumption that there is no runtime error, if there is then the error is “a run-time error”.

The answer is the program suffers from a Logic Error

If a program compiles fine, but it produces an incorrect result, then the program suffers from Logic Error.

What is program?

A program has been the set of the instructions that the computer can follow that are written in a programming language. The size of the computer program affects the likelihood that an error may occur. To create an executable that a computer can run, a C program needs to be run through a C compiler. Programs are collections of instructions that a computer follows. Function is an ordered, reusable code unit.

When a program is syntactically sound but has a bug that is only discovered during program execution, it is said to have a runtime error. The Java compiler is unable to catch these errors during compilation; instead, the Java Virtual Machine (JVM) only notices them when the application is running. Runtime problems may occur when a website uses HTML code that is incompatible with a web browser's capabilities.

Therefore, if a program compiles fine, but it terminates abnormally at runtime, then the program suffers a runtime error.

To learn more about program, refer to the link below:

brainly.com/question/11023419

#SPJ2

You've run 200 ft of cable and lost 7dB. What is the loss rate of your cable per 100 ft?

Answers

Answer:Explanation: If 5 dB was lost after 200 ft of cable and 100 ft is half of 200 ft, then the rate of loss should be 2.5 dB per 100 ft.

Explanation:

The loss rate is 3.5 dB per 100 ft.

According to the question, 7 decibels were lost after running 200 ft of cable.

This means that half of 7 decibels will be lost after running 100 ft of cable.

Representing this mathematically, we will have;

200 ft = 7 dB

100 ft = ?

100 ft * 7 dB/ 200 ft

=700 dB/200

= 3.5 dB

In conclusion, 3.5 dB of cable was lost per 100 ft.

Learn more about loss rate here:

https://brainly.com/question/14623935

What aspect should you consider before adding pictures to a document?

You should structure the BLANK first before you search for a relevant picture.

Answers

Answer:

You should structure the text first before you search for a relevant picture.

Explanation:

When adding a picture or pictures to a text document, the structure of the text must be considered.

Structure as used in the above sentence means (but is not limited to), the headings, the layouts, the spacing, paragraphs and word formatting in the document.

In other words, the way the document is organized

All these must be put in to place before one adds pictures into the document.

Which technology do online storesusually use to present customized content?

Online stores usually
use _____ technology to present customized content.

Answers

Answer:

real time analytics technology

Explanation:

Online stores usually use real-time analytics technology to present customized content. Explanation: Real-time analytics is gaining popularity nowadays. It is basically the procedure of measuring and preparing the data as it enters the database

We need an equals method for the Dog class. It needs to give back to the caller a boolean value indicating whether another object of the same type's attributes are all of the same value as the calling object's. Provide the entire method (header and code), and only the method.
public class Dog {
private String name;
private int age;
private int [] healthScores;
}

Answers

Answer and Explanation:

Using Javascript:

Class Dog{

var healthScores=[];

Constructor(name, age, ...healthScores) {this.name=name;

this.age=age;

this.healthsScores=healthScores;

}

checkObject(new Dog){

If(new Dog.name===this.name,new Dog.age===this.age, new Dog.healthScores===this.healthScores){return true;

}

else{

console.log("objects are not equal");

}

}

}

To call the method checkObject:

var Tesa = new Dog(Tes,1,[45,46,82]);

var Bingo = new Dog(bing,2,[43,46,82]);

Bingo.checkObject(Tesa);

Note: we have used ES6(latest version of Javascript) where we passed the healthScore parameter(which is an array) to our constructor using the spread operator.

Calculate the boiling point of 3.42 m solution of ethylene glycol, C2H602, in water (Kb =0.51°C/m, the normal boiling point of water is 100°C):​

Answers

Answer:

128.10 degree Celsius

Explanation:

The boiling point is given by

[tex]T_b = \frac{1000*K_b * w}{M*W}[/tex]

Substituting the given values, we get -

[tex]T_b = \frac{1000*0.51 * 3.42}{62.07}\\T_b = 28.10[/tex]

Tb is the change in temperature

T2 -T1 = 28.10

T2 = 28.10 +100

T2 = 128.10 degree Celsius

Adding Web pages helps Web designers ___. Choose all answers that are correct.
A) Create multiple websites
B) Organize information
C) Make their websites more user-friendly
D) Return to their designs over time to make edits

Answers

Answer:

B

Explanation:

Adding Web pages helps Web designers Organize information. The correct option is B)

What is a web page?

A website should be made such that anyone using it can quickly find what they're searching for and understand what each feature on the page performs without having to ask for assistance or go through a lengthy tutorial.

When users access the website for the first time, they should be able to do so right away and do so as frequently as they have in the past. Additionally, the website needs to be responsively constructed. Web design is crucial because it affects how potential customers see your company.

The first impression you provide them will determine whether they stay on your page to learn more about your company, or whether they click on a competitor's page instead.

Therefore, the correct option is B) Organize information.

To learn more about a web page, refer to the link:

https://brainly.com/question/22775095

#SPJ2

what is the best sites for excel learning?

Answers

Explanation:

Microsoft Excel Help Center

GCF learner free

Excel Central

Chandoo

Excel Hero

Contextures

Coursera

#Carryonlearning

Udemy.com is the best site for excel learning. And it’s very simple just going the website and type in what your looking for and all the sites will pop up that have what your looking for.

What is the IP address and TCP port number used by the client computer (source) that is transferring the file to gaia.cs.umass.edu

Answers

Answer:

Explanation:

ae

At one college, the tuition for a full-time student is $6,000 per semester. It has been announced that the tuition will increase by 2 percent each year for the next five years. Design a program with a loop that displays the projected semester tuition amount for the next five years.

Answers

Answer:grhgrt

Explanation:

The program is an illustration of loops;

Loops are program statements used to perform repetition

The tuition program

The program written in Python, where comments are used to explain each action is as follows:

#This initializes the fee

fee = 6000

#The following loop is repeated 5 times

for i in range(5):

   #This calculates the fee, each year

   fee *= 1.02

   #This prints the calculated fee

   print(round(fee,2),end=" ")

Read more about loops at:

https://brainly.com/question/24833629

#SPJ6

Network Adress Translations

Answers

Uhhh what ????? What’s this supposed to mean

Explain the steps that are needed to remove the data items from linked list

Answers

Explanation:

Iterative Method:

To delete a node from the linked list, we need to do the following steps.

1) Find the previous node of the node to be deleted.

2) Change the next of the previous node.

3) Free memory for the node to be deleted.

is a collection of information stored under a single nam​

Answers

Answer:

File

plz mark it as brainliest

[tex]\boxed{ File }[/tex] is a collection of information stored under a single name.

[tex]\large\mathfrak{{\pmb{\underline{\orange{Mystique35 }}{\orange{❦}}}}}[/tex]

Waygate's residential Internet modem works well but is sensitive to power-line fluctuations. On average, this product hangs up and needs resetting every 200 hours. On average about 45 minutes is needed to reset this product. What is this product's availability

Answers

Answer:

The answer is "In excess of 0.95 "

Explanation:

[tex]MTBF= 200\ hours (12,000\ minutes)\\\\MTR= 45\ minutes (0.75\ hours)[/tex]

Availability equation [tex]=\frac{ MTBF}{(MTBF+MTR)}[/tex]  

Calculating the minutes as the common units:

[tex]= \frac{12,000}{(12,000+45)}\\\\= \frac{12,000}{(12,045)}\\\\= 0.9962\\\\= In\ excess\ of\ 0.95[/tex]

Calculating the hours as the common units:

 [tex]= \frac{200}{(200+0.75)}\\\\= \frac{200}{200.75}\\\\= 0.9962\\\\= In \ excess\ of\ 0.95[/tex]

Scenario: The Development group in a company wants to setup theirown Child Domain to have full control on managing their accounts and policies. The Main IT group is recommending they are setup with an Organizational Unit, and delegating the appropriate access.Make your case supporting either the Development group or the Main IT group.Computer ScienceEngineering & TechnologyNetworkingIFT 220

Answers

Answer:

(:

Explanation:

I have been working on this python program for a hour now, and I am trying to figure out what I an doing wrong in the loop. I have attached the code and screenshot of my work. I need help to figure out how to loop the rest of the years for a calculation. The calculation has looped the same result for all years.
This is the assignment:
In 2017, the tuition for a full time student is $6,450 per semester. The tuition will be going up for the next 7 years at a rate of 3.5% per year. Write your python program using a loop that displays the projected semester tuition for the next 7 years. You should display the actual year (2018, 2019, through 2024) and the tuition amount per semester for that year.
Here is my code:
# declare global constant variables
startingTuition = 6450.00;
starting_tuitionYear = 2018;
ending_tuitionYear = 2025;
increment = 1;
rate = .035;
tuition = 0;
tuitionRate = 0;
#loop for the next 7 years
for year in range(starting_tuitionYear, ending_tuitionYear, increment):
# calculate rate per year
tuitionRate = (rate)*startingTuition;
# add rate per year to the tuition fee
tuition = startingTuition + tuitionRate;
print('Tuition for the year of ' + str(year)+ ' is ' + str(tuition));

Answers

Answer:

The correct loop is as follows:

for year in range(starting_tuitionYear, ending_tuitionYear, increment):

   tuition = startingTuition + rate * startingTuition

   startingTuition = tuition

   print('Tuition for the year of ' + str(year)+ ' is ' + str(tuition));

Explanation:

Required

The correction to the attached program

Some variables are not needed; so, I've removed the redundant variables.

The main error in the program is in the loop;

After the tuition for each year has been calculated, the startTuition of the next year must be set to the current tuition

See attachment for complete program

Create a static method that: - is called appendPosSum - returns an ArrayList - takes one parameter: an ArrayList of Integers This method should: - Create a new ArrayList of Integers - Add only the positive Integers to the new ArrayList - Sum the positive Integers in the new ArrayList and add the Sum as the last element For example, if the incoming ArrayList contains the Integers (4,-6,3,-8,0,4,3), the ArrayList that gets returned should be (4,3,4,3,14), with 14 being the sum of (4,3,4,3). The original ArrayList should remain unchanged.

Answers

Answer:

The method in Java is as follows:

public static ArrayList<Integer> appendPosSum(ArrayList<Integer> nums) {

   int sum = 0;

   ArrayList<Integer> newArr = new ArrayList<>();

   for(int num : nums) {

       if(num>0){

           sum+=num;

           newArr.add(num);        }    }

   newArr.add(sum);

   return newArr;

 }

Explanation:

This defines the method; it receives an integer arraylist as its parameter; nums

public static ArrayList<Integer> appendPosSum(ArrayList<Integer> nums) {

This initializes sum to 0

   int sum = 0;

This declares a new integer arraylist; newArr

   ArrayList<Integer> newArr = new ArrayList<>();

This iterates through nums

   for(int num : nums) {

If current element is greater than 0

       if(num>0){

This sum is taken

           sum+=num;

And the element is added to newArr

           newArr.add(num);        }    }

At the end of the iteration; this adds the calculated sum to newArr  

newArr.add(sum);

This returns newArr

   return newArr;

 }

The Self-Quiz gives you an opportunity to self-assess your knowledge of what you have learned so far.

a. True
b. False

Answers

Answer:

a. True

Explanation:

A test can be defined as an examination or quiz given to a student (pupil) during an academic calendar in order to measure or determine his or her intelligence. It is usually graded based on a set of defined grades or scores.

The key characteristics of a well-designed test includes the following;

I. Standardization: it is important that test is set based on certain criteria and acceptable rules within the education community and curriculum.

II. Reliability: the questions contained in a test should be credible and backed by correct answers.

III. Validity: the test questions should be genuine and authentic across board.

Basically, a Self-Quiz is a form of test which is aimed at assessing or measuring the knowledge of a self quiz taker (user) such as a student or pupil.

This ultimately implies that, Self-Quiz avail an end users the opportunity to self-assess his or her knowledge of what he or she might have learned over a specific period of time.

However, any result or score obtained through a Self-Quiz count for nothing with respect to final grade or gaining admission into the university.

In the future, will training
and education become
more or less desirable?

Answers

To young children and students it'll be less desirable as they just want to play, I mean this is a natural characteristic of children so there's nothing to blame on them, but to young adults like college students and also parents, it's likely to be more desirable as they want their children to have a bright future through studying hard and landing themselves in good jobs. however, to some parents they might find it less desirable as they do not want their children to have pressure or and form of stress since it might still be the strawberry generation in the future.

Lesssssssssssssssssss

10. Question
Which statement is true about computer security?

Answers

Answer:

they cannot share your privacy with others without your concern

Other Questions
$300 at 5% annual interest for 7 yearsFind the simple interest earned in the account.A. $214.29B. $11.67C. $420.00D. $105.00 Given f (x) = x +1 and g(x) = x, what is (gf)(x)?A) (gf)(x) = x + x +1B) (gf)(2) = (x + 1)^2C) (gf)(x) = 2^2 (x + 1)D) (gf)(x) = x^2 +1 What is the area of the triangle in the diagram? 1 SeleccionarSelect the item that does not belong1. avionagente de viajesO motocicletaauto2. vientoO dcimooctavotercero3. O el avinO el otooO el barcoO elad4. estar de vacacionesOir de vacacionesO estar nubladohacer un viaje5. O otooO primaveramesinvierno6. O loveracamparmontar a caballopesca Is there side affects for having no cartilage in your nose?links will be reported. Also those with non related answer:also be reported. Find the value of x. Show work Mystery, Inc. is contemplating selling bonds. The issue is to be composed of 800 bonds, each with a face amount of $750. How much is Mystery, Inc. able to borrow (in total) if each bond is sold at 95% of par NEED HELP END OF THE YEAR TESTGraham was given the following function table.What is the output if x=8? Solve for the missing angle measures. Urgent I need help please Samson Corporation had sales of $1,000,000 during 2012, of which 60 percent were on credit. On December 31, 2012, Accounts Receivable totaled $80,000, and Allowance for Bad Debts had a credit balance of $1,200. Given this information, if uncollectible receivables are estimated to be 1/2 of 1 percent of credit sales, the adjusting entry to account for uncollectible receivables as of December 31, 2012, would include a:________A) Debit to Bad Debt Expense of $3,000 B) Debit to Bad Debt Expense of $1,800 C) Credit to Bad Debt Expense of $3,000 D) Credit to Allowance for Bad Debts of $5,000 Order the following numbers from least to greatest. U can use a calculator. NO LINKS The resulting row 1 entries are:7.127.107,9 Box- and- whisker plot!!! A,B,C, or D?? NO PINKS PLEASE! an angle exceeds three times its complement by 10 find itASAP To avoid potential liability for misconduct in corporate operations, directors can refrain from reasonable supervision of work delegated to a. none of the choices. b. corporate employees. c. corporate officers. d. board committees. Apart from muscles contracting, what other types of activities has your body done in the past 24 hours that require energy? Complete the list below. Question # 1 Multiple Choice Antimicrobials are only used to inhibit disease-spreading organisms in food products. False True In the diagram below, KL = 12 and LM = 8. Which additional facts would guarantee that JKLM is a parallelogram? Check all that apply K 12 8 A. JK = 12, and JM is parallel to KL B. JK = 8, JM = 8 C. JK = 8, and JK is parallel to LM D. JK = 8, JM = 12 4,284 passengers traveling by the intercity bus every day, the intercity bus operates 6 hours every day, find the number of passengers every hourPlease do it as quick as possible