IN JAVA
Using a for loop, write a program that prompts the user to input a positive integer. It should then print the multiplication table of that number.

Enter a positive integer: 5


Example output:

0 0 0 0 0 0 0 0 0 0 0

0 1 2 3 4 5 6 7 8 9 10

0 2 4 6 8 10 12 14 16 18 20

0 3 6 9 12 15 18 21 24 27 30

0 4 8 12 16 20 24 28 32 36 40

0 5 10 15 20 25 30 35 40 45 50

Answers

Answer 1

import java.util.Scanner;

public class JavaApplication67 {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.print("Enter a positive integer: ");

       int num = scan.nextInt();

       while (num < 0){

           System.out.println("Please only enter positive numbers!");

           num = scan.nextInt();

       }

       

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

           System.out.println(num*i);

       }

       

   }

   

}

This displays the given integer's multiplication table up to 10.


Related Questions

please help i will give you brainlest!!!!!!!!!

Answers

Answer:

Letter C

Plagiarism is copying someone's work or stealing other original ideas.

In your own words explain the following about the Domain Name System
What problem does the DNS solve?
How does the DNS help the world wide web scale so that billions of users can access billions of web pages?

Answers

Answer:

Suppose you want to access brainly.com.  You type that into your favorite browser and hit enter.  Your computer does not know how to get to brainly.com.  This is the DNS comes in.  The DNS looks for brainly.com and maps it to an IP address (eg. 104.17.74.91).  Your computer can easily find 104.17.74.91 in order to connect you to questions and answers on a variety of topics.

Write a Python program that calculates the product of all odd numbers between 1 and 1111, using the for loop and the range function.

Answers

Answer:

answer = 1

for i in range(1, 1111, 2):

   answer *= i

print(answer)

Explanation:

The result is: 1867661487583158519937007997593731768674710592395936453814589179168970488627486922435352153202170177468180449036460330489883227953920786805094193880129176242750706494757506292242513096874889912138041641434433821228611320718319399459865627764413363015842622109227229695987391658459583021203370153652674793604946843921588657975214048903891877905278158326695472816452229608456097609116519045810867129060580585147954461081838126748579250596173066031868654116793938302170110362754673884690241925481893823673916009076351110558645412222773118927086453253674705050538434792606852567079575854841390964177213252754015145265445261542957834970632574543428225247242488955307645556148572185949820791464992259236192606284766174288372574869081003838416637821295590820946372288692264397746175279884156247638880688731656093911498376399334121390341627286952705811600644061948275361728751637451512725082376969150560038940786375629981515779279396085386198351152320090978588430101676704229895114350886499131456005886390334346220238579530541662198038029084029447261270224035584412162390327122500762501298502491940263477106501424307313102108306951120296510397274150253596249878157904612419169854362011297315737418348969961989528582716326033338095891309343771263480361729925724962879195879868448756011080612327885089033870698092857432512937836751109257833022671357201287794589267907954829015862301288301132960212133783812669550047024479011437136932727298699319362640380859375

Maria wants to create an image for a Web page. Maria should use _____. help me

Answers

graphics software
Hope it helps

Answer:

Maria wants to create an image for a Web page. Maria should use a graphics software

Explanation:

A graphics software is a tool to create images, logos and graphics. Graphic software provide different options to make and edit an image. So if someone has to create an image, he/she should use a graphic software.

Hence,

Maria wants to create an image for a Web page. Maria should use a graphics software

Pleaseee need help ASAP!!

Will mark BRAINLIEST!! :)

Answers

Answer:

The correct option is Option B

Explanation:

We need to find examples of client-side code.

Client Side code: The part of code, that doesn't require server for performing specific task

SO, The correct option is Option B

Prompt for special characters in user name

Reason: We can use alert to generate prompt using JavaScript or through validation and it can be done on client side.

All other options, we need to hit the server to perform the task, So they are not client-side code.

What is "fake news"? Why do officials want students to learn to recognize it? How do officials plan to help students do this?

Answers

