Write code that prints: Ready! numVal ... 2 1 Start! Your code should contain a for loop. Print a newline after each number and after each line of text Ex: numVal

Answers

Answer 1

Answer:

Written in Python

numVal = int(input("Input: "))

for i in range(numVal,0,-1):

    print(i)

print("Ready!")

Explanation:

This line prompts user for numVal

numVal = int(input("Input: "))

This line iterates from numVal to 1

for i in range(numVal,0,-1):

This line prints digits in descending order

    print(i)

This line prints the string "Ready!"

print("Ready!")


Related Questions

Seamus has too much text in one cell but wants all the information to be visible at once. What should he do? force the text to wrap force the text to spill-over truncate the text force the text to be inserted to next cell

Answers

Answer:

A: force the text to wrap

Explanation:

Just took the test and got it right!!! Hope this helps :D

Answer:

A) Force the text to wrap

Explanation:

Did it on ed2020

Which of the following is NOT an example of input?

a
voice command
b
mouse clicks
c
keyboard strokes
d
a pop-up box

Answers

Answer:

a pop-up box

Explanation:

A voice command, mouse clicks, or keyboard strokes is the user doing something. But a pop-up box is not. I realize that a popup box could contain a user input, but the box itself is not any sort of user input. It's the opposite.

what is the provincial capital of lumbini province​

Answers

Answer:

hope it helps..

Explanation:

Butwal(recently changed again) , Rupendhai District

help me plzz thank you if your right I will mark brainiest

Answers

Answer:

the 1,2, and 3 are the second circle thingy and the fourth question is the first circle thing and dont know the last one hope this helps

Explanation:

Answer in this order.
B, B, B, B, A. I’m 80% sure these are the right answers.

Write a program which simulate rolling dice. When the program runs, it will prompt the user to choose a number ranging from 1 to 6. It will then randomly choose a number between 1 and 6. The program will print the message "Your guess is correct!" if the guess number equals to the dice number, otherwise it will print "Wow! The dice number is --.". It should then ask the user if you’d like to roll again. Enter "1" to roll again and enter "0" to end the game. Concepts to keep in mind:

Concepts to keep in mind:
• Random
• Integer
• Print
• While Loops

Output:
Enter your guess number between 1 and 6: 5
Wow! The dice number is 1
Do you want to dice it up again:Enter 1 and if not enter 01
Enter your guess number between 1 and 6: 4
Wow! The dice number is 1
Do you want to dice it up again:Enter 1 and if not enter 01

Answers

Answer:

Written in Python

import random

tryagain = 1

while tryagain == 1:

guess = int(input("Enter your guess number between 1 and 6: "))

num = random.randint(1,7)

if guess == num:

print("Your guess is correct")

else:

print("Wow, the dice number is "+str(num))

tryagain = int(input("Do you want to dice it up again:Enter 1 and if not enter 0: "))

Explanation:

I've added the full source code as an image attachment where I used comments to explain difficult lines

Technician A says that the last step in the diagnostic process is to verify the problem. Technician B says that the second step is to perform a thorough visual inspection. Who is correct

Answers

Answer:

The answer to this question is given below in the explanation section. However, the correct option is Technician B.

Explanation:

There are eight steps procedures to diagnose the engine.  

Step 1 Verify the Problem

Step 2 Perform a Thorough Visual Inspection and Basic Tests

Step 3 Retrieve the Diagnostic Trouble Codes (DTCs)

Step 4 Check for Technical Service Bulletins (TSBs)

Step 5 Look Carefully at Scan Tool Data

Step 6 Narrow the Problem to a System or Cylinder

Step 7 Repair the Problem and Determine the Root Cause

Step 8 Verify the Repair and Clear Any Stored DTCs

So the correct technician is Technician B that says that the second step is to perform a thorough visual inspection.

4.3 Code Practice: Question 2
Write a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21. Your program should print each number on a separate line.

(Python)

Answers

i = 3

while i  <= 21:

   if i % 3 == 0:

       print(i)

   i += 1

       

