2 Programming Exercises 2.1 Write an interactive C# program that includes a named constant repre- senting next year's anticipated 20% raise for each employee in a company. Now, declare a variable to represent the current salary of an employee that ac- cepts user input, and display, with explanatory text, the old salary, the value of the raise, and the new salary for the employee. A sample run follows.

Enter your name: John Hello John! Enter your current salary: 2008 old salary is $2000 plus $400 raise equals $2400 as a new salary! Press any key to continue ,​

Answers

Answer 1

Answer:

using System;

class ProjectedRaises {

static void Main() {

    const float raise = 0.04f;

    double salary1 = 0.0f,salary2 = 0.0f,salary3 = 0.0f;

Console.WriteLine("Current salary for each employee: ");

    salary1 = Single.Parse(Console.ReadLine());

    salary2 = Single.Parse(Console.ReadLine());

    salary3 = Single.Parse(Console.ReadLine());

    salary1 = salary1 + raise * salary1;

    salary2 = salary2 + raise * salary2;

    salary3 = salary3 + raise * salary3;

    Console.WriteLine("Next year salary for the employees are: ");

    Console.WriteLine(Math.Round(salary1));

    Console.WriteLine(Math.Round(salary2));

    Console.WriteLine(Math.Round(salary3));

}

}

Explanation:

This declares and initializes variable raise as a float constant

    const float raise = 0.04f;

This declares the salary of each employee as double

    double salary1 = 0.0f,salary2 = 0.0f,salary3 = 0.0f;

This prompts the user for the salaries of the employee

Console.WriteLine("Current salary for each employee: ");

The next three lines get the salary of the employees

    salary1 = Single.Parse(Console.ReadLine());

    salary2 = Single.Parse(Console.ReadLine());

    salary3 = Single.Parse(Console.ReadLine());

The next three lines calculate the new salaries of the employees

    salary1 = salary1 + raise * salary1;

    salary2 = salary2 + raise * salary2;

    salary3 = salary3 + raise * salary3;

This prints the header

    Console.WriteLine("Next year salary for the employees are: ");

The next three lines print the new salaries of the employees

    Console.WriteLine(Math.Round(salary1));

    Console.WriteLine(Math.Round(salary2));

    Console.WriteLine(Math.Round(salary3));

Explanation:


Related Questions

which statements describes the size of an atom

Answers

answer:

A statement that I always think about to understand the size of an atom. If you squish a person down to the size of an atom. It will make a black hole. and if you squish the whole Earth. down to the size of a jelly bean it will also make a black hole. This is just a approximation.

-----------------------

I use the scale to understand how small that is I am open to hear more principles if you were talking about math wise that would be glad to help.

if you have anymore questions I will try to answer your questions to what I know.

.

A chart legend?

A.corresponds to the title of the data series column.
B.provides the boundaries of the chart graphic.
C.is based on the category labels in the first column of data.
D.is used to change the style of a chart.

Answers

A chart legend can be useful in some cases during data process
Change style and f art

What is the main difference between sequential and parallel computing?

Answers

Answer:

In sequential composition, different program components execute in sequence on all processors. In parallel composition, different program components execute concurrently on different processors. In concurrent composition, different program components execute concurrently on the same processors.

The differences is that in sequential, a lot of program parts exist that help execute in stages on all given processors. While in parallel a lot of program parts execute concurrently on more than one processors.

What is the difference between parallel and sequential?

Parallel computing is one where a given processes that is running do not wait for the former process to be done before it runs.

While Sequential is one where the process are said to be executed only by doing  one at a time.

Therefore, the differences is that in sequential, a lot of program parts exist that help execute in stages on all given processors. While in parallel a lot of program parts execute concurrently on more than one processors.

Learn more about processors from

https://brainly.com/question/614196

Write a Java program that will be using the string that the user input. That string will be used as a screen
saver with a panel background color BLACK. The panel will be of a size of 500 pixels wide and 500 pixels in
height. The text will be changing color and position every 50 milliseconds. You need to have a variable
iterator that will be used to decrease the RGB color depending on if it is 0 for Red, 1 for Green, or 2 for Blue,
in multiples of 5. The initial color should be the combination for 255, 255, 255 for RGB. The text to display
should include the Red, Green, and Blue values. The initial position of the string will be the bottom right of
the panel and has to go moving towards the top left corner of the panel.

