Personalize your code by adding statements that print your name, course, and assignment title to the console.
Analyze the options for the data types and their implication on the accuracy of the performed operations within the project. Explain, justify, and document the selections you made. Declare and, where appropriate, initialize the constants and variables. Display the questions and answers on the console. Read user input pertaining to the question from the console. Display the user input on the console.
Refer to the High-Quality Programming Code, DOCXPreview the document, file as a reference and guideline when writing your code.
For this assignment, you will submit the .cs file that contains all of the code from this assignment. Include your name in the top of the script using the following format. CH2DoeJohn.cs
Save and submit your assignment in a file using this naming convention. Do not add punctuation or special characters. CH2DoeJohn.cs

Answers

Answer 1

Solution :

class MainClass {

public static void Main(string[] args){

// Declaring variables here

// Change the name , course name and assignment name

String name = "Your name here"; //Stores name of the student

String courseName = "Course Name here"; //Stores course name

String assignmentName = "Assignment name here";//Stores assignment name

int answer; //Stores answer

// Dispaying the name , course and assignment name

Console.WriteLine("Name: "+ name);

Console.WriteLine("Course Name: "+ courseName);

Console.WriteLine("Assignment Name: "+ assignmentName);

// Displaying Question 1

Console.WriteLine("\nQuestion 1: Is the Carbon or Graphite Fiber is lighter than that of Aluminum or the steel?");

// Displaying options

Console.WriteLine("Answer [tex]$.1=$[/tex]Yes\nAnswer 2.= No");

// Prompting user to choose the correct answer

Console.WriteLine("Choose the correct answer");

// Taking input from the user and cnverting into int

answer = Convert.ToInt32(Console.ReadLine());

// Checking for the correct or wrong answer

String correct_or_wrong = 1 == answer ? "Correct": "Wrong";

// Displaying the result

Console.WriteLine(correct_or_wrong);

// Displaying Question 1

Console.WriteLine("\nQuestion 2: The [tex]$F/A-EF$[/tex] Super Hornet max speed is?");

// Displaying options

Console.WriteLine("Answer 1. = 890 MPH\nAnswer 2. = Mach 1.7\nAnswer 3. = Mach 2.9\nAnswer 4. = 967.3 MPH");

// Prompting user to choose the correct answer

Console.WriteLine("Choose the correct answer");

// Taking input from the user and cnverting into int

answer = Convert.ToInt32(Console.ReadLine());

// Checking for the correct or wrong answer

correct_or_wrong = 2 == answer ? "Correct": "Wrong";

// Displaying the result

Console.WriteLine(correct_or_wrong);

}

}


Related Questions

PLS HELP ME
Search an explorer on the Net and write an article for a magazine called An Explorer's Diary. Write three paragraphs. Using the question below.
Par. 1 Who is he / she , Why does he / she travel ?
Par. 2 Who is he / she usually do during the day? What can he / she do?
Par. 3 How does he / she share his / her journey with other people?​

Answers

Answer:

USE CYMATH heLPS

Explanation:

fair discrimination ​

Answers

no i don’t think discrimination can be fair

Fair discrimination involves a justified separation or a justification for discrimination.

What is Fair discrimination?

Fair discrimination involves a justified separation or a justification for maltreating an individual but discrimination involves unjustified separation of individual or group of people.

This fair discrimination is based on

Action that have been confirmRequirements of a particular jobDiscrimination that is justified by law

Therefore, Fair discrimination involves a justified separation or a justification for discrimination.

Learn more on discrimination here,

https://brainly.com/question/1084594

How did the Nazis persecute the Jews during WWII?

Answers

Answer:

They took them to concentration camps. If they were small children or pregnant women, they were usually told that they would be taking a shower, when in reality they were taken to the gas chambers and gassed immediately. If not, they were forced to do hard labor and often do shameful things for entertainment.

What is the name of Kenya’s legislative branch?

Answers

The Parliament of Kenya is the bicameral legislature of Kenya. It consists of two houses: Senate (upper house) The National Assembly (lower house)

Please Help me i need the right answer fast!

Answers

Answer:

I think it's full but I'm not sure

Answer:

i think gibbous?

Explanation:

What is a social graph? Group of answer choices Maps group contacts identifying who knows each other and who works together. Describes the collaborative activity of marking shared online content with keywords or tags as a way to organize it for future navigation, filtering, or search. Represents the interconnection of relationships in a social network. Uses a keyword or phrase to identify a topic and is preceded by a hash or pound sign (#).

Answers

Answer:

Represents the interconnection of relationships in a social network

Explanation:

The word Social graph was said to be brought about by Mark Zuckerberg. It generally entails Users connection (how they are connected) an individual can also be the center of our own social network or graph.

The more the graph we have for a website, the switching cost will definitely be more. It is often refered to as Global mapping of users and how these users are connected. It aid important customers at times and links in the various branches of the social graph by analysis.

For some value of Z, the probability that a standard normal variable is below Z is 0.2090. The value of Z is:

Answers

Answer: -0.81

Explanation:

A standard normal random variable simply refers to the normally distributed random variable which has a imean of 0 and also had a standard deviation that has the value of 1.

The standard normal variable can also be represented by the letter Z. For some value of Z, the probability that a standard normal variable is below Z is 0.2090. The value of Z is -0.81.

On a supply and demand graph, supply will decrease and shift to the left when which of the
following happens?
A
The number of firms leaving the industry increases.
There are fewer government regulations in place.
B
С
The total cost of inputs decreases.
Production taxes decline over a short period of time.
D

Answers

Answer:

Option A

The number of firms leaving the industry increases.

Hope this helps you. Do mark me as brainliest.

Question 2 of 10
Which word best completes the following sentence? A player's role is his or
her_____ in the game.
A. score
B. position
O C. job
D. setting

Answers

A players role is his or her (Position) in the game
Answer-
B. Position

why is political political instability necessary in the country?​

Answers

Answer:

Political instability is likely to shorten policymakers' horizons leading to sub- optimal short term macroeconomic policies. It may also lead to a more frequent switch of policies, creating volatility and thus, negatively affecting macroeconomic performance.

Explanation:

I hope that this will help you...

Does anybody know? XD
Which of the following statements best describes population growth in Latin America today?
A.
Fertility rates are decreasing, so populations are growing more slowly today than in the past.
B.
Fertility rates are increasing, so populations will grow more quickly in the future.
C.
Populations have been growing in recent years, so more people are moving to rural areas.
D.
Populations are shrinking as people choose to move elsewhere, such as to the US.
Thanks, Freinds!! Have an Awesome day!! C:

Answers

I’m not sure but I’ll say it is C


Have a nice day

Answer:

B

Explanation:

Fertility Rates are increasing, populations will grow more quickly in the future.

I took the test

The transition from childhood through adolescence is not a smooth one, especially in regards to the physiological, cognitive and psychosocial challenges a young individual faces. Using sources like the U.S. Department of Health and Human Services Office of Adolescent Health research some of the major issues adolescents may face during this developmental period. Based on your course readings thus far, explain the issues you found and how it relates to adolescence development.

Answers

Answer and Explanation:

One of the biggest problems that teenagers experience in the transition between childhood and adolescence is the perception of themselves. This is because this moment of change is confusing for teenagers and they have to struggle to find their own personality and shape their own behaviors and positions. In addition, teenagers need to deal with the need for belonging, as they may have difficulty feeling loved and part of something.

Nevertheless, teenagers need to deal with the bodily changes they go through. Although many teenagers go through it calmly, many are embarrassed by the changes. Hormonal changes also make teenagers very unstable and this may be unfortunate for them.

Last but not least, the adolescent must deal with the feeling of being rejected and misunderstood. This causes them to experience a feeling of intense loneliness that can cause many psychological problems.

Answer:

It is rough

Explanation:

What were some of the complaints from the first justices?

Answers

Answer:

the first Justices complained of the Court's limited stature; they were also concerned about the burdens of “riding circuit” under primitive travel

Explanation:

First among the Justices' complaints was a mandate of the Judiciary Act of 1789 to travel a circuit to attend the circuit courts. This proved wearisome to the Justices due to the poor roads, poor lodging, and distances involved.

ANS FAST Predict any new development in the field of transport in India. WHO WILL GIVE THE WRITE ANS I WILL MARK HIM AS BRAINLIEST​

Answers

Answer:

Passenger Mobility Enhancement

Explanation:

Ministry of Road Transport & Highways (MORTH) Government of India Invites Expressions of Interest (E0I) from eligible firms for providing Consulting services to undertake a `Passenger Mobility Enhancement (PME)' Study No.7980-IN Reference No. WB TA - 27 for MORTH.

16. Which of the following set of substances contain acids?
(a) Grapes, lime water
(b) Vinegar, soap
(c) Curd, milk of magnesia
(d) Curd, vinegar

Answers

Answer:

vinegar and soap contains acid

Explanation:

Triangular trade is trade between 5 continents, Europe, Africa, Antarctica, Asia, North America
True
O False

Answers

Answer:

False

Explanation:

The 5 continents that were involved were North America, Europe, Africa, New england, an

which state of matter has a fixed shape and volume?

Answers

Answer:

solid has a fixed shape and volume.

what is evaluation and reflective practice?​

Answers

Answer:

Pisząc najogólniej, refleksja jest aktywnością poznawczą polegającą na uświadamianiu sobie

własnego myślenia i działania oraz głębokiego ich analizowania. Refleksyjność jest

przeciwstawiana rutynie i schematyczności. Może ona doprowadzić do zmiany sposobów

myślenie i działania, a nawet zmiany sposobów postrzegania rzeczywistości , mam nadzieje ,że jakos pomoglam

Answer:

evaluation and reflective practice are to separate but related concept.

Explanation:

Evaluation is the process of making an assessment or judgement about an experience or a person .

Reflective practice is the ability reflect one's actions so as to engage process of continuous learning.

what is Llama and where it is found​

Answers

Answer:

Llamas and alpacas have been used by humans for transportation and fleece production for a few thousand years. Both species are primarily found in Peru and Bolivia and are part of the camel family, Camelidae.

Explanation:

found on go.ogle

Type the correct answer in the box. Spell all words correctly.
Property rights regimes are classified under what basis?
The classification of property rights regime based on the whether the resource is excludable and
in nature.

Answers

Answer:

The answer is below

Explanation:

The classification of property rights regimes is based on the OWNERSHIP.

There are four different types of property-rights regimes based on ownership with each type having its owners' rights, duties, and access. This includes the following:

1. Private Property owned by an individual can be accessed by the permission of the owner only.

2. Common property (public closed access): owned by collective individuals and can be accessed by the permission of the members only.

3. State Property: owned by the government and can be accessed by everybody

4. Open Access Resources: owned by nobody, and can be accessed by everybody.

Answer: rival

Explanation:

I did edmentum and I put the answer that was before if after this and it was wrong ik ng and it gave me the right answer

Can someone name all the presidents?

Answers

Answer:

George Washington

John Adams

Thomas Jefferson

James Madison

James Monroe

John Quincy Adams

Andrew Jackson

Martin Van Buren

William Henry Harrison

John Tyler

James K. Polk

Zachary Taylor

Millard Fillmore

Franklin Pierce

James Buchanan

Abraham Lincoln

Andrew Johnson

Ulysses S. Grant

Rutherford Birchard Hayes

James A. Garfield

Chester A. Arthur

Grover Cleveland

Benjamin Harrison

William McKinley

Theodore Roosevelt

William H. Taft

Woodrow Wilson

Warren G. Harding

Calvin Coolidge

Herbert Hoover

Franklin D. Roosevelt

Harry S. Truman

Dwight D. Eisenhower

John F. Kennedy

Lyndon B. Johnson

Richard M. Nixon

Gerald R. Ford

Jimmy Carter

Ronald Reagan

George Bush

Bill Clinton

George W. Bush

Barack Obama

Donald J. Trump

Joseph R. Biden

What are the two major political parties in America?
hurry pls

A.
the Democratic party and the Republican party
B.
the Progressive party and the Libertarian party
C.
the Whig party and the Unity party
D.
the Liberal party and the Republican party

Answers

Answer:

The Democratic party and the Republican party.

the correct answer is A

Which of the following issues relates most to domestic pollcy?
O Education
O Treaties
O War
O Military
Please helppp

Answers

the answer military

If the government is not censoring, how are stories being censored?

Answers

through keywords if it’s words, maybe the computer can detect certain images
or they hire people to lol

At a world conference to be conducted in Tokyo, representatives from nearly every country in the world will gather to discuss issues related to international trade. Representative A is from a authoritarian state. Representative B is from a socialist nation. Representative C hails from a democratic society.

Answers

Answer: B) Zimbabwe

Explanation:

Here's the remainder of the question:

Which of the following countries would Representative A most likely be from?

A) Denmark

B) Zimbabwe

C) Sweden

D) Australia

An authoritarian state is simply referred to as a country whereby there's separation of power. These countries typically lack freedom of religion. In such countries, the power is usually with the leader and doesn't really care about the people.

From the options given, the answer is Zimbabwe.

John purchased a toy for his young daughter. The toy included nine colorful plastic pieces in the shape of the numbers from 1 to 9. In examining these pieces he made the following observations:
One piece is purple and two pieces each are red, green, yellow, and blue.
The two red pieces are consecutive numbers.
The number 4 is green.
The two blue pieces are not consecutive numbers
Both the 1 and the 9 are yellow
The purple piece is not a number immediately greater than or less than either green piece

Answers

Clarification:

I found the complete instructions for the exercise online:

If one of the red pieces is the number 3, what number is the other red piece?

A.2

B.4

C.5

D.6

E.7

Answer:

A. 2

Explanation:

In this exercise, you have to answer the question after analyzing the information given about the pieces. The correct answer is "2" because both red plastic pieces are consecutive, and one of the red pieces is the number 3. The correct answer couldn't be number 4 because number 4 is one of the green pieces.

Can somebody help me?

Answers

The right to marry if u studies u wil know it

Do you think that the Sons of Liberty were justified in
destroying the tea? Why or why not? You must give a
reason for your answer.
( need help asap i'll make you brainliest )

Answers

Explanation:

I believe they were justified in destroying the tea. The British killed many in the Boston Massacre and it was right that we respond with great resistance.

or

I believe they weren't justified in destroying the tea. It was not at all peaceful protesting, and they weren't truly accomplishing anything other than wasting tea.

How do legislators see their job?​

Answers

Answer:They do policy research, draft bills, write legal opinions, evaluate programs and assess how legislation will affect the state's budget. They have other roles, too, including helping constituents, handling public relations, providing building security and information technology support.

Explanation:

A work of art is a primary source if it

is similar to art created during the time being studied.
shows a firsthand account of an event being studied.
references other artwork from the time being studied.
is based on information about an event being studied.

Answers

Answer:

b

Explanation:

Answer:

B

Explanation:

Other Questions
I need it fast Find the value is it possible to make a bowl out of pizza dough? A shoe store recorded the price (in dollars) of 175 pairs of women's shoes and 175 pairs of men's shoes. The data collected was used to create the following table.Picture Which statement accurately describes the difference in the price of men's and women's shoes at this store?The price of women's shoes varies less than men's shoes.Most of the men's shoes in the data set cost more than women's shoes.Most of the women's shoes in the data set cost more than men's shoes.The price of men's shoes has a higher interquartile range than that of women's shoes. Sarah and Nathan each picked a bucket of strawberries. Sarah picked 4 1/4 and Nathan picked 3 3/4. How much more did Sarah pick than Nathan? Sloths sleep an average of 16.5 hours a day. What percent of a 24 hour day do they sleep? ANSWER ASAP FOR BRANLIESTSonia is making a recipe that requires 2 cup of water and 5 cups of flour. Which of the following combinations shows the same ratio of water to flour? [tex]y-5\geq -7[/tex] Expand and simplify(4 + 2)(6-2)Give your answer in the form b+ CV 2 The original cost is $25. The item has a discount of 20% off. What is the discount amount? PLEASE HELP ASAP!! Please only answer if you have read Sneaker Nation.Carro writes, Companies began zeroing in on the most talented athletes and enlisting them to market new designs. Based on context clues, what does the phrase zeroing in mean? *A. to take something away graduallyB. to give money forC. to dismiss from employmentD. to direct all of ones attention to someone or something what are the biotic factors that would affect owl populationsa. availability of foodb. carbon dioxide levelsc. new diseasesd. moisture levels choose two The Indus Valley was well organized.O TrueO False I need help me this somebody help! Why did some southerns oppose the war effort of the Confederates? ( in ur own words ) What type of muscle is found in the heart that has gap junctions to allow electrochemical signals to cause rapid contraction? A. Rough muscle B. Smooth muscle C. Cardiac muscle D. Skeletal muscle A local bakery sells cupcakes for $3.50 each. The fixed monthly cost totals $275 which includes rent, utilities, and wages. Each cupcake costs the bakery 0.90 to make. 9(5x + 1) 3y From the expression above, provide an example of each of the following: sum, term, product, factor, quotient, and coefficient. If any are not present, write "not present." (6 points) HURRY! please help me please quick I will give brainliest. any irrelevant awnsers will be flagged :). pls help. Solve for n.56n=40n=56n=48n = 48n = 56