The required program written in python 3 is as follows :

num = 3

#initialize a variable called num to 3

multiples_of_3 = []

#empty list to store all multiples of 3

while num <=21 :

#while loop checks that the range is not exceeded.

if num%3 == 0:

#multiples of 3 have a remainder of 0, when divided by 3.

multiples_of_3.append(num)

#if the number has a remainder of 0, then add the number of the list of multiples

num+=1

#add 1 to proceed to check the next number

print(multiples_of_3)

#print the list

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

Consider a Stop-and-Wait protocol. Assume constant delays for all transmissions and the same delay for packets sent and ACKs sent. Assume no errors occur during transmission.
(a) Suppose that the timeout value is set to 1/2 of what is required to receive an acknowledgement, from the time a packet is sent. Give the complete sequence of frame exchanges when the sender has 3 frames to send to the receiver.
(b) Suppose that the timeout value is sent to 2 times the round trip time. Give the sequence of frame exchanges when 3 frames are sent but the first frame is lost.

Answers

Explanation:

question a) answer:

At the moment when it sends the package, then it has a waiting time for the acknowledgement from the receiver, however, the time will be split in two when the frameset size becomes two, meaning that two packages have been sent together, causing the receiver to acknowledge only one package.

question b) answer:

The timeout is equal to two times.

In cases when the frame size is 3, the frame will be lost since the timeout turns to be 2 times. Because the sender has to wait for the acknowledgement, therefore it will send other of the parcels.

What is an example of a condition controlled loop? What would the syntax look like?

Answers

Answer:

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

Explanation:

WHILE loops and DO WHILE loops are called the condition controlled loops. The execution of these loops depends on a certain condition, when the condition is true, the loop body will be executed and when the condition becomes false, the loop body will not be executed. the major difference between both loops is given below.

In the WHILE loop,  the condition is checked at the beginning of the loop whereas in the do-while loop condition is checked at the end of the loop and, in the do-while loop, the loop body is executed at least once.

The syntax of the while loop is given below

while (condition) {

 // code block to be executed

}

The syntax of do-while loop is given below

do {

 // code block to be executed

}

while (condition);

The __________ list is intended to facilitate the development of the leading free network exploration tool.

Answers

Answer:

Nmap development list

Explanation:

The list being mentioned in this question is known as the Nmap development list. This list basically acts as an information gathering and analytical tool. It allows the user to easily roll out and integrate Nmap tools on a network in order to easily detect all of the IP addresses that are connected as well as analyze all of the details regarding each connected individual system. All of this information is highly valuable to a developer and facilitates the development process.

write a program that calculates the total grade for N classroom exerices as a perfentage. the user should input the value for N followed by each of the N scores and totals.

Answers

Answer:

earned = 0

total = 0

exercises = int(input("Enter the number of exercises: "))

for i in range(exercises):

   score = int(input("Enter score" + str(i+1) + ": "))

   total_score = int(input("Enter total score for exercise " + str(i+1) + ": "))

   

   earned += score

   total += total_score

print("The total is %" + str(earned/total * 100))

Explanation:

*The code is in Python.

Set the earned and total as 0

Ask the user to enter the number of exercises

Create a for loop that iterates number of exercises times. For each exercise;

Ask the user to enter the score earned and total score of that exercise

Add the score to the earned (cumulative sum)

Add the total_score to the total (cumulative sum)

When the loop is done, calculate the percentage, divide earned by the total and multiply the result by 100, and print it


Select the correct answers.
What are examples of real-time applications?
A.) news updates
B.) blog posts
C.) stock market values
D.) email
E.) online money transfers

Answers

Answer:

B

Explanation:

you can post blog updates in real time as things happen

Answer: Stock market values and news updates

Explanation: These are things that you can follow in real time and that happen in real time (think of something like a livestream)

PLATO/EDMENTUM

Wrire a code that display elements at indices 1 and 4 in the follwoing array.

var userArray = [1, 6, 41, 8, 24, 4];

Answers

Answer:

Console.log(userArray[1]);

Console.log(userArray[4]);

Explanation:

The programming language was not stated; however, the variable declaration implies JavaScript.

JavaScript prints using the following syntax:

Console.log(print-name);

Since, the code is to print some elements of array userArray.

First, we need to determine the index of the elements.

The indices are given as 1 and 4.

So, the code to print these elements is as follows:

Console.log(userArray[1]);

Console.log(userArray[4]);

The Environmental Master Equation includes all of the following terms except:
O Resource use per person
O Population
•Percent of resource emitted into the atmosphere
•Environmental impact per unit of resource use

Answers

Answer:  [C]:  " percent of resource emitted into the atmosphere ."

________________________

Explanation:

In the "Environmental Master Equation"—

Note that the:

    "Environmental impact" ;

            =  (population) * (resource use per unit population) *

              (environmental impact per unit of resource use) .

________________________

The question asks:  

   "The Environmental Master Equation includes all of the following terms —EXCEPT ...[with 4 (four) answer choices following.]."

________________________

Consider the given answer choices:

 [A]:  "resource user per person"—which is the same as"

          "(resource use per UNIT [emphasis added] population" ;

              — which does appear in the equation;

                   → so we can rule out "Choice:  [A]."

________________________

 [B]: "population" —this is included within the equation; so we can rule out "Choice:  [B]."

________________________

 [C]: "percentage of resource emitted into the atmosphere" ;  

    Note:  This clearly does NOT appear within the equation; so this is a likely answer choice.

________________________

Note: There is one more answer choice—so let us examine:

________________________

 [D]: "environmental impact per unit of resource use" —this is included within the equation, so we can rule out "Choice:  [D]."

________________________

   Furthermore, the particular answer choices given—A, B, and D ; constitute all elements within the "Environmental Master Equation."

________________________

As such: The correct answer is:  

             [C]:  "percent of resource emitted into the atmosphere."

________________________

Hope this is helpful to you!

  Best wishes in your academic pursuits!

________________________

Answer:

•Percent of resource emitted into the atmosphere

Explanation:

Hope this will help

CAN SOMEONE PLEASE HELP, I WILL GIVE BRAINLIEST (If that helps) (50 points is also available)

Sorry for re-uploading, I am just desperate to fix this.

How on earth do I fix my computer charger port?
Alright, so for anyone thinking it's a virus or it won't turn on, it's not that. So my computer has had a problem with batteries. I have bought two different chargers, none of those worked. I left the computer alone for a year, charged it for hope, and it worked. Upon further inspection, I looked at the charging port and found that the four metal things that go into the charger and pretty much give it the power were somewhat bent. Like, not bent bent, like when you fold paper, but all over the place. I tried watching videos to help, and they require buying a new motherboard or something like that. Is there a way to fix this for free? Like, a way to put the pings/pongs (idk the word) back together for free? If I can have someone give a step-by-step guide on how to fix this, I would appreciate it. I have had this problem since around 2017. Idk if this can motivate anyone but I could also offer a brainliest for the first person to help. Also, I don't know if this helps, but the computer/laptop Is an HP Touchscreen, not the ones that fold into tablets though.

If you have any questions about the matter, please comment it. If you don't have anything to help, don't waste an answer choice for points, I really want this to be fixed.

Thank you for your time.

Answers

Answer:

its perfect

Explanation:

Jason works as a financial investment advisor. He collects financial data from clients, processes the data online to calculate the risks associated with future investment decisions, and offers his clients real-time information immediately. Which type of data processing is Jason following in the transaction processing system?

A.
online decision support system
B.
online transaction processing
C.
online office support processing
D.
online batch processing
E.
online executive processing

Answers

I believe the answer is A. because he has to listen to what the people tell him and he information he has to think about and make a choice on what to reply with.

I hope this helps and its correct please let me know if its wrong have a great day//night.