Answers

Using the knowledge in computational language in JAVA it is possible to write a code that string will be used as a screen saver with a panel background color BLACK.

Writting the code:

import java.awt.*;

import java.util.*;

import javax.swing.JFrame;

class ScreenSaver

{

    public static void main( String args[] )

   {

       Scanner sc=new Scanner(System.in);

       System.out.println("Enter a name you want add as a Screen_saver:");

       String s=sc.nextLine(); //read input

       sc.close();

           JFrame frame = new JFrame( " Name ScreenSaver " );

       frame.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );

             JPanalSaver saver1JPanel = new JPanalSaver(s);

               saver1JPanel.setPreferredSize(new Dimension(500,500));

               frame.add( saver1JPanel );

       frame.setSize( 500, 500 ); // set the frame size (if panel size is not equal to frame size, text will not go to top left corner)

       frame.setVisible( true ); // displaying frame

   }

}

JPanalSaver.java

import java.awt.Color;

import java.awt.Graphics;

import javax.swing.JPanel;

public class JPanalSaver extends JPanel {

   int x1 = 500, y1 = 500;

   int r = 255, g1 = 255, b = 255;

   String color;

   int iterator = 0;

   JPanalSaver(String c) {

       color = c;

   }

   public void paintComponent(Graphics g) {

       super.paintComponent(g); // call super class's paintComponent

       x1 = x1 - 5;

       y1 = y1 - 5;

              if (iterator ==0) {

                     r = Math.abs((r - 5) % 255);

           iterator = 1;

       } else if (iterator == 1) {

           g1 = Math.abs((g1 - 5) % 255);

           iterator = 2;

       } else {

           b = Math.abs((b - 5) % 255);

           iterator = 0;

       }

       g.setColor(new Color(r, g1, b));

       g.drawString(color + " " + r + " " + g1 + " " + b, x1, y1); //string + value of RGB

       //top left position (0,0 will not display the data, hence used 5,10)

       if (x1 > 5 && y1 > 10)

       {

           repaint(); // repaint component

           try {

               Thread.sleep(50);

           } catch (InterruptedException e) {

           }   //50 milliseconds sleep

       } else

           return;

   }

See more about JAVA at brainly.com/question/13208346

#SPJ1

Write a Java program that will be using the string that the user input. That string will be used as a

To delete a persistent cookie, you Group of answer choices Use the Clear method of the HttpCookieCollection class Use the Remove method of the HttpCookieCollection class Set the Expires property of the cookie to a time in the past Set the Expires property of the cookie to -1

Answers

Answer:

Explanation:  

To delete a persistent cookie, you a. use the Clear method of the HttpCookieCollection class b. use the Remove method of the HttpCookieCollection class c. set the Expires property of the cookie to a time in the past d. set the …

c. set the Expires property of the cookie to a time in the past

Choose one piece of information your class can know, but you don’t want to share on your website. Why is it okay for your classmates and teacher to know it, but not to post it publicly?

Answers

Answer:

because other people you dont know can see it and it can sometimes not be good

Explanation:

To convert microseconds to nanoseconds: a. Take the reciprocal of the number of microseconds. b. Multiply the number of microseconds by 0.001. c. Multiply the number of microseconds by 0.000001. d. Multiply the number of microseconds by 1,000. e. Multiply the number of microseconds by 1,000,000.

Answers

Answer: D. Multiply the number of microseconds by 1,000.

Explanation:

In order to convert microseconds to nanoseconds, it should be noted that one should multiply the number of microseconds by 1,000.

For example, if we want to convert 12 microseconds to nanoseconds. This will be:

= 12 × 1000

= 12000 nanoseconds.

Therefore, with regards to the information given above, the correct option is D.

The source document states:

(S) The range of the weapon is 70 miles.

The new document states:

(S) The weapon may successfully be deployed at a range of 70 miles.

Which concept was used to determine the derivative classification of the new document?

Select one:

a.
Revealed by


b.
Classification by Compilation


c.
Extension


d.
Contained in

Answers

Answer: its b i took the test

Explanation:

In C++

Write a switch statement that checks nextChoice. If 0, print "Rock". If 1, print "Paper". If 2, print "Scissors". For any other value, print "Unknown". End with newline.

Answers

switch(nextChoice) {

case 0:

cout << "Rock" << endl;

break;

case 1:

cout << "Paper" << endl;

break;

case 2:

cout << "Scissors" << endl;

break;

default:

cout << "Unknown" << endl;

}

This switch statement checks the value of the variable nextChoice. If the value is 0, it will print "Rock" and end the switch statement with the break statement. If the value is 1, it will print "Paper" and end the switch statement. If the value is 2, it will print "Scissors" and end the switch statement. For any other value, the default case will be executed, printing "Unknown" and end the switch statement.

Three reasons Why we connect speakers to computers

Answers

1. Some computers do not have speaker therefore we connect speakers

2. Some speakers don’t have clear audio so to fix that we connect new ones

3. What do you do if your speaker inside the computer is broken..... connect new speakers

Answer:

we connected speakers with computers for listening voices or sound .. because the computer has not their own speaker..

Explanation:

Presentations can be saved by selecting Save from the _____ menu.


File


Window


Tools


Format


Good luck :)

