JAVA

Write a program to display the first ten terms of the series:
5, 10, 17, --------------​

Answers

Answer 1

Answer:

class Main {  

 public static void main(String args[]) {

   int a = 5;

   int delta = 5;

   for(int i=0; i<10; i++) {

       System.out.printf("%d, ", a);

       a += delta;

       delta += 2;

   }

 }

}


Related Questions

PLEASE HELP!!!!


Which of the following statements about content-based filtering is TRUE?

A. With content-based filtering, users receive recommendations for items liked by similar users.

B. With content-based filtering, users receive recommendations for items that are similar in type to ones they already like.

C. Both A and B are true

D.Neither A nor Bare true​

Answers

Answer:

D

Explanation:

It means its based on things similar to what you are reading or looking at.

The statement that is true about content-based filtering is; A. With content-based filtering, users receive recommendations for items liked by similar users.

What is Content based Filtering?

Content-based filtering is defined as a type of recommender system that attempts to guess what a user may like based on that user's activity.

Now, from the given options we can say that option A is correct because it matches the description we have above about Content based filtering.

Read more about Content based filtering at; https://brainly.com/question/10043488

#SPJ9

In cell B3, insert a nested MATCH function within an INDEX function that will look up the rental price in column D using the apartment number referenced in cell B2. With 101 entered in cell B2, the lookup function displays $950.00.

Answers

Solution :

Step 1:

Open the excel exploring_e07_grader_h1_Apartment.xlsx and save it as exploring_e07_grader_h1_Apartment_LastFirst.

Step 2:

At cell G8 in the Summary worksheet, insert the date function to the number of Years since remodel:

Compute the difference between the years 1/1/2018 value in the cell H2 and the Last remodel date present in cell F8 which returns the number of days.

Then, divide the resultant by 365 days to get the answer in the form of years.

The formula to compute the number of years since remodel at cell G8 is,

 =($H$2 - F8)/365.25

Copy the function used in the cell G8 to the cells G9:G57.

Step 3:

At cell H8 in the Summary worksheet, insert the function to compute the pet deposit.

Condition to check is whether the number of rooms that is at Cell C8 is greater than or equal to 2 and it is remodel less than 10 years ago.

If the condition is true, then pet deposit cost is $275 present at cell H4.

Otherwise the pet deposit cost is $200 present at cell H5.

So, the formula to apply at cell H8 is,

=IF(AND(C8>=2, G8<$H$3), $H$4, $H$5)

Step 4:

At cell I8 in the Summary worksheet, insert the function to display Need to Remodel:

Condition to check is whether the apartment is unoccupied depending on the cell E8(“Yes” or “No”) and last remodeled that is cell G8 is greater than 10 years (cell H3).

If the condition is true, then display as “No Change”.

Otherwise display as “Need to Remodel”.

So, the formula to apply at Cell I8 is,

=IF(_AND(_E8="No", G8>$H$3), "Need to Remodel", "No Change")

Step 5:

Copy the functions used in the cells H8:I8 to the cell range H9:I57.

Step 6:

At cell B3, to display the rental price:

By using Index function look up for the rental price present in Column D and check for the match of cell B2 with respective the Column Range A8:A57.

Syntax for INDEX function is:

=INDEX(Array, Row number, Column number)

Syntax for MATCH function is:

=MATCH(Loop up, Loop up array, Match type)

So, the function to be inserted at cell B3 is,

 =INDEX($D$8:$D$57, MATCH(B2, $A$8:$A$57,0))

.WAP to enter monthly sale of Salesman and give him commission i.E. If the monthly sale is more than 500000 then commision will be 10% of monthly sale otherwise 5%

Answers

sales = float(input("Enter monthly sales amount: $"))

commission = 0.05

if sales> 500000:

   commission = 0.1

print("You earned: $"+str(sales*commission))

I wrote my code in python 3.8. I hope this helps.

Definenation monitor​

Answers

Answer:

A computer monitor is an output device that displays information in pictorial form. A monitor usually comprises the visual display, circuitry, casing, and power supply. .

Ideally, Internet of Things (IoT) devices have the ability to:

A. Increase energy efficiency
B. Decrease energy efficiency
C. Raise utility expenses like heating and cooling
D.Both A and C​

Answers

Answer:

I believe the answer would be D

Ideally, Internet of Things (IoT) devices have the ability to increase and decrease energy efficiency. The correct option is D. Both A and C​.

What is the Internet of Things (IoT)?

The Internet of Things (IoT) is a network of connected computing devices, mechanical and digital machinery, items, animals, or people that can exchange data across a network without the need for human-to-human or human-to-computer interaction.

Things, the Internet, and connectivity are the core three elements of the Internet of Things (IoT). A link that works with the local network, the cloud, and other devices. In order to offer ubiquitous connection, networks are used to connect IoT components.