Fakes news is any type of news that is false or incorrect. Officials are trying to teach students about fake news because fake news is everywhere. It is influencing what students do. When they see something on social media they might share it, and it will spread. It even may show them something violent or inappropriate. Officials are doing multiple things to help students, such as seminars in school, assemblies in school, etc.

Which Boolean operator enables you to exclude a search term?

Answers

Answer:

The three most commonly used operators are AND, OR, NOT. These are known as Boolean operators. They can be used to broaden or narrow a search and to exclude unwanted search terms and concepts.

WILL GIVE BRAINLIEST!!!!
Casey overhears two people talking about an amazing new app. What phrase has been abbreviated when they talk about an “app”?
applied computer simulation
application software
appropriate usage format
applied technology

Answers

Answer:

Application Software

Answer:

application software

Explanation:

"Application software" is a common phrase nowadays that is being abbreviated as "app." Casey described the new app as "amazing," which means that the app could be a game, a browser, a photo editor or other programs that are deemed important and mostly exciting for the end users–people who are targeted by the software. In the situation above, they could be talking about a trendy app. New apps are being created by people over the course of years.

Is there a way to using Microsoft apps for iOS?

Answers

Answer:

nope there is no way ut some games or apps is also can download in ios and also in microsoft

How do I convert years to days on Python. For example, if I were to enter 3 years it should output "You are 1095 days old".

Answers

years = int(input("Enter the # of years: "))

print("You are "+str(years*365)+" days old")

I wrote the code in python 3.8. I hope this helps!

A taxi cab costs $1.25 for the first mile and $0.25 for each additional mile. Write an
equation for the total cost of a taxi ride, where x is the number of miles that you can ride for
$8.00.

Answers

Answer:

0.25x+1.25=8

Explanation:

Hope this helps

What is iteration?????

Answers

Answer:

Iteration is a program repeated untill a condition is met

Explanation:

Explanation:

Iteration in programming means repeating steps, or instructions, over and over again. This is often called a ‘loop’.

Iteration is the repetition of a sequence.

Algorithms consist of instructions that are carried out (performed) one after another. Sometimes an algorithm needs to repeat certain steps until told to stop or until a particular condition has been met.

what is data modelling​

Answers

Answer:

Data modeling is a process used to define and analyze data requirements needed to support the business processes within the scope of corresponding information systems in organizations. Data modeling defines not just data elements, but also their structures and the relationships between them.

Explanation:

there ya go.

Data modeling is when you create information for a data model system. Sometimes, this data model is usually implemented into a database, which then results in database modeling

Public-key cryptography (a form of asymmetric cryptography) is an encryption method that's widely used because: 1) it is computationally infeasible to computer the private key based on the public key, 2) it's easier to share one public key than billions of private keys, 3) it's much tough to crack asymmetric encryption than symmetric, 4) it's more secure because the private keys do not even need to be transmitted or revealed to anyone.

A. 1 only
B. 2 only
C. 3 and 4 only
D. All 1-4 are correct

Answers

Answer:

C.

Explanation:

Jen's laptop that is wirelessly connected to the home network router and turned on; her husband's PC, which connects to the router by a cable that is turned off; her mother's virus-infected computer that has been unplugged from the router; and her daughter's smartphone that is wirelessly connected to the router.

Answers

Answer:

The network is a LAN.

Explanation:

Computer networks are interconnection and intercommunication of computer devices to share resources. There are several types of computer networks, they are, LAN or local area network, WAN or wide area network, PAN or personal area networks, etc.

A LAN is a network of computer devices ranging from a floor of a building to the building of more. WAN is a network of LANs while a PAN is just a short 10-meter network between two Bluetooth connected devices.

The network described in the question is a wireless LAN or WLAN which is still a local area network.

Answer:

a LAN

Explanation:

What is a disadvantage of online information sharing

Answers

Answer:

See below.

Explanation:

A disadvantage could be how easy it is to spread false information. The internet is a great place to find information on news, sports, and other topics. However, it is incredibly easy for people to make up and spread information that is untrue. Even some news articles can be untrustworthy. Which is why it's important to do your own research.