Answers

Answer:

Save from the file menu.

Answer:

for tho yeah bro

Explanation:

What happens when you remove the remaining values of the time line script displayed at the right of your screen?

A. It will not work at all
B. It will revert all scripts automatically
C. It will still work
D. It will not be visible
E. None of the above.

Answers

The thing that happens when you remove the remaining values of the time line script displayed at the right of your screen is option : D. It will not be visible

What does a lined script serve?

A script's lining is one that improves coverage. A list of the scripts you have access to appears at the top of the script tab.

The navigation bar at the top of the screen and the current script are both highlighted in blue. In the case of this, Simply choose the new script you want to use to switch scripts.

Therefore, To create a new script, write its name in the box labeled "New Script Name" at the top of the page, then click the Create Script button. Swipe the script you wish to delete from right to left, and then click the red button to delete it. Press the info button to access a script (i).

Learn more about line script from

https://brainly.com/question/14659373
#SPJ1

Why is Java declining in popularity?

Answers

Answer:

other languages are increasing in popularity

Explanation:

The simple main reason for this is that other languages are increasing in popularity. There are many open-source languages that are being optimized constantly and upgraded with new features. The ability for these languages to perform many tasks better than Java makes it the obvious choice when a developer is choosing a language to develop their program on. Two of these languages are Javascript and Python. Both can do everything that Java can and with less code, faster, and cleaner.

] 1. Which file type should she use to print the pictures?​

Answers

JPG or JPEG

Explanation:

A JPG is versatile in that you can use this file format for print or web, depending on the file's dots per inch (dpi) or pixels per inch (ppi). Images for the web should be 72 dpi, while images for print should be at least 300 dpi. Best used for photographs and web images.

Explain Importance of flowchart in computer programming

Answers

Answer:

Flow charts help programmers develop the most efficient coding because they can clearly see where the data is going to end up. Flow charts help programmers figure out where a potential problem area is and helps them with debugging or cleaning up code that is not working.