These networks use a variety of wireless and wire line technologies, standards, and protocols.

Therefore, the correct option is D. Both A and C​.

To learn more about the Internet of Things, visit here:

https://brainly.com/question/29766810

#SPJ2

plzz help me plzzz help me
its very important​


plzzz..........

Answers

Answer:

import java.util.Scanner;

public class Main {

 public static void main(String[] args) {

   Scanner scan = new Scanner(System.in);

   while (true) {

     System.out.print("Enter a year (0 to exit): ");

     int year = scan.nextInt();

     if (year == 0) break;

     boolean leap = false;

     if (year % 4 == 0) {

       if (year % 100 == 0) {

         leap = (year % 400 == 0);

       }

       else {

         leap = true;

       }      

     }

     System.out.printf("%d is%s a leap year.\n", year, leap ? "":" not");

   }

 }

}

Submit your newsletter that includes the following: two or three columns a title at least three graphics, but not more than six

Answers

Sorry for late response. I hope this answer helped.

I will be doing the biography report.  

The Biography and Life of Henry Ford.

Column One: Who was Henry Ford?

Henry Ford was the founder of Ford Motor Company and also the mass producer of the automobile. Henry Ford was born in 1863. At the age of 16, he worked as a machinist apprentice. Later, Henry began to work the family farm while still working on creating steam engines. Henry had a big interest in steam engines, which would later contribute to him building his first working automobile.

Column Two: How did Henry Ford contribute to our society?

After marrying in 1888, Ford was hired to work for Edison Illuminating Company. His position was an engineer, and Ford began to accelerate his position in the company quickly. After a while, Ford created his first operating vehicle. This was called the "Quadricycle." Ford wanted to improve on his models, so he founded the Company Ford with others. Ford then began to develop methods of mass-producing automobiles to sell to the public. After success in business, he bought the whole company and owned it all by himself. Ford began to mass-produce automobiles. It is said that " The mass production techniques Henry Ford championed eventually allowed Ford Motor Company to turn out one Model T every 24 seconds." Ford passed away in 1945. He decided to give ownership to his son Edsel Ford before he died, but Edsel sadly died before Henry Ford. The Ford company's ownership was given to Ford's grandson, Henry Ford II.

Three Graphics:

The newsletter consists of a topic from the Microsoft foundation. It typically makes charitable contributions to nonprofit organizations directly.

What is Newsletter?

A newsletter may be defined as a small or brief publication that significantly contains news of interest chiefly to a special group. The purpose of a newsletter is to promote a product or service and create an individual touchpoint with your email subscribers.

The support of the Microsoft foundation is given on a national and international basis in areas of company operations, with emphasis on the Puget Sound, Washington, area. This is permanently guided by the belief that every life has equal value, the Bill & Melinda Gates Foundation works to help all people lead healthy, productive lives.

In developing countries, it focuses on improving people's health and giving them the chance to lift themselves out of hunger and extreme poverty.

To learn more about Newsletter, refer to the link:

https://brainly.com/question/28424369

#SPJ2

What can make an online interface difficult to use?​

Answers

Answer:

their is a lot miscomsuptions

Explanation:

The difficulty experienced by online interface users simply arises from the design principles associated with the structure of the interface.

The design of an online interface is best kept as simple as possible rather than a complicated user interface which becomes very difficult to navigate.

Another problem associated with design the use of overlapping textures or structures which often makes the user interface a whole lot more complicated.

Hence, the difficulty arising from using an online interface stems from the design.

Learn more : https://brainly.com/question/19117781

Complete the sentence to state a fact about procedural programming.
Another name for procedural programming Is

Answers

Answer:

Procedural programming is also referred to as imperative programming. Procedural programming languages are also known as top-down languages.

Answer:

imperative programming

Explanation:

The three main parts of a computer are the CPU, Memory, and Motherboard Imagine you are explaining what a computer is to a kindergarten student. What analogy could you use to explain the hardware parts of a computer?

Answers

Answer:

the cpu is like your brain, the memory is like a library and the motherboard is like the roads in your town

Smart art can be used to create that highlight relationships between two items

Answers

Answer:

The answer to this question is given below in this explanation section.

Explanation:

A smart Art graphic is a visual representation of your information and ideas.you create one by choosing a layout this fits your message.Some layouts specific kind of information,while other simply enhance the appearance of a bulleted list.

    You can create a smart graphic in excel power point,word,or in an email message in outlook.The smart button is one the insert tab and developing on your screen size,may look like.

Other office program do not allow for smart art art graphic creation,but you can copy and paste smart graphics as image into those programs.As part of this process,when you are prompted to choose a type such as process hierarchy,or relationship.A type is similar to a category of smart art graphic,and each type contains several different layouts.