Ask the user for their full name (using a single input), write a section of code below that will correctly print the users first name and last name on separate lines.

Answers

name = input("Enter your name: ")

lst = name.split()

print(lst[0])

print(lst[1])

We split the name apart at the spaces and print out the object at index 0, which is the first name and at index 1, which is the last name.

I hope this helps!

Which of these is NOT an example of a transition?
Crash Cymbal
Riser
Melody Consistency
Track Dropouts

Answers

Answer:

It's Riser

Explanation:

30% of the mass of an objects is 24 kilograms. use this fact to find:
a) 60% of the mass
b) 10% of the mass
c) 50% of the mass
d) the whole mass of the object​

Answers

Answer:

chemați. mfvd5. fn. cfcfcfcfcfcfcf 4t

The extension on the end of a file name will tell you what format the file is.
O True
O False

Answers

The answer is true

The .whatever tells you what format the file is

The extension on the end of a file name will tell you what format the file is True statement.

What is a file file extension?

A file extension is known to be a kind of file name extension that is said to often ends with a file that one can be able to use to identify the type of file that exist in an operating systems.

Conclusively, due to the above, that is, the extension on the end of a file name will tell you what format the file and thus it is a true statement.

Learn more about extension from

https://brainly.com/question/10713675

#SPJ2

What is the shape of a CARDIOD pick up pattern?

Answers

ayoooooo? its shaped like a butt

Xavier wants to print the slides of his PowerPoint presentation to practice and make notes but doesn't want to use too much ink or paper. What print option should Xavier use?

Print Full Page Slides
Print Handouts
Print Notes Pages
Print Presentation

Answers

Xavier should print Notes Pages

Answer:

who is xavier ?

print note pages

or print in draft

Explanation:

What is a characteristic of high-level languages?

A.
They have the fastest execution speed on computer processors

B.
They use unfamiliar English words to describe instructions and memory locations.

C.
They expect programmers to be familiar with computer architecture.

D.
They use mathematical symbols such as “+” and “-” to denote addition and subtraction operations.

Answers

Answer:

B SIR HOPE THIS HELPS (☞゚ヮ゚)☞☜(゚ヮ゚☜)

Explanation:

Answer:

B is not the answer on plato

any one want to play freefire with me and my duo​

Answers

Answer:

hahahaha you thought

Explanation:

Which one of the statements best characterizes the current state of e-commerce?
It has recently reached a plateau and is expected to stay stagnant or even to decline in use over the next several years.
It has been rapidly expanding over the last several years and is expected to continue to expand at an even faster rate.
It has been rapidly expanding over the last several years but expected to soon plateau or even decline.
It has recently reached a plateau but is expected to begin growing and keep expanding over the next several years.

Answers

It has been rapidly expanding over the last several years and is expected to continue to expand at an even faster rate.

A computer reads a sequence from top to bottom and left to right.

Answers

Answer:

true

Explanation:

Anna always has a hard time finding files on her computer because she does not know where she saved them. This also affects her productivity at work. Anna is lacking good skills.

Answers

Answer:

Organization skill

Explanation:

THIS IS THE COMPLETE QUESTION

Anna always has a hard time finding files on her computer because she does not know where she saved them. This also affects her productivity at work. Anna is lacking good ______ skills.

From the question we are informed about Anna always who has a hard time finding files on her computer because she does not know where she saved them. This also affects her productivity at work. In this case, the skill she is lacking is file management skills. File management skills is a skill that is required in the setting up system that effectively handle digital data. File management gives enablement to search data in searchable database which allows the user to find data easily on the computer. Some of the advantages of file management are:

reduce storage space,better back up system, easier retrieval of file, as well as file security.

Answer:

She is lacking good Organization skills.

Explanation:

Which of these are examples of data sources? Check all that apply.
-central processing units
-databases
-electronic archives
-folders
-online libraries
-spreadsheets

Answers

Example of data sources include the following:

Online libraries

Spreadsheets

