Create a Java program that inputs a grade from the user. The grade input from the user will be an integer. Once the input is stored, use an if-else-if block of code to determine the letter grade of the inputted integer grade. Do not use a bunch of if statements by themselves to solve this problem. You will print an error message for inputs greater than 100 and for inputs less than 0. Both errors must be handled together by a compound conditional statement that is joined by a short circuit AND or OR operator. Assign your error message to a String variable and use that variable in a System.out.println statement to print the error. You must assign a char variable for each letter grade. Use System.out.printf to print the letter grade. Run your program several times using these inputs and ensure that you are receiving these outputs: input: 140 expected output: ERROR - You have entered an invalid input. Input: -45 expected output: ERROR - You have entered an invalid input. input: 82 expected output: You have earned the letter grade B. Run it a few more times using various other inputs. Part II Convert the if-else-if code block to a switch statement to solve the problem. Use modulus and/or integer division to convert the grade input so that the range of grades are converted to one value. All other requirements from Part I are still required for part two. Use the same inputs and the outputs should remain the same. My Code import java.util.Scanner; int grade; System.out.print("Enter your grade: "); grade = scnr.nextInt(); if (grade >= 90) { System.out.println("You have earned the letter grade A."); } else if (grade >= 80) { System.out.println("You have earned the letter grade B."); } else if (grade >= 70) { System.out.println("CYou have earned the letter grade C."); } else if (grade >= 60) { System.out.println("You have earned the letter grade D."); } else if (grade <= 59) { System.out.println("You have earned the letter grade F."); } else (0 >= grade >= 100) { System.out.println("You have entered an invalid input.") }

Answers

Answer 1

Answer:

Public static void main (string args []){

System.out.println("The grade is" + print grade (78));

System.out.println("The grade is" + print grade (59));

}

Public static char print grade (integer grade){

If ( grade >= 90)

System.out.println("You have earned the letter grade A");

Else if (grade >=80)

System.out.println("You have earned the letter grade B");

Else if (grade >=70)

System.out.println("You have earned the letter grade C");

Else if (grade >=60)

System.out.println("You have earned the letter grade D");

Else if (grade <=59)

System.out.println("You have earned the letter grade F");

else (0 >= grade >= 100) System.out.println("You have entered an invalid input.")

}

}

Explanation:


Related Questions

John just opened a savings account and wants to maximize the amount of interest he ears. Which of the following actions
would enable him to earn MORE interest?
Selecting an account with a high
interest rate.
Leaving his money in the account for long
period of time.
Transferring money into his checking account
each month.
Both
A &

Answers

Answer:

Both A & B

Explanation:

An account with high interest is going to earn you more interest, and also you can earn more interest through leaving the money in the account for a long period. You should know that with checking accounts, you can take care of daily use only, and it provides no or very little interest. And it is the saving bank account that helps you to raise funds for future. And hence the option mentioned in the answer section is the correct one.

5 points
2.) Rose opens her software application and gets a message stating that
she has only 16 more uses of the product available. Given this scenario,
what is her best course of action to use it more than 16 additional times?
Activate the software.
Register the software.
O
No longer close the application.
O
Uninstall and reinstall the software.

Answers

Answer:

Activate the software.

Explanation:

You will need to activate the software. And you have already registered as else you can not go through the trial. Also, by no means, you cannot use the application again, and you can anytime through activation, or through installing on the new device. And uninstalling and reinstalling the software will not work if you are on the same computer.

Rose has only 16 more uses of the software application available. To use it more than 16 additional times, her best course of action would be to activate the software. A is correct.

Activation typically involves entering a product key or serial number provided by the software vendor. Once activated, the software usage limitations are often removed or extended, allowing Rose to use the software beyond the initial limit of 16 uses.

The other options presented, such as registering the software, not closing the application, or uninstalling and reinstalling the software, are unlikely to extend the number of uses available. Registering the software may provide benefits such as support or updates, but it's unlikely to directly affect the number of uses.