creds to study.com (please don't copy it work by word, make sure to paraphrase it. otherwise plagiarism is in the game.)

Explanation:

1. A company that produces office organizers is currently utilizing 10 hours per day to complete 90 pcs of the product. Engr Ulymarl, the senior process engineer proposes to do minor change in the process flow to avoid redundancy. By doing this, the output increased to 110 pcs. The material cost per organizer is BD 5; additional supplies needed to complete the organizer cost BD 1.50 and labor is paid at the rate of BD 2.5 per hour, energy cost is assumed to be BD 1.5 while water cost is at BD 1.75. a. Is there any improvement in productivity with the changes that have been implemented by the process engineer? b. Prove your answer though presenting the labor productivity, multifactor productivity and productivity improvement. c. What is your conclusion on the action done by Engr Ulymarl ?

Answers

a. Yes, there is an improvement in productivity as the output increased from 90 to 110 pcs.

b. Labor Productivity: 11 pcs/hour. Multifactor Productivity: 0.88 pcs/(BD 11.75) per day. Productivity Improvement: 22.2% increase.

c. Engr Ulymarl's action improved productivity by increasing output per hour and overall efficiency, leading to positive results and potentially better profitability.

a. Yes, there is an improvement in productivity with the changes implemented by the process engineer. The output increased from 90 to 110 pcs, indicating higher productivity.

b. To prove the improvement in productivity, we can calculate the following metrics:

Labor Productivity: Divide the output (110 pcs) by the labor hours (10 hours) to obtain the labor productivity per hour .

         Labor Productivity = Output / Labor Hours

Multifactor Productivity: Sum up the costs of materials, additional supplies, labor, energy, and water, and divide the output (110 pcs) by the total cost to calculate the multifactor productivity.

        Multifactor Productivity = Output / (Material Cost + Additional Supplies.              

       Cost + Labor Cost + Energy Cost + Water Cost)

Productivity Improvement: Compare the initial and improved productivity measures to determine the percentage increase.

        Productivity Improvement = ((Improved Productivity - Initial        

        roductivity) / Initial Productivity) * 100

c. Engr Ulymarl's action resulted in a significant improvement in productivity. The increased output per hour of labor indicates higher efficiency. The labor productivity, multifactor productivity, and productivity improvement calculations would provide concrete evidence of the positive impact of the process flow changes. The proposed actions by Engr Ulymarl have successfully enhanced productivity, leading to better output and potentially higher profitability for the company.

For more such question on productivity

https://brainly.com/question/21044460

#SPJ8

in css, a(n) selector defines the appearance of specific elements within other specific elements on the page, such as nav a.

Answers

The correct answer is  Some of the popular selectors we looked at earlier can alternatively be described as attribute selectors, where an element is chosen based on its class or ID value.

To choose an element with a certain attribute or attribute value, use the CSS Attribute Selector. Grouping HTML components based on certain characteristics is a great approach to design them because the attribute selector will only choose elements with comparable properties. All elements with a specified attribute or an attribute set to a particular value are selected by an attribute selector. Like an illustration, the Selector is an unique kind of comparator that mediates data from two input sources based on a Boolean value, acting as a traffic light (equivalent to a single bit multiplexor). Open the Functions palette and choose the Programming palette to locate the Selector function.

To learn more about attribute selectors click on the link below:

brainly.com/question/28479823

#SPJ4

PLEASE SOMEONE ANSWER THIS

If the old code to a passcode was 1147, and someone changed it, what would the new code be?


(It’s no version of 1147, I already tried that. There are numbers at the bottom of the pictur, it just wouldn’t show.)




[I forgot my screen time passcode please someone help I literally can’t do anything on my phone.]

PLEASE SOMEONE ANSWER THISIf the old code to a passcode was 1147, and someone changed it, what would

Answers

Answer:

There's no way for anyone but you to know the password. Consider this a lesson to be learned - keep track of your passwords (and do it securely). If you can't remember your password for this, the only alternative is to factory reset your device.

I don't know exactly if this passcode instance is tied to your Icloud account.. if it is, factory resetting will have been a waste of time if you sign back into your Icloud account. In this case, you would need to make a new Icloud account to use.

in C++ please

6.19 LAB: Middle item
Given a sorted list of integers, output the middle integer. A negative number indicates the end of the input (the negative number is not a part of the sorted list). Assume the number of integers is always odd.

Ex: If the input is:

2 3 4 8 11 -1
the output is:

Middle item: 4
The maximum number of list values for any test case should not exceed 9. If exceeded, output "Too many numbers".

Hint: First read the data into a vector. Then, based on the number of items, find the middle item.

in C++ please6.19 LAB: Middle itemGiven a sorted list of integers, output the middle integer. A negative

Answers

Answer:

#include <iostream>

#include <vector>

using namespace std;

int main() {

  vector<int> data;

  int num;

 

  cin >> num;

 

  // Read values into vector

  while (num >= 0) {

     data.push_back(num);

     cin >> num;

  }

  // Check if too many numbers

  if (data.size() > 9) {

     cout << "Too many numbers";

  }

  else {

     // Print middle item

     int mid = data.size() / 2;

     cout << "Middle item: " << data.at(mid);

  }

  return 0;

}

32. The broadcast address is a special address in which the host bits in the network address are all set to 1, and it can also be used as a host address.
A.True
B.False

Answers

Some host addresses are reserved for special uses. On all networks, host numbers 0 and 255 are reserved. An IP address with all host bits set to 1 is False.

How can I find a network's broadcast address?Any device connected to a multiple-access communications network can receive data from a broadcast address. Any host with a network connection could receive a message delivered to a broadcast address.All hosts on the local subnet are reached by using this address to send data. The Routing Information Protocol (RIP), among other protocols that must communicate data before they are aware of the local subnet mask, uses the broadcast address.The use of some host addresses is reserved. Host numbers 0 and 255 are set aside for use only on reserved networks. When all host bits are set to 1, an IP address is considered false.

To learn more about Broadcast address refer to:

https://brainly.com/question/28901647

#SPJ1

Do you think that Amy should have done anything differently? What would you have done in her situation?

Answers

The excerpt shows that Amy should have done anything differently because talking to a person who is entirely is of taking much risk in her life.

How to explain the excerpt

Sharing or exposing any of her personal information to an unkown is risking her life all ways. So it should be avoided. The person whom she met online is still know where Amy is living.

So Amy should have done some other thing like encouraging herself to find friends at school or may be she can talk with her teacher or school counselor or any of her family members.

Learn more about excerpt on:

https://brainly.com/question/21400963

#SPJ1

a program execution is called ​

Answers

a program execution is called a process

Explanation

In the process, they process the data and also execute the data.

What happen in process?

First the data came from input, then go to the memory. The process take the data from the memory and process it and divide it, if there's arithmetic data thingy it will go to ALU and the rest to CU. After the data finish being proceed, the data will be sent to CU and executed there, then send back to the memory and go to the output to be shown.

#Sorry my grammar sucks

#Moderators please don't be mean, dont delete my answers just to get approval from your senior or just to get the biggest moderation daily rank.

ou have been asked to work on 25 mobile devices at a mid-sized company due to malware. Once you clean the devices, you suggest implementing a company-wide mobile device policy. Which of the following would you recommend? Select three.
Disable AirDrop and Bluetooth
Install an anti-malware app
Do not enable Wi-Fi on devices
Always keep the OS up to date
Provide basic security training

Answers

Company's use and security of mobile devices are governed by a mobile device management policy. Without mobile usage policies, you expose your business to cybersecurity risks, theft, and efforts at corporate espionage. Thus option B,D,E is correct.

What implementing a company-wide mobile device policy?

Applications for managing mobile devices make it simple for businesses to maintain the security and functionality of every employee's device. The ability to manage device access to corporate networks, accounts, and data is one of the main advantages.

Therefore, provide basic security training, Always keep the OS up to date and install an anti-malware app.

Learn more about mobile device here:

https://brainly.com/question/29856837

3SPJ1

convert decimal number into binary numbers (265)10

Answers

Answer:

HELLOOOO

Alr lets start with steps by dividing by 2 again and againn..

265 / 2 = 132 ( rem = 1 )

132 / 2 = 66 ( rem = 0 )

66/2 = 33 ( rem = 0 )

33/2 = 16 ( rem = 1 )

16/2 = 8 ( rem = 0 )

8/2 = 4 ( rem = 0 )

4/2 = 2 ( rem = 0 )

2/2 = 1 ( rem = 0 )

1/2 = 0 ( rem = 1 )

now write all the remainders from bottom to up

100001001

is ur ans :)))