What is sources of data?

Sources of data is the main or primary location from where data is being obtained.

For computer programs, the main sources of data include:

File,

Data sheet,

Spreadsheet,

Online libraries

Therefore, examples of data sources are the online libraries and spreadsheets.

Learn more about data here:

https://brainly.com/question/25720881

#SPJ2

Answer:

B,C,E,F

Explanation:

Specific keys that each finger is responsible for typing is called A. ergonomics B. Touch typing C. Key reaches D. Posture

Answers

Answer:

D

if your key positioning and posture is right, each finger would be put up to use.

Which is a benefit of peer-to-peer networking?

Answers

Answer:

Easy file sharing: An advanced P2P network can share files quickly over large distances. Reduced costs: There is no need to invest in a separate computer for a server when setting up a P2P network. Adaptability: P2P network extends to include new clients easily.

Other Questions
6 * 10^8 is how many times as large as 2 * 10^3 find the length of the hypotenuse of a right triangle with legs of 5 ft and 12 ftA. 11 ftB. 13 ftC.17 ftD.60 ft What advantage does globe map have over a flat map?A .A large globe map is easy to display, store and move from place to place.B. A globe map displays features in better detail than flat maps.C. A globe map shows all land forms in proper proportions.D. A globe map shows the entire Earth all at one time. which of these is an example of typing at an average of 42 words per minute Triangle similarity problem PLEASE HELP I WILL MARK YOU BRAINLYEST IF YOU GET ME THE RIGHT ANSWER PLSSSS Question 2The red fire ant is indigenous to South America. In recent years, this invasive species has become a pest for both humans and other antscrop destructionWhat would be the safest way to reduce the impact of the non-native red fire ant while minimizing the impact on other organisms?A pouring gasoline on ant moundsBspraying broad-spectrum pesticidesrelease a species of fly that will prey on the fire antsDtreating all species of ants with ant killer Solve the given system of equations utilizing either the substitution or addition method. how many significant figures does 1700000000 have ? Which group aided the Americans during the Revolutionary War? This is due today!!!!!!!! 03.01 LC)What is the length of the hypotenuse of a right triangle if each of the two legs is 4 units? (5 points)Square root of 8 units4 unitsSquare root of 32 units8 units Help please !!! Due in 10Minutes Cotton candy was first made in Europe during the 17th century, but making it back then took a lot of work, and most people couldn't afforfd it. In 1897 William Morrison and John Wharton invented machine spun cotton candy. This made the treat much cheaper to produce. People fell in love with it when Morrison and Wharton introduced it at the 1904 World's Fair. A. problem and solutionB. chronologyC. compare and contrastD. both choices 1 and 2 are correct help ppppllllllllllllssssssssssss!!points and brainliest! Joyce pushes Efua, whose mass is 40.0 kg, with the force of 5.0 N. What is Efua's resulting acceleration? What does the reduction potential chart tell you about two elements?A. Where they are located on the periodic tableB. Which is more likely to be reducedC. Which forms a positive ionD. Which one is a metal What is the range of the function on the graph?O all real numbersO all real numbers greater than or equal to 0O all real numbers greater than or equal to 1O all real numbers greater than or equal to 2 The bodys main energy source should come from what essential nutrient? A. protein B. fat C. carbohydrate D. minerals ANSWER QUICK I WILL MARK BRAINLEST!!!!!Travis is reading Wonder after school.The thing is, because of the way my face is, people who don't know me very well don't always get that I'm smiling. My mouth doesn't go up at the corners the way other people's mouths do. It just goes straight across my face. But somehow Jack Will got that I had smiled at him. And he smiled back.He is not sure that he understands what he is reading.What will most help Travis understand the paragraph?Travis can look online at pictures of smiling faces.Travis can read an encyclopedia article about mouths.Travis can reread the paragraph and create a mental picture of Augusts smile.Travis can keep reading the story and hope he understands later. whats the slope of (-1,8) and (2, -4) In the given figure, line m is parallel to line n, and line a is parallel to line b.