Given four values representing counts of quarters, dimes, nickels and pennies, output the total amount as dollars and cents. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: System.out.printf("Amount: $%.2f\n", dollars); Ex: If the input is: 4 3 2 1 where 4 is the number of quarters, 3 is the number of dimes, 2 is the number of nickels, and 1 is the number of pennies, the output is: Amount: $1.41 For simplicity, assume input is non-negative.
LAB ACTIVITY 2.32.1: LAB: Convert to dollars 0/10 LabProgram.java Load default template. 1 import java.util.Scanner; 2 3 public class LabProgram 4 public static void main(String[] args) { 5 Scanner scnr = new Scanner(System.in); 6 7 /* Type your code here. */|| 8 9) Develop mode Submit mode Run your program as often as you'd like, before submitting for grading. Below, type any needed input values in the first box, then click Run program and observe the program's output in the second box Enter program input (optional) If your code requires input values, provide them here. Run program Input (from above) 1 LabProgram.java (Your program) Output (shown below) Program output displayed here

Answers

Answer:

The corrected program is:

import java.util.Scanner;

public class LabProgram{

public static void main(String[] args) {

Scanner scnr = new Scanner(System.in);

int qtr, dime, nickel, penny;

double dollars;

System.out.print("Quarters: ");

qtr =scnr.nextInt();

System.out.print("Dimes: ");

dime = scnr.nextInt();

System.out.print("Nickel: ");

nickel = scnr.nextInt();

System.out.print("Penny: ");

penny = scnr.nextInt();

dollars = qtr * 0.25 + dime * 0.1 + nickel * 0.05 + penny * 0.01;

System.out.printf("Amount: $%.2f\n", dollars);

System.out.print((dollars * 100)+" cents");

}

}

Explanation:

I've added the full program as an attachment where I used comments as explanation

is the core of an operating system that controls its basic functions.
O Freeware
O Kernel
Tweaker
O Open source

Answers

Answer:

Explanation:

Tweaker

ANSWER

Its Kernel

Explanation:

i got a 100%

Write a program named as calcPrice.c that formats product information entered by the user and calculate the total amount of purchase.

Answers

Answer:

Here is the calcPrice.c program:

#include <stdio.h>   //to use input output functions

int main(void)  {  //start of main method

   int itemNo, month, day, year, quantity;  //declares variables to hold item number, quantity, and date

   float unitPrice; //declare variable to hold price per unit

   printf("Enter item number: ");  // prompts user to enter item number

   scanf("%d", &itemNo);  //reads item number from user and stores it in itemNo variable

   printf("Enter unit price: ");  // prompts user to enter unit price

   scanf("%f", &unitPrice);  //reads input unit price and stores it in unitPrice variable

   

    printf("Enter quantity: ");  //prompts user to enter quantity

   scanf("%d", &quantity);  //reads input quantity and stores it in quantity variable

   printf("Enter purchase date (mm/dd/yyyy): ");  //prompts user to enter purchase date

   scanf("%d/%d/%d", &month, &day, &year);  //reads input date and stores it in month, day and year variables

    float totalAmount = unitPrice * quantity;  //computes the total amount

   printf("\nItem\tUnit Price\tQTY\tPurchase Date\tTotal Amount\n");  //displays the item, unit price, qty, purchase data and total amount with tab space between each

   printf("%d\t$%5.2f\t%d\t%.2d/%.2d/%d\t$%5.2f\n", itemNo, unitPrice,quantity, month, day, year,totalAmount);   }    //displays the values of itemNo, unitPrice, quantity, month, day, year and computed totalAmount with tab space between each

Explanation:

Lets suppose user enters 583 as item number, 13.5 as unit price, 2 as quantity and 09/15/2016 as date so

itemNo = 583

unitPrice = 13.5

quantity = 2

month = 09

day = 15

year = 2016

totalAmount is computed as:

  totalAmount = unitPrice * quantity;

 totalAmount = 13.5* 2

totalAmount = 27.00

Hence the output of the entire program is:

Item    Unit Price      QTY     Purchase Date   Total Amount      

583     $  13.50           2           09/15/2016         $  27.00  