Not closing the application or uninstalling and reinstalling it won't change the usage limitations either. Therefore, activating the software is the most appropriate action to extend its use beyond the initial limit.

You interact with a program through its user

Answers

Answer:

Explanation:

The user interface, in the industrial design field of human-computer interaction, is the space where interactions between humans and machines occur. The goal of this interaction is to allow effective operation and control of the machine from the human end, whilst the machine simultaneously feeds back information that aids the operators' decision-making process. Examples of this broad concept of user interfaces include the interactive aspects of computer operating systems, hand tools, heavy machinery operator controls, and process controls. The design considerations applicable when creating user interfaces are related to or involve such disciplines as ergonomics and psychology.

Generally, the goal of user interface design is to produce a user interface which makes it easy, efficient, and enjoyable (user-friendly) to operate a machine in the way which produces the desired result. This generally means that the operator needs to provide minimal input to achieve the desired output, and also that the machine minimizes undesired outputs to the human.

Answer:

User interface

Explanation:

The user interface is portal that enables a computer user pass commands through the software to the Computer.

Mostly developers of Softwares have been advised to always ensure that the User Interface is designed in such a way that their experience is not made difficult rather happier.

A poor User Interface can not only ruin a User's experience but also render the software irrelevant to the User.

Suppose as a computer programmer, you have been assigned a task to develop a program to store the sorted data in ascending order. Initially you have used linked list data structure to store the data but search operation was time consuming then you decided to use BST (Binary Search Tree) but retrieval efficiency is not improved. In such situation, How can you improve the efficiency of search operation for BST? Justify your answer with solid reason.

Answers

Answer:

In case the data is arranged in the ascending order, you can always change the Binary search tree into a Height BST, and which is also known as the self-balancing BT. And through this, it's quite on hand to better the operations like searching on the new BST. And these SBBTs are quite commonly made use of for constructing as well as maintaining the ordered list. This is the case in the case of the priority queue, and this is what is required here.

Explanation:

Please check the answer.

What are a platform’s two major components?

Answers

Answer:

Operating System and the CPU.

Explanation:

Any program is made to run on a particular platform. And a platform comprises of the operating system and the CPU. And by CPU we mean the processor type. Like its 64 bit or 32 bit, and also how many cores they are. Like a Quad-core processor allows the parallel running or 4 tasks, or 4 tasks at one time. The GPU feature defines the graphics, and what graphics are allowed for programming. Also, features like Emulator requires special features in the microprocessor.

Type the correct answer in the box Spell the word correctly.
What proximity technique can Roberto use in the situation below?
Roberto is a visual designer in a big publication house. For a project, he designs a flyer with several geometric shapes signifying the different
achievements of his organization.
As the next step, Roberto
the objects to provide the strongest form of proximity effect to them.

Answers

Answer:

Group

Explanation:

The strongest form of proximity effect is achieved through the overlapping of the objects. However, the Grouping of the objects also provides a similar sort of proximity strength, and hence here group is the right answer. Through, grouping the required level of the proximity effect is being provided to the objects, and this is one part of the Gestalt principle of design. You should know that Gestalt principles can easily elevate a design, and that is why they are so popular in design.

Final answer:

Roberto should group related geometric shapes on the flyer and use consistent spacing to utilize the proximity technique, creating a clear and connected visual representation of his organization's achievements.

Explanation:

Roberto can use the proximity technique by strategically placing the geometric shapes that signify the different achievements of his organization close together on the flyer. This design principle suggests that elements that are physically close to each other on the page are perceived as related, both visually and in meaning.

By grouping related items together, Roberto ensures the flyer conveys a clear and cohesive message about the organization's achievements.

Using proximity in this manner helps to minimize confusion and clarifies the brochure's message. For example, he may group achievements from the same year or category together, and use consistent spacing and white space to reinforce the perception that these items are parts of a whole.

