Java Eclipse homework. I need help coding this

Project 9B - Tuition

package: proj9B
class: Tuition

Write code using the if, else if and else statements that will take care of the following.

We are going to be writing code for a college to determine the cost of a students tuition. Use the following information for your program.

Collect and store the users First and Last Name.
Collect and store the users age and number of quarter credits.
Process the information and print an invoice showing the above information and include a projected tuition cost.
Program Parameters

Tuition for a course is free for people over the age of 65.
There is a fifty percent discount for those between the ages of 60 and 65.
Full-tuition cost is $250.00 per credit
Maximum credits is 18 per quarter.
(Note: Use appropriate (DecimalFormat) code to get the two zeros to print)

Example Printout:

Michael, Smith
Age: 62, Credits: 15
“You saved 50 percent on the cost of this course because you are between 60 and 65. Your cost is $1875.00.”

OR if age is >65: “Wow, are you lucky. Age is sometimes a real cool thing. This course is free for you!”

Make sure that it compiles and runs. When it does, save it according to your teacher’s directions.

Answers

Answer 1

I've included my code in a text file. I hope this helps!


Related Questions

why are specification for food processing tool,equipmentand untensils necessary?​

Answers

Answer:

Aluminum is the best for all-around use. It is the most popular, lightweight, attractive and less expensive. It requires care to keep it shiny and clean. Much more, it gives even heat distribution no matter what heat temperature you have. It is available in sheet or cast aluminum. Since it is a soft metal, the lighter gauges will dent and scratch easily, making the utensil unusable. Aluminum turns dark when used with alkalis, such as potatoes, beets, carrots and other vegetables. Acid vegetables like tomatoes will brighten it.

Stainless Steel is the most popular material used for tools and equipment, but is more expensive. It is easier to clean and shine and will not wear out as soon as aluminum. Choose those with copper, aluminum or laminated steel bottoms to spread heat and keep the pot from getting heat dark spots. Stainless steel utensils maybe bought in many gauges, from light to heavy.

Glass is good for baking but not practical on top or surface cooking. Great care is needed to make sure for long shelf life.

Cast Iron is sturdy but must be kept seasoned to avoid rust. Salad oil with no salt or shortening can be rub inside and out and dry. Wash with soap (not detergent) before using.

Ceramic and heat-proof glass is used especially for baking dishes, casseroles, and measuring cups. Glass and ceramic conduct the heat slowly and evenly. Many of these baking dishes are decorated and can go from stove or oven to the dining table.

Teflon is a special coating applied to the inside of some aluminum or steel pots and pans. It helps food from not sticking to the pan. It is easier to wash and clean, however, take care not to scratch the Teflon coating with sharp instrument such as knife or fork. Use

wooden or plastic spatula to turn or mix food inside.

Explanation:

Find the solution of the equation
4x+10/3=25?3-x ​

Answers

I’m going to assume the ? is dividing and if that’s the case X = 1

What will happen if a white background is underexposed?
The subject will be overexposed.
The subject will be washed out.
It will appear gray.
O No shadows will appear.

Answers

Unlike most color images you shoot, subjects that are mostly white will always fool the meter in your camera. The pictures will turn out consistently underexposed. The reason this happens is because meters are designed to give you an accurate light reading when they “see” middle toned subjects.

Hope this helps :)

To start slide show of a presentation from the first slide.

A. From Slide Show Tab choose from Beginning button

B. From Slide Show Tab choose View Show button

C. From Slide Show Tab choose Rehearse timing button

D. From Slide Show Tab choose Custom Slide Show button​

Answers

the answer is a




step by step explanation:

Answer:

a

Explanation:

How did punch cards improve the weaving process?

Punch cards allowed a weaver to give instructions to the loom.

Punch cards made it easier for the weaver to put the string on the loom.

Punch cards allowed a weaver to choose the colors for the fibers used in a loom.

Punch cards allowed a weaver to get feedback from the loom.

Answers

Answer:

Punch cards allowed a weaver to give instructions to the loom.

Explanation:

who you on
1. What type of web page is classified as flat or stationary?
A. Web 1.0 B. Web 2.0 C. Web 3.0 D. Web 4.0​

Answers

Answer:

Web 1.0

Explanation:

Web 1.0 was its terminology used during the World Wide Web to reference to the first period of growth that was characterised by basic static websites. Flat pages: Pages did not provide dynamic functionality that modified depending on the activities of website users. Websites were primarily informative at that time.

Web pages which lacks interactivity such that only contents which have been originally posted remains there and hence do not change characterize the earliest form of web pages called Web 1.0.

The name stationary or flat web was culled from how the the earliest form of web pages appear. They do not contain visuals or interactive capability.

In static web pages, contents remain as they are posted as editing cannot be made on the go as it is possible with dynamic web pages which characterizes more newer forms of web pages.

Therefore, the earliest form of web pages, Web 1.0 are referred to as being flat or stationary.

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

Plz answer me will mark as brainliest​

Answers

First one I think RAM and second one is Barcode reader

Change the screen resolution so you can view more information on your screen. Use the resolution that enables you to fit the most information on the screen while still being able to read the display.

Use the space below to indicate your screen resolution and to describe the steps you used to do this.

Answers

Answer:

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

Explanation:

My laptop's current screen resolution is (1366 by 768 recommended). When you change your screen resolution, your pc automatically suggests the recommended screen resolution that helps you to view more information on your screen and enable you to fit the most information on the screen while still being able to read the display.

To change the screen resolution, you need to go through from the following steps:

Right-click on empty space of desktop.As you right-click, a list of options will open, select "display setting" among themA new setting window will get open, at the left of the window, among given option, click on the first option i.e "display"The content of the display setting gets open in the right area of the window. scroll down and find the "Scale and Layout"under scale and layout, you can change your screen resolution while selecting the different screen resolution. However, it is good to select the recommended screen resolution based on your screen size.

Create a function called notBad that takes a single argument, a string.
It should find the first appearance of the substring 'not' and 'bad'.
If the 'bad' follows the 'not', then it should replace the whole 'not'...'bad' substring with 'good' and return the result.
If it doesn't find 'not' and 'bad' in the right sequence (or at all), just return the original sentence.
For example:
notBad('This dinner is not that bad!'): 'This dinner is good!'
notBad('This movie is not so bad!'): 'This movie is good!'
notBad('This dinner is bad!'): 'This dinner is bad!'

Answers

Answer:

The Following are the method definition to this question:

def notBad(s):#defining a method notBad that take s variable as parameter

   if 'not' not in s or 'bad' not in s: # defining If block that checks "not or bad" is not in the string

       return s#return string value

   n= s.index('not')#defining n variable that store index value of not

   b= s.index('bad')#defining b variable that store index value of bad

   if n<b:#defining if block that compare n and b value  

       return s[:n]+'good'+s[b+3:]#use slicling for remove value and add another value

print(notBad('This dinner is not that bad!'))#call method and print value

print(notBad('This movie is not that bad!'))#call method and print value

print(notBad('This dinner bad!'))#call method and print value

Output:

This dinner is good!

This movie is good!

This dinner bad!

Explanation:

In the above given, method definition a method "notBad" is defined that takes variable "s" as a parameter, which is used for input the string value.

In the next step, an if block, is defined, that checks in string value "not or bad" are not available in the input string. if the condition is true, it will return, that string value.

In the next line "n and b" variable has defined, that store "not and bad" index value, and use if block that the come to its value and use slicing to re remove its value.

Directions: On the line before each item, write ”I” if the substance is an electric insulator or “C” if the substance is an electric conductor.

_____22. paper

_____23. glass

_____24. iron

_____25. plastic

_____26. gold

_____27. copper

_____28. wood

_____29. Rubber

_____30. Aluminum

Answers

Answer:

___I__22. paper

___I__23. glass

___C__24. iron

___I__25. plastic

___C__26. gold

__C___27. copper

___I__28. wood

___I__29. Rubber

___C__30. Aluminum

Materials which do not allow current to flow easily are called insulators.

Materials which allows current to flow easily are called Conductors.

7. Ctrl + V is used to __________

A. Change the text direction

B. Chand page rotation to vertical (LandScape).

C. Copy and paste a selected text

D. Copy the selected text

E. Paste the selected text

F. Cut and paste a selected text

G. Both C and F​

Answers

Answer:

E=Paste

Explanation:

E= Paste the selected text

Answer:

e

Explanation:

because if you do Ctrl+c it copies and then you have to paste so you use Ctrl+v Therefore the answer is E