Assume the variable s is a String and index is an int. Write an if-else statement that assigns 100 to index if the value of s would come between "mortgage" and "mortuary" in the dictionary. Otherwise, assign 0 to index.

Answers

Using the knowledge in computational language in python it is possible to write a code that Assume the variable s is a String and index is an int.

Writting the code:

Assume the variable s is a String

and index is an int

an if-else statement that assigns 100 to index

if the value of s would come between "mortgage" and "mortuary" in the dictionary

Otherwise, assign 0 to index

is

if(s.compareTo("mortgage")>0 && s.compareTo("mortuary")<0)

{

   index = 100;

}

else

{

   index = 0;

}

See more about JAVA at brainly.com/question/12975450

#SPJ1

Assume the variable s is a String and index is an int. Write an if-else statement that assigns 100 to

There are about 1,932 calories in a 14-pound watermelon. How many calories are there in 1 pound of the watermelon?

Answers

Answer:

138

Explanation:

1932:14

x:1

1932/14 = 138

Therefore x = 138

There are 138 calories per pound of watermelon

Hope that helps

A user opens a help desk ticket to replace a laptop keyboard. The user reports that the cursor randomly moves when typing using the laptop keyboard, causing the user to make frequent typing corrections. The problem does not occur when the laptop is attached to a docking station and an external keyboard is used.
You want to find a more affordable solution than replacing the keyboard. Which of the following actions would mitigate the problem?
Increase the screen resolution so that mouse movements are more granular.
Decrease the operating system's mouse speed setting.
Use the special function key to disable the touchpad when the laptop keyboard is used.
Lower the screen resolution so that mouse movements are less granular.