Through careful arrangement of elements, Roberto is able to create a design where the relationships between the shapes and the achievements they represent are effortlessly understood by the viewers.

What is technology?
APEX
a. an understanding of something new.
b. a method that is used to solve problems
c. something created for using science for use by society
d. the steps that engineers go through to create a product

Answers

Answer:C. something created for using science for use by society

Explanation: Technology is the use of science to provide human problem. It can be in the form of a machine, tool or equipment. As long as it involves applying a scientific process, it's technology. Example of technology is a computer. It's used to store and process data in a faster way. Old technology also included Hammer, Saw, Grinding Machines etc.

Answer:

C

Explanation:

What is at the bottom, center of a group? (From Microsoft Word 2016)

Answers

Answer:

When we align objects, the objects in number must be more than one, and they can be 2, 3 or of any number. And the objects can be aligned along the bottom edges when we chose to align bottom. And when we chose to align center, the objects are aligned vertically, and through their centers.

Explanation:

Please check the answer.

In Microsoft Word 2016, the bottom, center of a group refers to an alignment option within the Alignment group on the Ribbon. This helps users position text vertically and horizontally in a document for improved readability. Examples include centering text for titles and sections.

In Microsoft Word 2016, the bottom, center of a group refers to the location of a specific alignment option within the Alignment group on the Ribbon. The Alignment group allows users to format text and other elements to appear at different positions within a document. One of the options available is the vertical and horizontal centering of text, often used for titles or important sections to improve readability and presentation.

For example, when you select a block of text and choose the 'Center' alignment in the Alignment group, the content is positioned in the center of the page horizontally, creating a visually balanced document. Similarly, other alignment options such as left, right, and justified are also easily accessible from this group.

Organize the following steps that occur in the communication process . A. Decode B. Encode C. Store and retrieve D. Transmit E. Receive

Answers

Answer:

B. Encode D. Transmit E. Receive A. Decode C. Store and Retrieve

Explanation:

Encode: This phase involves the creation of the information for transmitting. Transmit: This is the phase where the encoded information is sent through a media to it's destination or receiver.

Receive: This is the point of reception.

Decode: This is the phase of trying to understand the Information sent.

Store and Retrieve: This is the feedback phase.

HELP ASAP
In which step of web design is storyboarding helpful? Coding Editing Planning Publishing

Answers

Storyboarding is helpful during the planning stage of web design.

Explanation:

Organizing your thoughts can be a struggle. In other words, keeping characters, footages, and concepts coherent and apprehensive is a hassle. Visual representation of these concepts can help you stay structured and storyboarding is the best way visual organizer.

Story boards serve as the suitable blend of visuals and text. As far as script writing, novels, and creating other comprehensive plots, storyboards are perfect for sorting information.

How do you view a presentation as your audience would see it?

by selecting Run from the File menu
by clicking the Slide Show button
by clicking the Play button
by selecting Play from the Tools menu

Answers

Answer:

Option B is the correct answer.

=> By clicking slideshow button.

Explanation:

A view in which audience should see the presentation is the SLIDE SHOW VIEW.

Slide show can be started by clicking on the Slide show tab than choose one of the desired option/ways to SET UP SLIDE SHOW.

I HOPE IT WILL HELP YOU!
By clicking the slideshow button

recovery methods from a database failure​

Answers

Answer:

Explanation:

We can elaborate a database backup to recover our data if the system fails, or there is a virus, or someone makes an incorrect command, we could do a full backup in our entire database, and we can store the modification in this backup, this depends on the database damage, but always we must have a backup because there is not invulnerable system.

What techniques are used in green computing ?
_______ and _______ are two major techniques involved in green computing

Answers

Answer:Energy Efficiency Electronic WasteEnergy Efficiency and Electronic Waste are two major techniques involved in green computing.Explanation:

Energy efficiency and electronic waste are two major techniques that are involved in green computing.

The energy efficiency consists the application of:

servers and peripheral devices energy-efficient central processing units the reduction in the consumption of resources.

On the other hand, the e-waste is the proper disposal of electronic waste. Electronic waste includes all the discarded devices that are thrown away. They must be recycled in a proper manner.

I hope it will help you!

Katie wants to use VLOOKUP for a column in a table. Which value of the mode parameter should she use to look for an exact match of the searched data?

Answers

The exact match mode is the mode parameter that Katie should use to look for an exact match of the searched data

Further Explanation:

The VLOOKUP function in Excel helps us search for and retrieve information from a particular column in a table and lookups a value in the left-most column of the table. It has two modes of matching.

Exact matching – When you perform a range_lookup, an argument FALSE is defined to mean that there is an exact match of the return value.

To achieve this, select a cell in your Excel worksheetType =VLOOKUP in the type bar of the Excel sheetSelect the value to look up and then select the data rangeType the column number that you want to search and then type FALSEPress enter

Learn about VLOOKUP in Excel by clicking the links below

https://brainly.com/question/9579933

https://brainly.com/question/10686097

#LearnWithBrainly

Answer:

FALSE

Explanation:

I got it correct on the test. They are looking for the "Value" which is "FALSE".

example...=VLOOKUP(H4,B5:E9,2,FALSE) // FALSE = exact match

What does the line of red semicircles mean on a weather map

Answers

A line of red semicircles indicates a warm front on a weather map

Explanation:

Weather fronts are those visible colorful lines that we see moving across weather maps. They represent boundaries that separate two air masses of different air temperatures and humidity. A good example of weather fronts are warm fronts. A Warm frontal type is warm air that moves and advances rapidly towards the cold air to replace the rather cooler air that stands in its path. It sort of collides with the cold air. When this happens, the weather becomes more humid and warm. It is symbolized by a red curved line with red semicircles. The red semicircles are pointed towards the direction of the warm air.

Learn more about Weather fronts in the links attached below

https://brainly.com/question/3596743

https://brainly.com/question/828505

#LearnWithBrainly

You are required to design a 4-bit even up-counter using D flip flop by converting combinational circuit to sequential circuit. The counter will only consider even inputs and the sequence of inputs will be 0-2-4-6-8-10-0. You are required to perform following tasks: 1. Draw the State diagram. 2. Generate State & Transition Table. 3. Generate simplified Boolean Expression. 4. Design the final Circuit diagram.

Answers

Answer:

Please check the attachment.

Explanation:

Firstly we need to draw the state diagram or the transition table. It clearly states through 4 bit even up counter that the next state of 0000 is 0010, and of 0010 is 0100 and so on. So we have the state diagram and the transition table, and thus answer for 1st and 2nd question.

Now through the Karnaugh map, we get the input circuit for D1, D2, D3, and D4. And these are mentioned in the attachment. Remember D outputs the same. which is the input. Thus, we have the answer for 3rd question. And then we draw the diagram, which can be found in the attachment. And this is the answer for the fourth question.

Which email etiquette is necessary when composing an email?
. The
must be correctly filled to reflect the
The email must include a courteous greeting and a
purpose or intent of the email.

Answers

Answer:

subject, purpose and the recipient details

Explanation:

The email should have a good subject, and that means it should be precise but should convey the purpose and the recipient details. And the detailed report is to be mentioned in the actual body of the email. However, always ensure that the purpose or intent and the recipient details are being mentioned in the subject itself such that the recipient understand in a second the purpose of the email, and also that it meant for him/her.

Brad is joining a big website design firm. He is worried that he may not be able to adapt to the company culture. What can he do to adjust to his new workplace quickly?

Answers

Answer with Explanation:

Brad is a newcomer for the company, so it's definitely going to be a challenging transformation for him. Firstly, he should be grateful about landing on the job because not everyone is given the chance to join a big website design firm. Once he cultivates gratitude, he will be able to extract happiness from it. It will also provide him with direction and purpose. In this case, it will be easy for him to adjust to his new workplace. It will fuel his eagerness to have social interactions. He will be able to contribute to a more positive company culture and become a good advocate for the company's core values as well.

This is, probably, the easiest way for Brad to adjust to the new workplace.

Assessing opportunity cost involves...


making choices and dealing with consequences.

choosing consequences over rewards.

reviewing past decisions and changing them.

minimizing profit and loss.

Answers

Answer:

Assessing opportunity cost involves making choices and dealing with consequences.

Explanation:

Opportunity cost means that, the cost to gain something with some consequences. If there are multiple opportunities in front of you and you have to analyze or assess each opportunity. In this assessment you have to assess the consequences of all choices or opportunities. After assessing all the opportunities you will select the opportunity in which you have more gain and less consequences.

So we can say that, while assessing different opportunities, we have to make choices and dealing with consequences.

This expense of gaining something with certain implications is referred to as the opportunity cost. When you have several options in front of you and must analyze or evaluate each one. In this assessment, you must consider the repercussions of all choices and possibilities.

After weighing all of your options, you will choose the one with the most profit potential and the fewest drawbacks.Therefore, while evaluating alternative options, we must make decisions and cope with the repercussions.Evaluating cost-benefit entails making these decisions and living with the aftermath.

Therefore, the answer is "first choice".

Learn more:

brainly.com/question/10932382

Advancements in technology that might be helpful for individuals who need accommodations to perform computer task include what things?

Answers

Answer:

Video Conference calls, cloud Computing

Explanation:

What is the output of the following statement?
System.out.println("1 + 2\n"
+ "3 - 4\n" + "=\n" + (1 + 2)
+ "\n" + (3 + 4));

Answers

Answer:

1 + 2

3 - 4

=

3

7

Explanation:

1 + 2 (it print the string "1+2" and goes to a new line

3 - 4 (it print the string "3-4" and goes to a new line)

= (it print the string "=" and goes to a new line)

3 (it perform arithmetic operation on 1+2 to give 3)

( It create empty new line)

7. (it perform arithmetic operation on 3+4 to give 7)

What data does crowdsourcing use? And how does it consume the data?

Answers

Answer:

Explanation:

Crowdsourcing uses the data for communities or volunteers, and this method is used on the internet but existed before the digital revolution, this method collect data from a lot of users, crowdsourcing is used in websites like:

WikipediaLEGO IdeasAmazon Mechanical turk

Mack has started with his first photographic assignment for a magazine. He has clicked around thirty images and uploaded them on the
magazines website. After three months, he sees two of his images being used on another website. He realizes that he hasn't registered those
two images as per the Copyright law of 1976. What type of damage can Mack recover from the owner of the other website?
A
actual damages
B.
statutory damages
C
actual and statutory damages
no damages
D

Answers

Answer:

A  actual damages

Explanation:

Mack has already uploaded the two of these images on the website, and hence he now has the copyright for these two images. He is not hence required to register for copyright anywhere else. Keep in mind, the person who posts first has the copyright. However, you will have to apply for copyright if you are not posting it online. However, Mack has posted online, and hence he can ask for the actual damage from the owner of the other website, who published it later. There is nothing statutory for this, and hence no permitted threshold. Mack can challenge the owner to pay the actual amount. However, he can not ask in separate for permitted or the statutory damages. And hence, the correct answer is A. actual damages.

Answer: Actual damages

In Outlook 2016, what happens when users begin to type in the To field the name of an email recipient to whom they frequently send messages?

Answers

Answer:

the email will automatically be listed

When users begin to type in the To field in Outlook 2016, the autocomplete feature suggests names from the user's contact list, recent contacts, and global address list. It predicts the recipient based on the characters typed, providing suggestions to expedite the process of addressing emails.

To calculate the autocomplete suggestions:

1. Contact List: Outlook prioritizes suggestions from the user's contact list. Let's assume the user has 100 contacts.

2. Recent Contacts: Outlook also considers recent contacts. Assuming the user has interacted with 50 different email addresses recently.

3. Global Address List (GAL): If the Outlook client is connected to an Exchange Server, it can access the Global Address List, which contains thousands of email addresses within the organization.

Considering these factors:

- Contact List (100)

- Recent Contacts (50)

- Global Address List (Assuming 1000 within the organization)

The autocomplete feature in Outlook 2016 could potentially suggest up to 1150 email addresses when users begin typing in the To field.

Explanation:

1. The autocomplete feature primarily relies on the user's contact list, which typically contains the most frequently used email addresses. For most users, this might range from dozens to hundreds of contacts.

2. Recent contacts are also considered, providing suggestions based on recent interactions. This adds another layer of personalized suggestions.

3. For users connected to an Exchange Server, the Global Address List (GAL) further expands the autocomplete suggestions. The GAL contains a comprehensive list of email addresses within the organization, which can be extensive in large enterprises.

By combining these sources, Outlook's autocomplete feature ensures that users can quickly select recipients without having to manually enter email addresses each time, improving efficiency in email communication.

Complete Question:
In Outlook 2016, what happens when users begin to type in the To field the name of an email recipient to whom they frequently send messages?

you work for a shipping company and your manager receives orders from various customers everyday some existing ,some new .your manager wishes to establish a process to automate tracking the orders received by the company .you can assume the daily data arrives as lists/array/vector of strings and follows this exact format(note that customers may place separate orders in a single day):
day_i=["Bob:100","Alice:100","Celia:110","Bob:20",etc.]
write a script that, when given the daily data will keep track of purchase amount for each customer. you can assume the data already exists in the memory

Answers

Answer:

It's good to consider this as a dictionary, with key-value pair, or as a two-dimensional array.

And in the first case, the code will be as below:

day_i={'Bob':'100', 'Alice':'100','Celia':'110','Bob':'200'}

for k, v in day_i.items():

print(k, v)

Explanation:

The above code reads through each day, and each customer purchase amount in the form of Dictionary, and prints each customer name and purchase amount. And with little enhancement, we can create each day data, and print details of the day, as being asked by the user.

Sami is creating a web page for her dog walking business. Which item will set the theme for her page? Background color Heading color Link color Text color

Answers

Background colour is the answer

Answer:

background color

Explanation:

i got it right

What are some ways tables can be inserted into a document? Check all that apply.
drawing a table
using a dialog box
using Quick tables
using the Save options
converting an image to a table
adding an Excel spreadsheet

Answers

Final answer:

Tables can be inserted into a document by drawing a table, using a dialog box, utilizing Quick Tables, adding an Excel spreadsheet, and converting text to a table. Methods like 'Save options' or 'converting an image to a table' are not common practices for inserting tables.

Explanation:

Tables can be a powerful tool for organizing and presenting data in documents and presentations. There are several methods to insert tables into a document:

Drawing a table: This method allows you to manually draw the table cell by cell, row by row.Using a dialog box: You can insert a table by selecting the number of rows and columns in the Insert Table dialog box.Quick Tables: A gallery of pre-built table templates that can be inserted with just one click.Add an Excel spreadsheet: You can insert a table by embedding or linking to data from an Excel spreadsheet.Convert text to table: If your data is already organized with separators, such as tabs or commas, you can convert it into a table.

However, options like using the 'Save options' or 'converting an image to a table' are not typical methods for inserting tables. When using Word or PowerPoint, you can also utilize the Table Tools Design tab to modify and style your table, making it match the theme of your document or presentation.

Final answer:

Tables can be inserted into documents through drawing, using a dialog box, Quick Tables, or by adding an Excel spreadsheet. The 'Save options' are not for table insertion and images are not directly converted into tables in typical software.

Explanation:

There are various methods to insert tables into a document, each serving for different purposes and requirements. Here are some of the ways tables can be inserted:

Drawing a table: This option allows you to manually create the structure of a table by drawing it out.Using a dialog box: By accessing the 'Insert Table' feature through a dialog box, you can specify the number of rows and columns.Using Quick tables: Quick tables are pre-designed table templates that can be inserted into your document for instant use.Adding an Excel spreadsheet: Inserting an existing Excel spreadsheet will create a table with the data and formats retained from Excel.Converting text to table: If your data is separated by commas, tabs, or other delimiters, you can convert it directly into a table format.

The Save options are not directly related to table insertion and converting an image directly to a table is generally not a feature of common word processing or presentation software. Modifications and formatting of tables can be done using the Table Tools Design tab, where you can add elements such as shading and borders.

Reflect on each of these statements about the Internet. Choose three statements that support the idea that the Internet makes bullying easier and a bigger problem.

Parents, teachers, and students all use the Internet.

Information can spread very quickly on the Internet.

If you say something mean online, you don’t have to worry about getting in a
physical fight.

Anything someone says could stay on the Internet for a long time.

You can find lots of information on the Internet.

You can get support from groups on the Internet.

Answers

B. Information can spread very quickly on the Internet.

C. If you say something mean online, you don’t have to worry about getting in a physical fight.

D. Anything someone says could stay on the Internet for a long time.

Cyber bullying can go full blown due to the simple fact that information that goes on the internet can be public, anonymous, and can last a very long time online.

Further Explanation:

Information can spread very quickly on the internet – Information online goes viral every day. Most people online are caught up in this kind of rapid spread of information. However, people who have intentions of getting involved in viral trends should carefully consider the effects of these trends and whether or not they will toxic to someone else. A good example is “roasting” someone online. People tend to cross the line while commenting on trends and may end up hurting people really bad emotionally.

If you say something mean online, you don’t have to worry about getting in a physical fight – Cyber bullies are best known as keyboard warriors. They behave aggressively online but when opportunities to face those they have aggressively bullied online, they will most likely not behave like that due to cowardice.

Anything someone says could stay on the Internet for a long time – Expect anything that goes online to stay online for a very long time. The internet never forgets. Information about someone will always re- surface and will be used against them when that day comes and will always turn out ugly.

Learn more about Cyber Bullying

https://brainly.com/question/1547453

https://brainly.com/question/11992465

#LearnWithBrainly

How can I write an assignment statement that stores the character 'X' in a variable ch?

Answers

Answer:

In C++ we can assign a character to the variable by using the below statement.

ch='X';

Explanation:

The complete program for assigning a character to the variable is given as

#include<iostream>

#include <conio.h>

using namespace std;

main()

{

char ch;

ch= 'X';

cout<<"output of variable Ch ="<<ch;

getch();

}

In above program Char is the data type used for character type variables. ch= 'X' stores X in ch. Then output will shown through cout.

In Florida, no-fault insurance is
mandatory for all drivers
O mandatory only for cars valued over $5,000
only mandatory for drivers over the age of 21
optional for all drivers

Answers

Answer:

mandatory for all drivers

Explanation:

It is mandatory for all drivers since January 1, 2008. Florida is among the 12 states that follow the no-fault insurance laws, and under the no-fault insurance laws, all the drivers must follow a certain set of rules like $10000s coverage law. And hence the second option is not the correct option which states $5000s. And its $10000s. And it's true for all ages and not 21. And it is never optional. Hence, the first option is the correct option.

Other Questions
How many 3/4 are in 2 A population of bacteria doubles every 15 hours. initially, the population of bacteria is 40. What is the population of bacteria after 40 hours? Enter your answer, rounded to the nearest whole number, in the box. If you and your neighbor both grow oranges and grapefruits and you are better than your neighbor at picking both oranges and grapefruits, there can be no advantage to you in specializing in growing only one type of fruit and trading with your neighbor for the other. Sue talked on her cell phone for2 1/2 hours on Monday. She talkedfor 4 2/3 hours on Tuesday. Howmany more hours does Sue need totalk to get 8 hours?A.7 1/6B.6 3/5C.1 1/6D.5/6 Ocean Breeze Co. paid $500 cash for expenses related to advertising for the period. Which of the following shows how this event will affect the companys accounting equation? The letters ""NA"" indicate that the component of the equation is not affected. Evaluate the expression for b = 5. 7.4b A caterer prepares twice as many pizzas as she usually prepares for a large party. The caterer usually prepares 4 pizzas. The caterer also estimates that each party guest will eat 1 2 of a pizza. Drag and drop each expression into the correct boxes to complete the explanation. The expression that represents how many guests the pizzas can serve is . How many party guests will the pizzas serve? Drag and drop the number of guests into the box. The pizzas can serve guests. While trying to learn what a "dog" is, Arash mentally compares every animal to his family's new puppy. If the animal is similar enough, he decides that it is also a dog. Arash's puppy serves as a _______________ for the concept of "dog." Find the particular solution of the differential equation dydx=(x5)e2y dydx=(x5)e2y satisfying the initial condition y(5)=ln(5)y(5)=ln(5). A hollow spherical iron shell floats almost completely submerged in water. The outer diameter is 58.2 cm, and the density of iron is 7.87 g/cm3. Find the inner diameter. Martha is looking to move to a new city to raise her two young children. School quality and crime rates are her two biggest concerns that she will evaluate before deciding on which city to move to. Her employment is flexible in that she works from home. Thus, she is able to work from anywhere in the country. Martha has decided to move to San Francisco, California. She decides to attend a neighborhood watch meeting where members of the local police department are speaking. They are explaining the crime trends over the past 30 years.Which of the following is accurate information concerning the crime rates?a.Crime rates peaked in the 1970s and have been in sharp decline ever since.b.Crime rates peaked in the 1980s and have been in sharp decline ever since.c.Crime rates peaked in the 1990s and have been in sharp decline ever since.d.Crime rates peaked in the 2000s and have been in sharp decline ever since. A motorboat left a harbor and traveled to an island at an average rate of 10 knots. The average speed on the return trip was 10 knots. If the total trip took 4.0 hours, how far is the harbor from the island? The graph of which of the following functions has a vertex at (4, -3)?f(x) = x2 + 8x + 19f(x) = x - 8x + 19f(x) = x + 8x + 13f(x) = x - 8x + 13 Anna rode her bike 7 miles to the lake. She rode 3/4 of the distance to the lake before lunch. How many miles did she ride before lunch? A mutual fund rating agency ranks a fund's performance by using one to five stars. A one-star mutual fund is in the bottom 20% of its investment class; a five-star mutual fund is in the top 20% of its investment class. Interpret the meaning of a four-star mutual fund. Which accurately describes how an investment is made? selling labor for wages putting money into an asset turning commodity money into fiat money selling shares in a public corporation What is 4 3/4 as a improper fraction A group of elderly residents were commenting on how many cell functions decline with age. One resident commented that many of his friends who lived under large electromagnetic towers seemed to experience aging at an accelerated rate in comparison with residents who lived nearby in lakefront housing. This observation is the basis for which theory on aging?A) Theories of genetic influencesB) Programmed cell receptor theoriesC) Insufficient telomerase enzyme theoryD) Error theory associated with DNA damage Gina smokes two packs of cigarettes a day, but lately she has begun to seriously think about quitting. According to the transtheoretical model, Gina is in the _____ stage. After 4 months, 4500 deposited in a savings account with simple interest had grown to a total of 4515. What was the interest rate? Steam Workshop Downloader