. How to insert Section Break in Microsoft word 2016 ?

A. Insert Tab – pages group – Page Break button

B. View Tab – Document View group – Break button

C. Layout Tab – Page setup group – Breaks – Next page button.​

Answers

Answer:

C. Layout Tab – Page setup group – Breaks – Next page button.

how is digital footprint created ?

Answers

Answer:

by simply just logging on and using the internet.

Explanation:

Answer:

They are left by if you search something or post or even if someone else post something about you it will be online forever.

Explanation:

hype or sway house and why

me hype bc they are funny to me

Answers

Hype house easy it’s way better

true or false.the highest size of a font (html) is 10.

Answers

Answer:

False.

Explanation:

It's not true.

I believe it is False

mention two hardware groups​

Answers

Answer:

input Devices, Processing Devices, Output Devices, Memory/Storage Devices

Explanation:

which type of tools enable you to choose only a portion of the image

selection, paint, exposure or color​

Answers

Answer-which type of tools enable you to choose only a portion of the image

selection, paint, exposure or color​?

Explanation:

Your answer is brush,eyedropper,and lasso all work.

An example of an objective statement would be which of the following? Group of answer choices I have two dimes and a nickel in my purse. Green is the ideal color for a baby’s room. Air conditioning is the best invention, ever! Movies should not be more than three hours long.

Answers

Answer:

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

Explanation:

The correct objective statement is:

Movies should not be more than three hours long.

As we know that the objective is something that is achievable and should be SMART (specific, measurable, achievable, realistic , and time-bound)

Other options are incorrect because:

I have two dimes and a nickel in my purse. (it is not an objective, it is an ordinary statement)

Green is the ideal color for a baby’s room. (it is not an objective, it is an opinion)

Air conditioning is the best invention, ever! (it is not an objective, it is like a fact)

Write a subprogram that is given an array of integers and a given integer to search for. Scan the array for matches with the given integer and create an array of the indexes with the matching entries. To store the indexes, start with an array of the same size, but, after finishing the scan, allocate an array of just the right size, copy the contents, and return the (potentially) smaller array.

Answers

Answer:

public class Main

{

public static void main(String[] args) {

    int[] numbers = {28, 7, 92, 100, 0, 7, 300, 2873};

    int target = 7;

    int count = 0;

   

    int[] matchedIndexes = new int[numbers.length];

   

    for(int i = 0; i<numbers.length; i++){

        if (numbers[i] == target){

            matchedIndexes[count] = i;

            count++;

        }

    }

   

    int[] indexes = new int[count];

   

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

       indexes[i] = matchedIndexes[i];

    }

   

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

     System.out.print(indexes[i] + " ");

    }

}

}

Explanation:

Initialize the numbers array, target value and count

Create a new array called matchedIndexes with the size of the numbers array

Create a for loop that iterates through the numbers array and checks if the target is in the numbers array. If it is, put the index of the number in to the matchedIndexes array and increment the count by 1.

Create another array named indexes with size of count

Create a for loop that copies the values from matchedIndexes to indexes

Print the values in the indexes

6.
Write down an algebraic expression for each of
the following statements.
(a) Subtract the cube root of the product of x and
3y from the square of the sum of a and b.​

Answers

Answer:

( x + y ) ^ 2 - (3 x y ) ^ 3.......

Answer:

3√3xy - ( a+b )^2 that's what I think

list four products that normally requires copyright protectio.​

Answers

The  four products that normally requires copyright protection are:​

Books and written literary works.Music compositions and sound recordings.Artistic creations such as paintings, sculptures, and photographs.Software programs and computer applications.

What is the copyright protection.

Books and written literary works need copyright protection to keep the original ideas and writings of authors safe. This stops people from copying, sharing, or making more copies without permission.

Copyright protection is important for music compositions and sound recordings to make sure that composers, songwriters, and performers have power over how their works are used, shared, and performed for the public.

Read more about copyright protection here:

https://brainly.com/question/27976194

#SPJ1

Write one or more C statements that assign the correct value to discount, using the logic described here:
1. Assign .20 to discount if dept equals 5 and price is $100 or more.
2. Assign .15 to discount if dept is anything else and price is $100 or more.
3. Assign .10 to discount if dept equals 5 and price is less than $100.
4. Assign .05 to discount if dept is anything else and price is less than $100.