The screenshot of the program along with its output is attached.

what are the example of malware spreads

a. social network
b. pirated software
c.removable media
d. all of the above​

Answers

The answer has to be
D. All of the above

Examples of malware spreads include all of the options mentioned: social networks, pirated software, and removable media.

The correct option is d.

a. Social networks: Malware can spread through social networks via malicious links or infected attachments shared within messages, posts, or comments. Users may unknowingly click on these links or download infected files, which can then propagate the malware to their devices or their contacts.

b. Pirated software: Malicious actors often distribute malware-infected versions of popular software through illegitimate channels. Users who download and install pirated software are at risk of unknowingly introducing malware onto their systems, as these versions may be modified to include malicious code.

c. Removable media: Malware can also spread through removable media such as USB drives, external hard drives, or even CDs/DVDs. If an infected device or media is connected to a computer, the malware can transfer onto the system, potentially infecting files and spreading further.

Therefore, all of the options (a, b, and c) are examples of how malware can spread, highlighting the importance of practicing safe online habits, avoiding pirated software, being cautious with links and attachments, and regularly scanning removable media to mitigate the risk of malware infections.

To learn more about malware spreads;

https://brainly.com/question/31115061

#SPJ2

Create an interface called Runner. The interface has an abstract method called run() that displays a message describing the meaning of run to the class. Create classes called Machine, Athlete, and PoliticalCandidate that all implement Runner.
The run() should print the following in each class:
Machine - When a machine is running, it is operating.
Athlete - An athlete might run in a race, or in a game like soccer.
PoliticalCandidate - A political candidate runs for office.
----------------------------------------------------------------------------------------------------
public class Athlete implements Runner
{
public void run()
{
// write your code here
}
}
--------------------------------------------------------------------------------------
public class DemoRunners
{
public static void main(String[] args)
{
Machine runner1 = new Machine();
Athlete runner2 = new Athlete();
PoliticalCandidate runner3 = new PoliticalCandidate();
runner1.run();
runner2.run();
runner3.run();
}
}
------------------------------------------------------------------------------------------
public class Machine implements Runner
{
public void run()
{
// write your code here
}
}
----------------------------------------------------------------------------------------------------
public class PoliticalCandidate implements Runner
{
public void run()
{
// write your code here
}
}
----------------------------------------------------------------------------------------------------
public interface Runner
{
// write your code here
}
----------------------------------------------------------------------------------------------------

Answers

Answer:

Here is the interface Runner:

public interface Runner  {  //interface Runner

public abstract void run();  } //abstract method run that displays a message describing the meaning of run to the class

/*Here Runner is the interface which is an abstract class. It is used to group related methods such as here is run method with empty body. An abstract method run() does not have a body. The body is provided by the sub classes Machine, Athlete, and PoliticalCandidate that all implement Runner.  */

Explanation:

Here is the Athlete class:

public class Athlete implements Runner  {  //class that implements Runner interface

public void run()  {  //interface method accessed by Athlete to provide its body according to describe the meaning of run to the class

    System.out.println("An athlete might run in a race, or in a game like soccer.");  } }    //prints this message

Here is the Machine class:

public class Machine implements Runner  {

public void run()  {

System.out.println("When a machine is running, it is operating.");  }}

Here is the PoliticalCandidate class:

public class PoliticalCandidate implements Runner  {

public void run()  {

System.out.println("A political candidate runs for office.");  } }

/*To access the interface Runner method run(), the Runner must be "implemented" by Machine, Athlete, and PoliticalCandidate classes with the implements keyword. The body of the interface method run() is provided by the "implement" class */      

Here is the DemoRunners class:

public class DemoRunners {  //class name

public static void main(String[] args)  {  //start of main method

Machine runner1 = new Machine();  //creates object of Machine class

Athlete runner2 = new Athlete();  //creates object of Athlete class

PoliticalCandidate runner3 = new PoliticalCandidate();  //creates object of PoliticalCandidate class

runner1.run();  //uses object of Machine class to call run method

runner2.run();  //uses object of Athlete class to call run method

runner3.run();  } } //uses object of PoliticalCandidate class to call run method