Because you can quickly and easily switch layouts,try different layouts until you find the one that best illustrate your message.

Who is responsible for making adjustments to the shots taken in a two-camera situation?
camera person
audio technician
technical director
A/V tech

Answers

Answer:

The correct option is;

Technical director

Explanation:

A scene in a movie is made up of several shots and the idea portrayed by a scene is determined by the technical director or the director of photography who has the responsibility of making the film appear as intended by working with the different film production departments including the editing department at various film editing phases

The list shows the steps in developing a research plan.
Which two steps are out of order?
1. Select the topic.
2. Create a schedule.
3. Set goals.
4. Write down research questions.
5. Identify research method(s).
6. Find and evaluate sources.
O 5 and 6
O4 and 5
O 3 and 4
O 2 and 3

Answers

Answer:

4 and 5 are out of order

Explanation:

Answer:

Do u still need help?

Explanation:

Text should always be compressed using... A - Lossless compression because it it more efficient at compression, because it usually has a large file size which we need to reduce so we don't use up all our data B - Lossless compression because it can reproduce the original message, and it's important to be able to reconstruct the original message for communication purposes. C - Lossy compression because it it more efficient at compression, because it usually has a large file size which we need to reduce so we don't use up all our data D - Lossy compression because it can reproduce the original message, and it's important to be able to reconstruct the original message for communication purposes.

Answers

Answer:

B - Lossless compression because it can reproduce the original message, and it's important to be able to reconstruct the original message for communication purposes

Explanation:

Given that a Lossless compression is a form of file compression technique that is characterized by keeping the originality or quality of the file data while at the same time reducing the file size.

Hence, Text should always be compressed using "Lossless compression because it can reproduce the original message, and it's important to be able to reconstruct the original message for communication purposes."

Help I will mark BRAINLIEST !
Explain looping as an invention strategy. Why is it helpful?

Answers

Answer:

looping?

Explanation:

You need to configure your Android phone so that you can receive your Yahoo email on the device. What information would you need to provide?

Answers

Answer:

To configure an Android phone to receive Yahoo email on the device, you would need to provide the:

full Yahoo email address and password.

Explanation:

The provision of your full Yahoo email address and password enables you to receive your Yahoo emails on the device.  Most often, the device requests to save the information to enable it to notify you of incoming emails.  There are settings for the provision of this notice.  The user can also synchronize Yahoo emails on all the devices by selecting the Sync button.

It is not important to type '=' before a formula or a function

Answers

Answer:

no

Explanation:

because it designates the sum or total

What is lossless compression

Answers

Answer:

Lossless compression means that as the file size is compressed, the picture quality remains the same - it does not get worse. Also, the file can be decompressed to its original quality.

Explanation:

hope this helps

please brainliest

Answer:

a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data.

Explanation:

Persuasion is when Someone speaks to crowd about love
○True
○False​

Answers

false i think is the answer

which of the following is a likely problem for a driver in an urban area? A. fame animals on the roads B.not finding a gas station

Answers

Answer:

D. Line of sight restrictions

Explanation:

The urban area is denser when it comes to the population of people compared to the rural area. This means that the traffic is heavy and there are many people crossing the streets. The buildings are also tall. These things block the person's view upon driving to his target destination. Therefore, he has many line-of-sight restrictions when driving in the city. He needs to be more careful in driving by using his mirrors in order to prevent accidents. Unlike in the countryside, the target area is usually visible to the sight of the driver.

Answer:

D. line of sight restrictions

Explanation:

To transfer files to your company's internal network from home, you use FTP. The administrator has recently implemented a firewall at the network perimeter and disabled as many ports as possible. Now you can no longer make the FTP connection. You suspect the firewall is causing the issue. Which ports need to remain open so you can still transfer the files? (Select TWO

Answers

Answer:

Ports 20 and 21

Explanation:

For the FTP to work, there are two parts that are required; the command and the data.  These two parts are sent on the two ports 21 and 20 respectively.  If the firewall is indeed blocking connections on ports 21 and 20, then your FTP will not work.

Hence, you need to open ports 20 and 21 to allow FTP to remain functional.

Cheers.


What type of cost will reduce with the introduction of a CAM system in a manufacturing plant?
A.
capital cost
B.
fixed cost
C.
labor cost
D.
material cost

Answers

Answer:

a.capital cost

Explanation:

because capital cost is to reduce introduction of CAM system

any four features of power point​

Answers

Answer:

Edit, play PowerPoint, add new slide, delete new slide

Explanation:

Answer:

Start With a Built-in Layout. ...

Use Slide Master View to Update Designs Consistently. ...