Answers

Answer:

See Explanation

Explanation:

To solve this, I'll skip variable declarations

if (dept == 5 && price >= 100){//1

discount = 0.20;

}

else if (price >= 100){ //2

discount = 0.15;

}

else if (dept == 5 && price < 100){//3

discount = 0.10;

}

else if (price < 100){//4

discount = 0.05;

}

The question requires if conditional statements and that has been shown in the above lines of code

Also, the comments (//) indicates the number of each line and it does exactly what is required.

timeline:
At least three different historical periods in time to examine and explore in terms of art
and photography as well as our current time period (you will therefore research four time
periods in total).
• For each historical period that you choose, as well as the current time period:
• Explore and identify at least one artistic theme associated with this period
• Explore and identify at least one artistic trend associated with this period
• Explore and identify the most popular or relevant photographic styles used during this period
Explore and identify the most popular or frequently photographed subjects during this period
O
Now for the fun part! Your timeline should feature more images, graphics, and visual
components than text. While you will certainly need to include text to further explain the
images that you include and the research that you do, you want your timeline to ultimately
appear as a beautiful work of art-a visual exploration through the history of photography
neral. This timeline can be created using any program you wish, or feel free to

Answers

The timeline is a representation of a chronological sequence of events that occurred in a specific period. It is an important aspect of analyzing art and photography. Below are the three historical periods, art themes, and trends associated with the era, photographic styles, and most popular or frequently photographed subjects during the period:1.

Renaissance Period (1400-1600)Art Theme: Religious themes, classic myths, and historical events were a prominent theme.

Trend: The dominant trend during this period was the perfection of art as a skill. A focus on balance, symmetry, and realistic human features.

Photographic Style: There were no photographs at this time. The art was created by paint and other art forms.Most Popular/Frequently Photographed Subjects: People, daily life, architecture, and nature2.

Modernism Period (1900-1930)Art Theme: Experimental, abstraction, and simplification were the prominent art themes.

Trend: The dominant trend was the change of perception towards art and creative representation.

Photographic Style: During this period, photographers shifted their interest in capturing events in reality to exploring the abstract.

Most Popular/Frequently Photographed Subjects: Human faces, motion, and landscape3.

Postmodernism Period (1960-1990)Art Theme: The prominent art theme was the exploration of cultural differences and diversity.

Trend: The dominant trend was the creation of art that served as a critique to modernism.

Photographic Style: Photography became a primary source of artistic expression, and photographers created various styles.

Most Popular/Frequently Photographed Subjects: Social changes, women's rights, multiculturalism, and globalization.In conclusion, exploring the history of photography is an essential aspect of analyzing art and understanding the various artistic themes, trends, styles, and subjects that dominated each period.

For more such questions on Renaissance Period, click on:

https://brainly.com/question/879750

#SPJ8

Compute the approximate acceleration of gravity for an object above the earth's surface, assigning accel gravity with the result. The expression for the acceleration of gravity is: (G * M) / (d 2), where G is the gravitational constant 6.673 x10-11, M is the mass of the earth 5.98 x 1024 (in kg), and d is the distance in meters from the Earth's center (stored in variable dist center).

Sample output with input: 6.3782e6 (100 m above the Earth's surface at the equator) Acceleration of gravity: 9.81

Answers

Answer:

Written in Python

G = 6.673 *pow(10,-11)

M = 5.98 *pow(10,24)

d = float(input("Distance: "))

g = (G * M)/(pow(d,2))

print("Acceleration of gravity: "+str(g))

Explanation:

This line initializes the gravititational constant

G = 6.673 *pow(10,-11)

This line initializes the mass of the earth

M = 5.98 *pow(10,24)

This line prompts user for object distance

d = float(input("Distance: "))

This line calculates the object's gravity

g = (G * M)/(pow(d,2))

This line prints the calculated gravity without approximating

print("Acceleration of gravity: "+str(g))

Answer:

G = 6.673e-11

M = 5.98e24

dist_center = 6.3782e6

accel_gravity = (G*M)/(dist_center * dist_center)

print(accel_gravity)

Explanation:

Cathy O'Neal refers to the practice of pursuing the perpetrators of minor crimes as "zero
tolerance" - what is the importance of the establishment of this policing strategy for the
building of tools to predict crime hot spots?

Answers

Answer:

Supporting the Establishment of Predictive Policing Processes . ... Crime Hot Spots in Richmond, Virginia, 8:00 p.m.–12:00 a.m.................. 48. 2.11. Trends ... Using a Risk Terrain Analysis Tool to Predict Purse Snatching Risk ............ 54 ... For a policing strategy to be considered effective, it must produce tangible results. The.

is this helpful if it is can  you give brainlest

Explanation:

What is the main advantage of a bitmap image?

a
It is HTML-specific.function
b
It is Python-specific.
c
It includes minimal detail.
d
It includes a lot of detail.

Answers

The answer is d. Hope this helps

Java Eclipse homework. I need help coding this

Project 5A - Mixed Results

package: proj5A
class: MixedResults

Create a new project called MixedResults with a class called Tester. Within the main method of Tester you will eventually printout the result of the following problems. However, you should first calculate by hand what you expect the answers to be. For example, in the parenthesis of the first problem, you should realize that strictly integer arithmetic is taking place that results in a value of 0 for the parenthesis.

double d1 = 37.9; //Initialize these variables at the top of your program
double d2 = 1004.128;
int i1 = 12;
int i2 = 18;

Problem 1: 57.2 * (i1 / i2) +1
Problem 2: 57.2 * ( (double)i1 / i2 ) + 1
Problem 3: 15 – i1 * ( d1 * 3) + 4
Problem 4: 15 – i1 * (int)( d1 * 3) + 4
Problem 5: 15 – i1 * ( (int)d1 * 3) + 4

Your printout should look like the following:

Problem 1: 1.0
Problem 2: 39.13333333333333
Problem 3: -1345.39999999999
Problem 4: -1337
Problem 5: -1313

Answers

public class MixedResults {

   public static void main(String[] args) {

       Tester test = new Tester();

       test.tester_method();

   }

   

}

class Tester{

   double d1 = 37.9, d2 = 1004.128;

       int i1 = 12, i2 = 18;

   Tester(){  

       

   }

   void tester_method(){

       System.out.println(57.2*(i1/i2)+1);

       System.out.println(57.2*((double)i1/i2)+1);

       System.out.println(15 - i1 * ( d1 * 3) + 4);

       System.out.println(15 - i1 * (int)( d1 * 3) + 4);

       System.out.println(15 - i1 * ( (int)d1 * 3) + 4);

   }

}

I think this is what you're looking for. Best of luck.

We assume that ABC Corporation has two business offices. These offices are in the cities of Orlando and Miami. These cities are located 220 miles apart. We assume that there are 3 employees in Orlando and 6 employees in Miami. Further, we assume that each employee calls the other site 4 times a day and talks for an average of 5 minutes. Further, each employee calls others in the same office 10 times a day for an average of 3 minutes. We will assume that 20% of the calls happen in the peak hours of the day. A blocking rate of 5% is acceptable for calls between the 2 sites.
a. What is the cost of PSTN (straightforward) solution?
b. Perform the Erlang calculation
c. Calculate the Blocking
d. Number of links required between these sites with respect to 5% blocking rate.
e. Number of Leased lines and PSTN lines
f. Total cost of your design
The cost of communications services and components
Item Cost
Line to PSTN $25/Month
Local Call $0.05/Minute
Long Distance Call $0.40/Minute
PBX $2000 Purchase Price
Leased Line $275/Month

Answers

Answer:

The following are the answer to the given points:

Explanation:

In point (a):

Calculating the long-distance call cost:

[tex]= 4 \times 5 \times 0.40 \\= 20 \times 0.40\\= 8[/tex]

Calculating the local call cost:

[tex]= 10 \times 3 \times 0.05\\ = 30 \times 0.05\\= 1.5[/tex]

Calculating the overall cost of PSTN:

[tex]= 25 + (4 \times 5 \times 0.40) + (10 \times 3 \times 0.05) + 2000 + 275 \\= 25 + 8 + 1.5 + 2000 + 275 \\= 2309.5[/tex]

In point (b):

Calculating the call rate per second and the average arrival rate:

[tex]\to (\lambda) = 0.2[/tex]

The call average length:

[tex]\to (T_s) = - 8 \\\\ = (8 \times 60) \ seconds \\\\ = 480 \ seconds[/tex]  

The complete agent number:

[tex]\to (m) = 9[/tex]

The strength of traffic:

[tex]\to u = \lambda \times T_s \\\\ = (0.2 \times 480) \\\\ = 96[/tex]    

The occupancy of the agent:

[tex]\to p = \frac{u}{m} \\\\[/tex]

      [tex]= \frac{96}{9} \\ \\= 10.66[/tex]  

Calculation of obtained:

[tex]= \frac{(\frac{um}{m!})}{(\frac{um}{m!})} + (1-p) \sum {m-1} _{k=0} \ \frac{uk}{k!}[/tex]

We get = 0.329 to substitute values.  

In point (c):

The rate of blocking = [tex]5 \%[/tex]

average call time [tex](T_s) = 480 \ seconds[/tex]

                                    [tex]= 0.05 \times 480 \ seconds \\ = 24 \ second[/tex]

In point (d):

Calculating the number of link, which is required:  

[tex]= \frac{275}{5} \\\\ =55[/tex]

In point (e):

Calculating the Line Number:

[tex]= \frac{275}{5} \\\\ =55[/tex]

PSTN line number:

[tex]= (\frac{2000}{55}) \\\\ = 36.3636\\\\= 37[/tex]

In point (f):

The gross design expense = $ 2309. 5

#Write a function called grade_scantron. grade_scantron should
#take as input two lists: answers and key. Each list contain
#strings. Each string will be only one letter, a character
#from A to E. grade_scantron should return how many questions
#the student got "right", where a student gets a question
#right if their answer for a problem matches the answer key.
#
#In other words, if value of the first item in answers matches
#the value of the first item in key, the student gets a point.
#If it does not, the student does not get a point.
#
#If the lists do not have the same number of items, return
#-1 to indicate that the answer key did not belong to the
#same test as the student's answers.\
#
#Hint: in the past, lots of people have tried to do this using
#the index() method. That won't work! You'll need to track the
#index yourself.


#Write your function here!
def grade_scantron(answers,key):
count=0
result=-1
try:
if len(key) != len(answers):
result=-1
except:
result=count
for index, item in enumerate(answers):
if(key[index] == answers[index]):
count+=1

return(result)

#Below are some lines of code that will test your function.
#You can change the value of the variable(s) to test your
#function with different inputs.
#
#If your function works correctly, this will originally
#print: 7
answers = ["A", "B", "B", "A", "D", "E", "B", "A","D"]
key = ["A", "B", "B", "A", "D", "E", "B", "A", "D"]
print(grade_scantron(answers, key))

I keep getting -1 and I don't know why. No matter what I do, I can't get the code to print either -1 (if the lengths don't match) or the amount of correct answers ( if the lengths do match up).

Answers

En este ejemplo vemos que, por la información dada, no es posible que esta oración tenga coherencia o sentido. En este caso el nexo o conector que une ambas oraciones no debería haberse utilizado, puesto que ambas oraciones no tienen relación. Por ende corresponden a estructuras diferentes y no es posible que mantengan una coherencia. Varias oraciones sin coherencia, generan textos incoherentes.

Write a program that prompts the user to enter three integers one at a time. The program should determine which integer is smallest and print the result (see example output). Include a nested decision block and pay close attention to proper indentation.

Answers

Then's a Python program that does this  

num1 =  int( input(" Enter the first integer"))  

num2 =  int( input(" Enter the alternate integer"))  

num3 =  int( input(" Enter the third integer"))  

if num1< num2  

if num1< num3  

lowest =  num1      

lowest =  num3    

if num2< num3  

lowest =  num2      

lowest =  num3  

print(" The  lowest integer is",  lowest)    

In order to write a program that prompts the  stoner to enter three integers one at a time and determines which integer is the  lowest, we need to use nested decision blocks and pay close attention to proper indentation.

Then's a Python program that does this  Prompt the  stoner to enter three integers one at a time:

num1 =  int( input(" Enter the first integer"))  

num2 =  int( input(" Enter the alternate integer"))  

num3 =  int( input(" Enter the third integer"))  

Determine which integer is the  lowest using nested decision blocks  

if num1< num2  if num1< num3   lowest =  num1   additional   lowest =  num3   additional  if num2< num3   lowest =  num2   additional   lowest =  num3  publish the result  print(" The  lowest integer is",  lowest)

In this program, we first prompt the  stoner to enter three integers one at a time using the input() function and convert them to integers using the int() function. Also, we use nested decision blocks to determine which integer is the  lowest.

Eventually, we  publish the result using the print()function.The program will affair the  lowest integer out of the three integers entered by the  stoner.

For more such questions on Python, click on:

https://brainly.com/question/26497128

#SPJ8

Other Questions
Stinnett Transmissions, Incorporated, has the following estimates for its new gear assembly project: Price = $1,700 per unit; variable costs = $340 per unit; fixed costs = $4.9 million; quantity = 80,000 units. Suppose the company believes all of its estimates are accurate only to within 15 percent. What values should the company use for the four variables given here when it performs its best-case scenario analysis? What about the worst-case scenario? (Do not round intermediate calculations and round your answer to the nearest whole number, e.g., 32.) Problem 8-16 Nonconstant Dividends (LO1] Maurer, Inc., has an odd dividend policy. The company has just paid a dividend of $7 per share and has announced that it will increase the dividend by $5 per share for each of the next five years, and then never pay another dividend. If you require a return of 12 percent on the company's stock, how much will you pay for a share today? (Do not round intermediate calculations and round your answer to 2 decimal places, e.g., 32.16.) Current share price A company estimates its manufacturing overhead will be $750,000 for the next year. What is the predetermined overhead rate given the following independent allocation bases?Budgeted direct labor hours: 60,000Budgeted direct labor expense: $1,500,000Estimated machine hours: 100,000 I NEED EXAMPLE PLEASE -Select a product or service for which you will create a marketing plan. You will use the same product for all 4 phases of the marketing plan. PRODUCT BACKGROUND (5 points)Provide background information on the product such as its purpose, uses and the needs that it fulfills functional and psychological and its position in the market place vs. its competitors.PRODUCT HISTORY (5 points)Provide historical information on the company and product.CURRENT MARKETING STRATEGY (65 points)Target market5 pointsDescribe the primary consumer of your product.Product15 pointsCompare your products features with those of the top 2 competitors. Discuss unique elements that help to distinguish your product from its competitors.Evaluate and compare the different brands, sizes, packaging, quantities, and features.Compare the packages for your product and its top 2 competitors. Discuss the unique visuals and messages found on your product that help to distinguish it from the competitors and represent the quality of the product.Price15 pointsCompare pricing for the products in this category. Determine a price per unit comparison (create a table or spreadsheet to illustrate, if helpful)Place15 pointsEvaluate the retail channels and retailers that the product is sold through. Discuss how the product placement within the store affects sales and customer perception.Promotion15 pointsIdentify the different types of media used to advertise your product. Evaluate the messages used in the advertisements and discuss their effectiveness is making consumers buy the product. Evaluate messaging specific to your product. Several devices developed by Thomas Edison led to the? For each of the following, independent scenarios, select whether the nature of the costs is variable, fixed, mixed, or step costs. If the nature of the cost changes over tin select the initial type of cost. 1. A cellphone contract where there is a minimum cost per month plus additional cost for usage. 2. The depreciation cost of a machine that is calculated on a straight-line basis. 3. The delivery cost for a courier where the costs include wages of an employee, depreciation of the vehicle, and fuel costs. OPTIONS 4. The cost of a sales manager in a situation where one manager can supervise 10 salespeople. 5. The cost of reimbursing employees for the use of their automobiles where they are paid on the basis of the number of kilometres driven each month. 6. The depreciation cost of a machine where the depreciation is based on the units-of-production method. 7. The cost of a babysitter who charges $6 per hour. 8. The cost of leasing an automobile where the lessee is granted a certain number of kilometres during the lease, then is charged extra beyond the maximum allowable. 1 if 10n+5= -5 what is -7n2.if -3p + 8=26 what is -23+p The local bank has a single line for customers waiting for the next available bank teller. There are four bank tellers who work at the same rate. The arrival rate of customers follows a Poisson distri" For Information Systems Foundations10. The peculiar observation made in business process analysis that, as more investment is made in_____ ______, worker ______may go down instead of up is known as the _________ __________. (3Marks) Describe the relationship between a distinctive competency, a competitive advantage, and a sustained competitive advantage. Information is given about a polynomial f(x) whose coefficients are real numbers. Find the remaining zeros of f. Degree 4: zeros: O 3-5i, 4iO 3+5i, 4-i O -3-5i,-4 This model represents an equation write an equation that could be used to solve x solve the equation x. 4) Inference question: What attitudes do the British, Native Americans, and American colonists all have towardeach other? Why is 1 + (5) equal to 4? (1 point)a) Because it is 5 units to the right of 1 on a horizontal number lineb) Because it is 5 units to the left of 0 on a horizontal number linec) Because it is 5 units to the right of 0 on a horizontal number lined) Because it is 5 units to the left of 1 on a horizontal number line 8) Which group was NOT instrumental in FDR's reelection in 1936?assistance recipientsminoritiesworkers, especially farm small business owners Consider a firm that only has a patent as its asset. If not developed any further, the value of the patent will only be $19 million at the end of the year. The firm has long-term debt of $28 million, which is due at the end of the year. However, the firm can develop its patent with an upfront cost of $24.5 million. The developed patent will have a value of $50.25 million at the end of the year. Suppose the risk-free interest rate is 12%, assume all cash flows are risk-free, and assume there are no taxes.a. What are the firms debt and equity values today if it decides not to develop its patent any further ()?b. Let us assume that the firm decides to develop its patent further. What is the NPV of developing the patent ()?c. Suppose the firm raises $24.5 million from equity holders to develop the patent. In this scenario, calculate the firms debt and equity values as of today (). How Organic Garage is succeeding as a one-stop, all-naturalgrocerThe indie banner is standing out with product categories thatits competitors are missing.Earlier this year, GTA grocer Organic Gara how many earth years is one year for a planet whos distance is 3au A diamonds density is 3.2 g/cm3. Determine the volume of a diamond that has a mass of 1 g. 1. Power based on fear best describes which of the following?A. reward powerB. personal powerC. legitimate powerD. coercive power2. Samantha announced loudly from her cubicle, "Im just hopeless with computers. I cant figure out this software and Im afraid I will never get my project finished on time!" Which of the following impression management techniques is Samantha using?A. exemplificationB. intimidationC. supplicationD. self-promotion3. Latreace feels like she has no opportunity for promotion. She does not trust the management team and feels like she is not given appropriate levels of responsibility for her skill level. Which type of influence is contributing to Latreaces perceptions of organizational politics?A. work influenceB. environmental influenceC. organizational influenceD. personal influence4. Diamond seems to know people wherever she goes. She makes friends in church, in school, at work, and in her neighborhood. At which political skill does Diamond excel?A. apparent sincerityB. social astutenessC. networking abilityD. interpersonal influence5. Consultation is when the agent offers to provide relevant resources and assistance if the target will carry out a request or approve a proposed change.A. TrueB. False6. Being able to exert your desires through others is which of the following?A. influenceB. abilityC. persuasionD. power7. Elon regularly threatens to suspend salespeople who do not make their quotas. Almost everyone on his team has multiple disciplinary reports. Which of the following best describes the type of power that Elon frequently uses?A. legitimate powerB. coercive powerC. personal powerD. reward power8. Which of the following is done with the goal of minimizing bad?A. apologyB. self-promotionC. exemplificationD. ingratiation9. "Please Sonia, can you help me finish this project before the deadline?" Cory wheedled. "Youre the only one who has the skill and intelligence to help me finish on time." Which of the following proactive influence tactics is Cory using?A. rational persuasionB. inspirational appealC. ingratiationD. consultation10. Some people can influence others through seeming to have genuine and honest interest and caring about a particular topic. Which of the following political skills is used in that case?A. interpersonal influenceB. apparent sincerityC. social astutenessD. networking ability11. Power and influence are identical.A. TrueB. False12. Perceptions of organizational politics (POP) is less likely to occur with clear job roles, abundant resources, and an excellent trust climate.A. TrueB. False13. Which of the following is done with the goal of maximizing good?A. excuseB. apologyC. exemplificationD. justification14. When Dr. Torres makes requests of her students and lab assistants, she expects that they will be followed because of her position as a professor and head researcher. Dr. Torres is relying on which of the following?A. legitimate powerB. personal powerC. coercive powerD. reward power15. Andre seems to always know how others are feeling. He is excellent at anticipating the moods and emotional needs of others. At which political skill does Andre excel?A. interpersonal influenceB. networking abilityC. social astutenessD. apparent sincerity