When runner1.run() is called it invokes the run() method of class Machine which displays the message:

When a machine is running, it is operating.

When runner2.run() is called it invokes the run() method of class Athlete which displays the message:

An athlete might run in a race, or in a game like soccer.  

When runner3.run() is called it invokes the run() method of class PoliticalCandidate which displays the message:

A political candidate runs for office.

The screenshot of the program is attached.

What are the benefits of computer?

Answers

Answer:

online toutoring.

helpful games give mind relaxation.

Increase your productivity. ...
Connects you to the Internet. ...
Can store vast amounts of information and reduce waste. ...
Helps sort, organize, and search through information. ...
Get a better understanding of data. ...
Keeps you connected.

an indicator is a comprehensive analysis of critical information

Answers

Answer:

True.

Explanation:

An indicator is a comprehensive analysis of critical information by an adversary normally providing the whole picture of an agency's capabilities.

Hope this helps!

An indicator is a comprehensive analysis of critical information by an adversary normally providing the whole picture of an agency's capabilities is true.

Thus, Information that is critical is integrity class-2 information. Samples 1 through 3 are given. according to 3 papers Make a copy Critical information is defined as information that must be shared from shift to shift in order to ensure the health, safety, and welfare of the people served.

Examples include, but are not limited to: irrational behavioral outbursts, sudden or unexplained mood swings in individuals, the administration of PRN medication, transportation issues, unanticipated trips to the doctor or hospital, routine doctor visits requiring follow-up, reportable and information.

All parties working on the Subcontract, including support staff, must be informed of critical information in order for it to be protected against unintentional release and to guarantee that all parties are aware of it.

Thus, An indicator is a comprehensive analysis of critical information by an adversary normally providing the whole picture of an agency's capabilities is true.

Learn more about Critical information, refer to the link:

https://brainly.com/question/32115676

#SPJ6

Match letters from column B to Column A by looking at the picture above.

Answers

Answer:

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

Explanation:

This question is about mapping correct terms with their number in the given picture. The correct matching of Column A and Column B is given below

Column A                               Column B

Horizontal axis                        3

Legend                                    4

Vertical axis                             2

Chart Data                               1

1. When you write HTML code, you use ______ to describe the structure of information on a webpage. a. a web address b. tags c. styles d. links

Answers

Answer:

b. tags

Explanation:

When you write HTML code, you use tags to describe the structure of information on a webpage. These tags are represented by the following symbols <>. All of HTML is written using different types of tags such as <body>, <main>, <div>, <nav>, etc. Each of these serves a different purpose but are all used for structuring the specific information on a website so that the information is well organized and is not all on top of each other. This also allows for specific sections to be easily targeted and styles separately from the other sections.

You have been given two classes, a Main.java and a Coin.java. The coin class represents a coin. Any object made from it will have a 1) name, 2) weight and 3) value. As of now, the instance variables in Coin.java are all public, and the main function is calling these variables directly for the one coin made in it.

Required:
Your goal is to enforce information hiding principles in this tasl. Take Coin.java, make all instance variables private and create set/get functions for each instance variable. Then replace the direct references in main() to each instance variable with a call to an appropriate set or get function.

Answers

Answer:

Here is the Coin class:

public class Coin {  //class names

 private int value;  // private member variable of type int of class Coin to store the value

 private String coinName;  // private member variable of type String of class Coin to store the coint name

 private double weight;      //private member variable of type double of class Coin to store the weight

  public void setValue (int v) {  //mutator method to set the value field

    value = v;  }  

     

 public void setName(String n){  //mutator method to set coinName field

    coinName = n;}  

 public void setWeight (double w) {  //mutator method to set weight field

    weight = w;  }  

 public int getValue () {  //accessor method to get the value

   return value;  }  // returns the current value

 

 public String getName () {  //accessor method to get the coin name

   return coinName;  }  //returns the current coin name

   