Use Someone Else's Presentation as a Starting Point. ...

Rearrange Slides for Effectiveness. ...

Follow the Guides. ...

Set Slide Sizes.

JAVA

Write a program to display the given pattern:
3
5 6
8 9 10
12 13 14 15​

Answers

Answer:

class Main {  

 public static void main(String args[]) {

   int nr = 1;

   int value = 3;

   while(value < 16) {

      for(int i=0; i<nr; i++) {

          System.out.printf("%d ",value++);

      }

      System.out.println();

      value++;

      nr++;

   }

 }

}

Explanation:

This is one of the many approaches...

Would it be possible for two people to have the same email address? Explain.

Answers

No. They don’t allow you to create the same username
answer: it shouldn’t be

Which of the following is an example of a sales promotion?

Answers

Answer:

bird power bird power bird power

Explanation:

cause ik

what is intellectual property rights law ?​

Answers

Intellectual property law deals with the rules for securing and enforcing legal rights to inventions, designs, and artistic works. Just as the law protects ownership of personal property and real estate, so too does it protect the exclusive control of intangible assets.

Determining Correct Date Function What function text would you use to put today's date and time in a cell? 0 =TODAYO =NOWO O NOWO) O TODAYO​

Answers

The function text that would you use to put today's date and time in a cell is B. =NOW()

What is a Time and Date Function?

This refers to the command that is given to a computer in order for it to render the correct time and date in a given cell.

Hence, we can see that from the answer choices, the best one that factors in both TIME AND DATE is =NOW() which is option B while option A is for the function that shows only the current date.

Read more about date functions here:

https://brainly.com/question/19416819

#SPJ1

Your manager has asked you to improve network security by confining sensitive internal data traffic to computers on a specific subnet using access control lists (ACLs). On which device(s) should the ACLs be deployed

Answers

Answer:

computers

Explanation:

When you login to your blogging account. The first screen with all controls, tools and functions is called .... Select one: a. Dashboard b. Templates c optians

Answers

Answer:

a. dashboard

Explanation:

In almost every program or webpage where you log in with a personal account. The first screen that contains all your pertinent information and the controls/tools for your account is known as the dashboard. Here you are able to adjust, modify, fix, and analyze all aspects of your account, including the data it contains. The dashboard is extremely useful and often times a necessity for every application.

There are different kinds of devices.  The dashboard option provides all the controls, tools and functions to the blogger to have an easy access to the site.

When you login to your blogging account what is the first screen?

The first screen a person can see when you log into your site is the dashboard of your administrative area.

A blog or called Weblog is known to be an online journal where an person, group, or corporation usually put or present a record of activities, thoughts, etc.

Learn more about dashboard from

https://brainly.com/question/1147194

Other Questions
In the reaction 4A1+302 +_ Al2O3, what coefficient should be placed in front of the Al, to balance thereaction?0 1O2O 3O 4 Find the perimeter and the area of a rectangle with the sides of 3 3/10 meters and 6 2/3 meters. what is the area of the rectangle in meters 2. __________is the pressure exerted by the layer of air around the Earth what is weathering? does anyone listen to osquinn, tyler the creator, frank ocean, or dg HELO ASAP ILL GIVE BRAINLIST Marianne joue du ballet.correct or incorrect?WILL GIVE BRAINLIEST (a) When the terminals of a 100-V battery are connected to two parallel plates 1 cm apart, what is the electrical field in the region between the plates For the reaction C+2H 2 ->CH 4 calculate the percent yield if 98 g of methane is produced when 100. g of carbon reacts with an excess of hydrogen? how many zeros does f have? explain how you know Please answer correctly and write explanation Kellys scores for the last seven quizzes are 92,77,83,80,97,88, and 78 what is her mean quiz score Answer quick please I really need help with this Which fish species are the least tolerant of water pollution? Which fish species are most tolerant. how would you arrive at your conclusion?Fishes used;BassCarpGarCatfishTrout Use proportional reasoning to determine the value of a in the proportion shown below.a=1a=25a=10a=15 What is the estimate value of 976 divided by 0.188 WILL NAME BRAINLIESTThink about the difference between citizenship by birth and citizenship by naturalization. In your opinion, whomight value his citizenship more, the naturalized citizen of the citizen by birth? Write your answer to this question and your reasons in a two-page report. Fill out the table with information about the roles of international organizations in the global economy: (Please help! this packet is the only thing left & i wont have history credits) Which of these is a negative impact of lobbying? It makes businesses too transparent. It favors groups over the individual. It enables outsiders to influence lawmakers. It offers advantages to those with money. which American woman has spent more hours in space than any other?1. Shannon Lucid 2. Geraldyn Cobb 3. Jeane Kirkpatrick 4. Wilma Mankiller