Answer:
Yes.
Explanation:
MEOWWWWWRARRARARARARRA
What is the output of this program?
numA = 2
numB = 3
if numA == 2 or numB == 2:
print("yes")
elif numA == 2 and numB == 3:
print("no")
Output:
Answer:
out is no
Explanation:
just took the quiz
(Java)Convert the QuartsToGallons program to an interactive application. Instead of assigning a value to the number of quarts, accept the value from the user as input.
class QuartsToGallonsInteractive
{
public static void main(String[] args)
{
// Modify the code below
final int QUARTS_IN_GALLON=4;
int quartsNeeded=18;
int gallonsNeeded; int extraQuartsNeeded; gallonsNeeded=quartsNeeded/QUARTS_IN_GALLON; extraQuartsNeeded=quartsNeeded%QUARTS_IN_GALLON;
System.out.println("A job that needs " + quartsNeeded + " quarts requires " + gallonsNeeded + " gallons plus " + extraQuartsNeeded + " quarts");
}
}
import java.util.Scanner;
public class QuartsToGallonsInteractive
{
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
final int QUARTS_IN_GALLON=4;
int quartsNeeded=0;
System.out.println("How many quarts do you need?");
quartsNeeded = scan.nextInt();
int gallonsNeeded, extraQuartsNeeded;
gallonsNeeded=quartsNeeded/QUARTS_IN_GALLON;
extraQuartsNeeded=quartsNeeded%QUARTS_IN_GALLON;
System.out.println("A job that needs " + quartsNeeded + " quarts requires " + gallonsNeeded + " gallons plus " + extraQuartsNeeded + " quarts");
}
}
I hope this helps!
To modify a program is to rewrite the program in another way.
In order to make the program an interactive program, we have to remove the following program statement:
final int QUARTS_IN_GALLON=4;
The above program statement assigns 4 to the variable QUARTS_IN_GALLON.
This means that:
Each time the program is run, the value of QUARTS_IN_GALLON is always 4.
Next, we replace the statement with:
Scanner input = new Scanner(System.in)
int QUARTS_IN_GALLON;
QUARTS_IN_GALLON = input.nextInt();
So, the complete modified program is:
class QuartsToGallonsInteractive{
public static void main(String[] args){
Scanner input = new Scanner(System.in)
int QUARTS_IN_GALLON;
QUARTS_IN_GALLON = input.nextInt();
int quartsNeeded=18;
int gallonsNeeded; int extraQuartsNeeded; gallonsNeeded=quartsNeeded/QUARTS_IN_GALLON; extraQuartsNeeded=quartsNeeded%QUARTS_IN_GALLON;
System.out.println("A job that needs " + quartsNeeded + " quarts requires " + gallonsNeeded + " gallons plus " + extraQuartsNeeded + " quarts");
}
}
Read more about interactive program at
https://brainly.com/question/15683939
What tools you would recommend for monitoring ports and network traffic, according to your own research. You must go beyond simply listing tools and defend your choices.
i would say solarwinds network performance moniter.
Which data type is 1.2e3?
string
single
int
float
Just basic Python coding BTW :L
Answer:
Float, Floating point numbers go up to 3.402823466 E + 38
Explanation:
if a friend asked you to help her decide what internal sabling system to install in her new house, what kinds of questions wouls you ask her to do? why would you ask those questions?
Answer:
Assuming you mean *cabling system*
you could ask:
- The architectural structure of the building, which houses for the cabling installation.
- The function of the cabling installation.
- The configuration of an already installed system (upgrades and retrofits).
others
- The cable and connection products.
- The types of equipment the cabling installation will support -- present and future.
- Customer requirement.
Select the correct answer. Joe always misspells the word calendar. He types the word as calender but the correct spelling appears on the document. Which feature of the word processor corrects this word? A. AutoCorrect B. Spell Check C. Grammar Check D. Change
Advancements in technology have made the global marketplace more accessible. True O False
Answer:
I'd say true
Explanation:
Because techonolgical advancements have made the marketplace more reliable and more powerful than ever before. Hoep it helps
Answer:
true
Explanation:
this is because traders can show case their product through the internet.
there is easy acess of buying of stuffs at ones comfort zone .
transition of money is quicker
Which option in a Task element within Outlook indicates that the task is scheduled and will be completed on a later
date?
O Waiting on someone else
O In Progress
O Not started
O Deferred
Answer:
The answer to this question is given below in the explanation section.
Explanation:
The correct option for this question is Deferred.
When you create the task in outlook and scheduled and that will be completed on a later date shown is Deferred. Because deferring is an act of postponing something that was due soon and you have scheduled to do it later.
The other options are not correct because:
when you add task not started set as "Not started".
When you change the progress percentage to something other than 0%, set it to "in progress". When you change the progress percentage to 100%, set it as "completed". Waiting on someone else means a task is waiting for others to get completed.
Deferred is the task element of the Outlook that indicates that the task is schedules and will be completed later. Thus, option D. is correct.
What is deferred option?The deferred option is the option that allows the user to postpone the task that is schedules in the current date to any other future date. This option is present in the task element of the Outlook.
Therefore, option D. Deferred is correct.
Learn more about deferred option, here:
https://brainly.com/question/13482025
#SPJ5
Carbohydrates are a huge source of
Answer:
Energy
Explanation:
numA = 2 while numA < 30: numA = numA * 5 print(numA)
Answer:
Your print will be
10
50
Explanation:
Answer:
50
Explanation:
How long do batteries on your mobile computer last before they can no longer hold a charge?
Mathematics and computer science share the concept of recursion.
You wrote a program to find the factorial of a number using recursion.
5! =
5! is equal to 120.
5 * 4 * 3 * 2 * 1 = 120
Answer: 5
Explanation: got it right on edgen
If you want to remove meeting responses from your inbox but still want to see tracking options, what should you do? Turn off all meeting responses in the Calendar options. Sort and delete the meeting responses from your inbox. Change the Calendar view to a side-by-side comparison. Create a tracking rule that moves responses to a new folder.
Answer:
its D. create a tracking rule that moves responses to a new folder.
Explanation:
i just got the answer right on edge 2020.
Answer: In the image below
Explanation:
The position of a runner in a race is a type of analog data. The runner’s position is tracked using sensors. Which of the following best describes how the position of the runner is represented digitally?
A
The position of the runner is determined by calculating the time difference between the start and the end of the race and making an estimation based on the runner’s average speed.
B
The position of the runner is measured and rounded to either 0 or 1 depending on whether the runner is closer to the starting line or closer to the finish line.
C
The position of the runner is predicted using a model based on performance data captured from previous races.
D
The position of the runner is sampled at regular intervals to approximate the real-word position, and a sequence of bits is used to represent each sample.
Answer:
D. The position of the runner is sampled at regular intervals to approximate the real-word position, and a sequence of bits is used to represent each sample.
Explanation:
C was wrong for me :(
Introduction:
The runner position is detected by sensors in a race. It is very difficult to keep track of every racer position manually therefore computer program are used to keep exact recordings.
Explanation:
The data is sometimes recorded manually and is in analog form which is converted in to digital form.
Conclusion:
The correct answer is D. The position of the runner is sampled at regular intervals to approximate the real-word position, and a sequence of bits is used to represent each sample.
Learn more at https://brainly.com/question/24577222
You listened to a song on your computer. Explain in 3-5 sentences if you used hardware or software.
Answer:
The answer to this question is given below in the explanation section.
Explanation:
When you have listened to music on your computer. You used both computer hardware and software. You used a hard drive as a hardware device that stored your song. And, software such as s media player that you used to play the song.
I hope this answer helps you.
someone please help in this question
Answer:
i think A
Explanation:
True or False: You cannot flip the alignment of a mate while editing a mate.
true or false a weighted inventory system is often tied into player advancement
Answer:tayfana
Explanation:true
Jasmine is a commercial artist her is is the one most often used by graphic designers publishers and others in her field the os she most likely uses is
Windows
MS-DOS
Max
Linux
Help, please! I will mark as brainliest
Answer:
Change line 7 to:
for( int i=0; i < names.length; i++)
Last element in the array is one less than the length, ie:
stArr1.length - 1
To print every other value, you replace index++ with index += 2
Explanation:
Not only should you change the <= into <, but also i should start at 0, not 1. The first element of an array has index 0.
Calculate and express your answer in decimal form.
12⋅17
34⋅200
(0.2)⋅40
(0.25)⋅60
Answer:
ポイントが欲しいだけなのかわからない
Explanation:
何語を話していますか
Micheal is the project manager in a company. He wants his organization to use technology for higher revenue and productivity. What should Micheals company do?
Answer:
For higher revenue, the mamagement of income, discounts and all financial matters whereby the use of technology can help by installing a
BUSINESS APPLICATION
Which view is the default for contacts in Outlook 2016?
OBusiness Card
O Card
O Phone
O People
Answer:
people
Explanation:
Answer:
people
Explanation:
I got it right on the test
Conclusion for primary memory
Answer:
primary memory is also called main memory and also it stores information in the computer
Explanation:
Complete the Statement below :)
The keys to successful outsourcing are accountability, reporting, and [BLANK]
Answer:
The keys to successful outsourcing are accountability, reporting, and planning.
Explanation:
You need to plan in order to successfully outsource a market. I hope this helps, I am sorry if I am wrong.
how are images encoded?
( don’t copy and paste please)
Answer:
Images are encoded using binary arrays. Where each Pixel is, an array of RGBA, Red, Green, Blue and Alpha is used to represent that pixels color. Now put that on a screen of 1920x1080, you have to do that 2,073,600 times to get a full image, of which all values are filled.
Explanation:
please someone help in this question
Answer:
i'm pretty sure its a.
Explanation:
good luck :)
What is a good way to become a game developer without spending a lot of money?
Answer:
Codes
Explanation:
learn the codes first. when you're already expert, you'll find ways from there.
the auxiliary device used to store large volume of data and program for future is called
Answer:
Auxiliary memory units are among computer peripheral equipment. They trade slower access rates for greater storage capacity and data stability. Auxiliary memory holds programs and data for future use, and, because it is nonvolatile (like ROM), it is used to store inactive programs and to archive data.
Explanation:
hope the answer was helpful...
explain the importance of system software in the computer
Answer:
System software is a type of computer program that is designed to run a computer's hardware and application programs. If we think of the computer system as a layered model, the system software is the interface between the hardware and user applications. The OS manages all the other programs in a computer.
Explanation:
Hope this helps
Crown me as brainliest:)