 public double getWeight () {   //accessor method to get the weight

   return weight;  } } //returns the current weight

 

Explanation:

Here is the Main.java

public class Main{ //class name

public static void main(String[] args) { //start of main method

Coin penny = new Coin(); //creates object of Coin class called penny

penny.setName("Penny");  //calls setName method of Coin using object penny to set the coinName to Penny

penny.setValue(1); //calls setValue method of Coin using object penny to set the coin value to 1

penny.setWeight(0.003); //calls setWeight method of Coin using object penny to set the coin weight to 0.003

   System.out.println("Coin name: " + penny.getName()); // calls getName method of Coin using penny object to get the current coin name stored in coinName field    

   System.out.println("Coin value: " + penny.getValue()); // calls getValue method of Coin using penny object to get the coin value stored in value field    

   System.out.println("Coin weight: " +penny.getWeight()); }} // calls getWeight method of Coin using penny object to get the coin weight stored in weight field    

The value of coinName is set to Penny, that of value is set to 1 and that of weight is set to 0.003 using mutator method and then the accessor methods to access these values and prinln() to display these accessed values on output screen. Hence the output of the entire program is:

Coin name: Penny                                                                                                                                Coin value: 1                                                                                                                                   Coin weight: 0.003

The screenshot of the program along with its output is attached.

What is a small device that connects to a computer and acts as a modem

Answers

Answer:

Dongle

Explanation:

a small device that connects to a computer and acts as a modem. broadband. internet connection with fast data-transfer speeds and an always-on connection. cable internet service.

Screenshot is the image of your active MS Word PowerPoint window
Is it true or false? ​

Answers

true

Screenshots are basically snapshots of your computer screen. You can take a screenshot of almost any program, website, or open window. PowerPoint makes it easy to insert a screenshot of an entire window or a screen clipping of part of a window in your presentation.

For this assignment, you will create flowchart usingFlowgorithm and Pseudocode for the following program example:You are to design a program for Alexander’s Coffee Shopproviding customer research data. When a customer places an order,the clerk asks the customer for their zip code and age. The clerkenters this data as well as the number of items purchased. Theprogram should operate continuously until the clerk enters a 0 forthe zip code at the end of the day. If the clerk enters an invalidage (defined as less than 10 or more than 100), an error message isdisplayed and the program re-prompts the clerk continuously toenter a valid age. At the end of the program, display the averagecustomer age as well as counts of the number of items ordered bycustomers under the age of 25 and customers 25 and older.

Answers

Answer:

The flowchart is attached

Oredered accordinly with the flowcahrt number

Main topics: Basic Java program
Programmatic output
Arithmetic Expressions
User input
Program Specification:
Write a Java program that calculates and outputs a baseball pitcher’s ERA in a reasonable report format. "ERA" is an acronym for "earned run average" and is computed using the following equation: number of earned runs multiplied by 9 and divided by number of innings pitched Your program must do the following: • Prompt the user for the first and last name of the pitcher and store them in two variables of type String • Prompt the user for the pitcher’s number of earned runs and store it in a variable of type int • Prompt the user for the pitcher’s number of innings pitched and store it in a variable of type int • Compute and output the pitcher’s ERA, which should be a (double) floating point number Sample run(s): Pitcher’s first name: Josh Pitcher’s last name: Hader Number of earned runs: 22 Number of innings pitched: 81 Josh Hader has an ERA of 2.4444444444444446

Answers

Answer:

Explanation:

import java.util.Scanner;

public class pitcherValues {

   public static void main(String[] args) {

       String firstName, lastName;

       int earnedRuns, inningsPitched;

       double ERA;

      Scanner in = new Scanner(System.in);

     System.out.println("Pitchers First Name is?");

     firstName = in.nextLine();

     System.out.println("Pitchers Last Name is?");

     lastName = in.nextLine();

     System.out.println("How many runs did the Pitcher earn?");

     earnedRuns = in.nextInt();

     System.out.println("How many innings did the Pitcher Pitch?");

     inningsPitched = in.nextInt();

     ERA = (earnedRuns * 9) / inningsPitched;

     System.out.println(firstName + " " + lastName + " has an ERA of " + ERA);

   }

}