Answers

To avoid mistyping because of the random cursor movement use the special function key to disable the touchpad when the laptop keyboard is used.

The built-in mouse pointer input device on a laptop is referred to as a touchpad. Touchpads are good for input from the mouse pointer and are entirely functional. The majority of individuals still prefer using a mouse over a touchpad to move their cursor, though.

However, you are unable to use your laptop's touchpad as an additional input device if a physical mouse is connected to it (there would simply be a clash between the two and the touchpad might also become a source of unintentional input). People frequently need to turn off their touchpads for this and a variety of other reasons.

When using a mouse, you can turn off your computer's touchpad only when necessary.

To learn more about touchpad click here:

brainly.com/question/14665614

#SPJ4

10+2 is 12 but it said 13 im very confused can u please help mee

Answers

Mathematically, 10+2 is 12. So your answer is correct. However, if you are trying to write a code that adds 10 + 2, you may need to troubleshoot the code to find where the bug is.

What is troubleshooting?

Troubleshooting is described as the process through which programmers detect problems that arise inside a specific system. It exists at a higher level than debugging since it applies to many more aspects of the system.

As previously stated, debugging is a subset of troubleshooting. While debugging focuses on small, local instances that can be identified and fixed in a single session, troubleshooting is a holistic process that considers all of the components in a system, including team processes, and how they interact with one another.

Learn more about Math operations:
https://brainly.com/question/199119
#SPJ1

Note : Each question carry three parts (A), (B), (C) out of
which attempt any two parts. All questions carry
equal marks.
1. (A) What do you mean by computer? Discuss the use of
computer in daily life.
(B) Differentiate between computer hardware & Software.
(C) Describe about the different types of computer
peripherals and memory devices.
2. (A) What is a printer? Explain different types of printer.
(B) What are scanning devices? Explain any four scan-
ning devices.
(C) What is CPU? Discuss components of CPU.

Answers

Answer:

1)a)the electronic device that helps us to read write listen music entertainment play games etc.Use of computer in our life is incredibly necessary. ... Computers have taken industries and businesses to a worldwide level. They are used at home for online education, entertainment, in offices, hospitals, private firms, NGOs, Software house, Government Sector Etc.

b)Hardware is a physical parts computer that cause processing of data. Software is a set of instruction that tells a computer exactly what to do. ... Hardware can not perform any task without software. software can not be executed without hardware.

c)Personal Computer (PC)

2 Workstation

3 Minicomputer

4 Main Frame

2)a)Printers are one of the common computer peripheral devices that can be classified into two categories that are 2D and 3D printers.Laser Printers.

Solid Ink Printers.

LED Printers.

Business Inkjet Printers.

Home Inkjet Printers.

Multifunction Printers.

Dot Matrix Printers.

3D Printers.

b)an electronic device which scans artwork and illustrations and converts the images to digital form for manipulation, and incorporation into printed

c)A central processing unit, also called a central processor, main processor or just processor, is the electronic circuitry that executes instructions comprising a computer program.

Which example best demonstrates an impact computing has had on the arts?
OA. A student bullies another student on social media by posting
embarrassing pictures.
OB. A group of friends who have never met each other in person play
an online game together.
OC. A music producer searches for samples of Caribbean percussion
instruments to add to a song.
OD. A teacher uses a computer-scored test to grade assignments
more quickly.

Answers

Answer:

the answer is C because music is art