Other Questions
24 states stayed with the Union and 9 states secededTrue orFalse What does Roland do to all the other kids in the holding tank? Why? How quickly must non-frozen ready to eat foods be consumed One of the angles formed by two intersecting lines measures 30. What are the measures of the other three angles? i need help ASAP Anand needs to hire a plumber. He's considering a plumber that charges an initial fee of \$65$65dollar sign, 65 along with an hourly rate of \$28$28dollar sign, 28. The plumber only charges for a whole number of hours. Anand would like to spend no more than \$250$250dollar sign, 250, and he wonders how many hours of work he can afford. Let HHH represent the whole number of hours that the plumber works. -7(n+2)=-14-7n how many solution does it have PLS HELP ASAP I'LL GIVE BRAINLIST AND 50 POINTS DO NOT USE GOOGLE!!!!!!!!!!!In the novel Crispin, he lives as a serf in Stromford Village. Compare Crispins rights, roles, responsibilities, & limitations as a serf to a person of lower social status in modern times. Use evidence from the novel Crispin-The Cross of Lead and your knowledge of Medieval Europe to support your response. ___ was the English king during the 1600s who persecuted the puritans and was executed after civil war The figure shows three quadrilaterals on a coordinate grid: A coordinate plane is shown. Quadrilateral D has sides measuring 3 units and 1 unit. Quadrilateral F has sides measuring 3 units and 1 unit. Quadrilateral E has sides measuring 2 units and 6 units. Which of the following statements is true about the three quadrilaterals? D and E are similar but not congruent. E and F are similar and congruent. D and E are similar and congruent. F and D are similar but not congruent. what is the most important studying Are good intentions more important than written laws? Which of the following best describes the defining characteristics of the Age of Contact era in Texas history? American Indian tribes were driven out of Texas by French settlers.American Indian tribes were driven out of Texas by French settlers.Spanish colonists abandoned exploration of Texas after not finding any gold.Spanish colonists abandoned exploration of Texas after not finding any gold.Anglo and Spanish settlers established colonies in Texas.Anglo and Spanish settlers established colonies in Texas.Spanish explorers and French explorers both claimed land in Texas.Spanish explorers and French explorers both claimed land in Texas. 4. Should a character's mood always match the feeling of the atmosphere?Why or why not? In an informational text, what is an author's point of view?A) the exact vocabulary an author uses to convey informationB) the way an author feels about the topic of the textC) the reason an author writes a textD) the narrator of a text Plzz help this is due in 25 minsWrite a compound sentence about immigrants based on what youve read. Remember that a compound sentence contains both a comma and a conjunction. A person who weighs 150 pounds on Earth will weigh 405 pounds on Jupiter. How much will a person weigh on Jupiter who weighs 120 pounds on Earth? * Consider two identical baseballs which start at the same location; their terminal speed at this location is 32 m/s. At t = 0s, Ball A is thrown straight up at m/s; Ball B is thrown at 16m/s 30.0 below the horizontal at 32 m/s. How do the magnitudes of the baseballs' accelerations32 2at t = 0s compare (do not neglect air resistance)? Help please, i have these questions for Photography about the street artist JR. As used in the reading, what does the word Jatis refer to?The caste system, as it actually works in India is called jati. The term jati appears in almost all Indian languages and is related to the idea of lineage or kinship group. There are perhaps more than 3000 jatis in India and there is no one all-Indian system of ranking them in order of status. Yet in each local area jati ranking exists and is very much related to purity and pollution. Each jati has some unique job, but not everyone in the jati performs it. Thus there are barbers who do not shave, carpenters who do not build, and Brahmins who do not act as priests. A. The thousands of subcastes in IndiaB. Marriage between members of different caste groupsC. The over complication of the caste system Identify your favorite meal and explain where each of the four molecules of life can be found.