Other Questions
In an experiment in space, one proton is held fixedand another proton is released from rest a distanceof 2.00 mm away.What is the initial acceleration of the proton after it is released? Fill in the boxes in the template to identify the nucleotide sequence from 3' to 5' of the tRNA anticodon that will recognize codon 5 and the tRNA anticodon Divide using a common factor of 2 to find an equivalent fraction for eight tenths two four tenths one half four fifths Nitrogen gas and hydrogen gas react to produce ammonia according to the following equation.N2 + 3H2 2NH3Which ratio of components is correct?A For every 2 moles of nitrogen gas, the reaction requires 3 moles of hydrogen gas.B For every 3 moles of hydrogen gas, the reaction produces 2 moles of ammonia.C For every mole of hydrogen gas, the reaction produces 2 moles of ammonia.D For every mole of nitrogen gas, the reaction produces 1 mole of ammonia. Consider a simple linear regression model Y = Bo + BX + u As sample size increases, the standard error for the regression coefficient decreases. True O False Mg + 2AgNO3 -> 2Ag + Mg(NO3)2How many grams of magnesium (Mg) are needed to completely react with 3.00 moles of silver nitrate (AgNO3)?A. 72.9g MgB. 255g MgC. 16.2g MgD. 36.5g MgE. 18.2g Mh what is capital market research in accounting and how would aresearcher undertaking capital market research justify thatparticular piece of accounting information is value relevant toinvestors? exp divide. write your answer in simplest terms. 3/4 divided by 1 1/5 What best describes the relationship of tribal courts with U.S. courts?A. There is a direct flow between the two for actions.B. There is no connection between the two.C. Tribal courts are higher than U.S. courts.D. U.S. courts do not recognize tribal court decisions. A pet store has three aquariums for fish. Aquarium A contains 24 fish, Aquarium B contains 51 fish, and Aquarium C contains 36 fish. Which of the following graphs would represent this data most accurately? The y-axis of a bar graph starts at zero fish. One bar is 24 units, another bar is 51 units, and the third bar is 36 units. A pictograph shows three cubes. One cube has a side length of 8, another cube has a side length of 17, and the third cube has a side length of 12. The y-axis of a bar graph starts at 20 fish. One bar is 24 units, another bar is 51 units, and the third bar is 36 units. A pictograph shows three squares. One square has a side length of 2.4, another square has a side length of 5.1, and the third cube has a side length of 3.6. ill give brainliest to whoever actually answers first!!!!! What are the details that contribute to the readers mental picture of the clouds? List these details and explain the significance of the order of their presentation From the perspective of human resource management, what should Tesla do to solve the HR-related issues it's currently facing?? A square on a coordinate plane is translated 9 units down and 1 unit to the right. Which function rule describes thetranslation?OT, 9(x, y)OT-1,-9(x, y)OT 9, 1(x, y)O T9,-1(x, y) Someone pls help!! Worth a lot of points 2Add. Write the expression below in simplest form.(-3x + 15) + (-3x + 2) The union and management agreement that allows non-union people to be hired but requires that they join the union after a probationary period creates the ______ shop. Ana is comparing two adaptations of a classical text. She has determined how each author adapts the text and howthe adaptations are similar. What is the next step she should take?describing how the themes of the adaptations are developedO explaining how the adaptations are different from each otherresearching the authors' backgrounds to see how their background affects their styleanalyzing the similarities to decide which parts of the stories are most important Assuming Classful routing, how many bit positions to borrow from, to subnet 199.67.67.0 into 5 subnets.Write down the modified subnet mask of the network address 199.67.67.0 from Q.1 Gloria's Glorious Morning Muffins issued a $10,000 bond exactly a year ago. The bond is a three-year bond that pays interest every six months. The issue price of the bond was $10,983.46. Today's cash interest payment (the second one Gloria has made) was $800, and interest expense recorded was $650.55.a. Show the journal entry Gloria will make to record the mentioned interest payment. Some of the information has been filled in to help you. Round your answers to the nearest two decimal places.Dr. Interest Expense for $_____Dr. _______ for $ ______Cr. ______ for $ _____b. What is the market rate of interest per period on Gloria's bond? Write your final answer as a percentage (Ex: If you find the market rate of interest is 10%, put 10, not 0.10). The two monitors in a workspace are the and Program monitors.