Coding:
class PhonePlan:
def __init__(self, minutes=0, messages=0):
self.num_mins=minutes
self.num_messages=messages
def print_plan(self):
print('Mins:', self.num_mins, end=' ')
print('Messages:', self.num_messages)
my_plan = PhonePlan(int(input()), int(input()))
dads_plan = PhonePlan()
moms_plan = PhonePlan(int(input()))
print('My plan...', end=' ')
my_plan.print_plan()
print('Dad\'s plan...', end=' ')
dads_plan.print_plan()
print('Mom\'s plan...', end= ' ')
moms_plan.print_plan()
Have a great day <3
How do I write this program?
def goingUp(n): # prints the stars from the row with 1 until a row with n
def goingDown(n): # prints the stars from the row with n to the row with 1
If the user enters a negative value, your program should print nothing.
If the user enters 0, your program should print nothing.
If the user enters 1, your program should print a single line with one star.
If the user enters any number greater than 1, your program should print according to the pattern shown above.
The prompt to the user must be Please enter a value
Answer:
Sorry but I don't know this
Create a file using any word processing program or text editor. Write an application that displays the files name, containing folder, size, and time of last modification. Save the file as FileStatisits.java
Explanation:
TO MAKE FOLDER
-right click
-select 'new'
-and click on folder
Is it possible to have the present value of a future payment that is greater than the future payment (i.e. the present value is $1200, and the future payment is $1000)? Explain, using complete, grammatically-correct sentences.
Note that the present value always less than the future value and so Is it not possible to have the present value of a future payment that is greater than the future payment.
Can present value be greater than future cash flows?The present value is known to be often less than the future value this is due to the reason that money has interest-earning rate on top of it.
So therefore, that base on the fact that as long as interest rates are positive, then the present value of a sum of money will have to be less than its future value.
Learn more about present value from
https://brainly.com/question/20813161
What is the purpose of linking text boxes?
How to add up multiple user inputs for example: If i ask the user How many numbers do you want to add? they say 5 then i out put Enter 5 numbers: how can i get it to add up those 5 numbers that were input.In JAVA
Answer:
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("How many numbers do you want to add?");
int numberOfNumbers = scanner.nextInt();
int arrayNumbers[] = new int[numberOfNumbers];
System.out.println("Enter " + numberOfNumbers + " numbers:\n");
for(int i = 0; i < numberOfNumbers; i++){
int addToArray = scanner.nextInt();
arrayNumbers[i] = addToArray;
}
int sum = 0;
for(int j = 0; j < arrayNumbers.length; j++){
sum+=arrayNumbers[j];
}
System.out.println("Sum: " + sum);
}
}
Explanation:
In Cell D2, create a SUMIFS function to total the fee when the criteria in cells C2 and E2 are met
Sum values are founded on one or additional necessities by utilizing the SUMIFS role in a procedure.
Data in the form of digits is called
There are 5 participants in a Symmetric Key system and they all wish to communicate with each other in a secure fashion using Symmetric Keys without compromising security. What's the minimum number of Symmetric Keys needed for this scenario keeping in mind that each pair of participants uses a different key
Answer:
10 keys.
Explanation:
There are 5*4/2 = 10 pairs in a group of 5. You need that many keys.
Every member of the group will have 4 keys.
If you draw 5 dots on a piece of paper and connect each one with a line, you'll be drawing 10 lines. Each line needs a key.
When you run your Windows Form application, what is the lifespan of a global variable (also known as a "field" or "class" variable)?
The lifespan of a global variable (also known as a "field" or "class" variable) exist only until any additional classes are initialized.
What is Windows form application?Windows Forms is defined as a form of UI backbone that is often uused for creating Windows desktop apps.
It is known to help its user in a lot of ways to produce or make desktop apps using the visual designer given in Visual Studio. It has a lot of Functionality such as drag-and-drop placement of visual controls and others.
See full question below
When you run your Windows Form application, what is the lifespanof a global variable (also known as a “field” or “class”variable)?
a. during the initial click button event
b. global variables only exist if they are constants
c. only until any additional classes are initialized
d.as long as the form is running
Learn more about Windows from
https://brainly.com/question/26420125
Create a Python console application following the requirements below to allow the entry of 6 bowlers' scores
for a bowling game. After that, the average, minimum and maximum scores are determined, and all results
displayed.
Average
a=[scores]
ans=0
max=max(a)
min=min(a)
for i in a:
ans+=i
ans=ans/len(a)
What components are part of the secondary ignition system ( high Voltage)
Answer:
The components that are part of the secondary ignition system ( high Voltage ) are :: Distributor cap, Distributor rotor, Spark plug cable, and Spark plug.
Explanation:
They are called a part of secondary ignition system because they can take and increase the voltages as much as 40,000 volts.
What is the difference between conceptual architecture view and module architecture view?
Answer:
The conceptual architecture view provides a high-level map of how the system performs what it's meant to do, and the module architecture view demonstrates how the software's major parts are translated to modules and subsystems.
Explanation:
Question #4
Dropdown
You are writing a program to ask the user for the coordinates of two points and then find the slope. Identify each step as input, process, or
output. Not all steps are listed.
#Ask the user for the x-coordinate of the first point.
#Calculate the slope
#Display the slope
Answer:
The y-intercept is going to fall by -2 but the x-intercept will run +5
Explanation:
Becuase the derivative of the equation causes this when plugged into the formula
Ask the user for the x-coordinate of the first point: Input.
Calculate the slope: Process.
Display the slope: Output.
Ask the user for the x-coordinate of the first point:
This step involves obtaining data from an external source, which is the user.
The program needs the x-coordinate of the first point to perform calculations.
The program doesn't have this information beforehand, so it relies on the user to provide it.
Hence, it falls under the category of input.
Calculate the slope:
This step involves performing computations and transformations on the provided input data.
The program takes the coordinates of two points, computes the differences in y-coordinates and x-coordinates, and then calculates the slope using these differences.
This involves mathematical operations and logic, which is processing the data to derive a meaningful result.
Therefore, it is categorized as a process.
Display the slope:
This step involves presenting the result of the calculations to the user. The program is sending information to an external destination, which is the user's screen.
The calculated slope is being made accessible to the user, providing them with the outcome of the computation.
Hence, it falls under the category of output.
To learn more on Programming click here:
https://brainly.com/question/33815139
#SPJ3
What exactly is github?
Explanation:
Hope it helps you!!Specification which has little effect on the speed of a processor is
Answer:
Specification which has little effect on the speed of a processor is cache system bus speed clock speed socket type.
Specification which has little effect on the speed of a processor is cache system bus speed clock speed socket type.
What is Specification?
A specification is frequently used to refer to a list of requirements that must be met by a material, design, good, or service. A specification is frequently a form of technical standard.
There are various forms of technical or engineering specifications (specs), and the term is used in various technical contexts in various ways. They frequently make reference to specific papers or information included in them.
The general definition of the word specification is "to state explicitly or in detail" or "to be particular." A requirement specification is a set of requirements that must be met by a certain type of product, service, design, or other element.
Therefore, Specification which has little effect on the speed of a processor is cache system bus speed clock speed socket type.
To learn more about Specification, refer to the link:
https://brainly.com/question/27900839
#SPJ3
do you think film is a great media in exposing information?
Answer:I think film is a great media in exposing information
Explanation:Films are great for exposing information for many reasons. Films are long, which increases the chance the watcher will remember, also it makes the watcher more involved and more interactive
write a C++ program to print name, age, class, school
Answer:
#include <iostream>
using namespace std;
int main()
{
string name;
string age;
string Nameclass;
string school;
cout<<"What is your name?\n";
cin>>name;
cout<<"What is your age?\n";
cin>>age;
cout<<"What is your class?\n";
cin>>Nameclass;
cout<<"What is your school?\n";
cin>>school;
cout<<"Name: " + name;
cout<<"\nAge: " + age;
cout<<"\nClass: " + Nameclass;
cout<<"\nSchool: " + school;
return 0;
}
Explanation:
Service provided by multiple servers acting in parallel is referred to as: a. Multiple-phase queuing system b. Multiple-channel queuing system c. Multi-delivery servicescape d. Multi-platform servicescape
Service provided by multiple servers acting in parallel is referred to as Multiple-channel queuing system.
What is Multiple-channel queuing system?The multi channel queuing problems is known to be a system where each of the stations is known to often deliver the same type of service and they are said to be equipped with the same kind of tools.
Conclusively, A multi-channel, is said to be a single-phase business that is composed of different servers and also has a one-step servicing process.
Learn more about Multiple-channel from
https://brainly.com/question/17137414
Which function can be used to insert the current date into a spreadsheet?
DATE
TODAY
MM/DD/YYYY
DATE&TIME
Help please
Answer:
its MM/DD/YYYY
Explanation:
1. What is a sprite?
O A sprite is a graphical representation of an object
A sprite is a function
A sprite is a game
A sprite is a string
Answer:
A
Explanation:
A sprite is a character or object that moves in a video game. For example, in Mario, Mario is the sprite because he is a character and can move.
What happens when you press the enter key at the end of a bulletin text
What rules should we have about cell phone
the classroom/school?.
THIS IS AN 5 PARAGRAPH ESSAY HELP ME
Introduction: There are many rules schools should follow when it comes to cell phone use during school hours. Technology can be very distracting and durning school is when kids need to pay attention. Most people see cell phone rules un fair or bad, however it's not like that. The school just wants what's best for the students and so they can learn, which will ultimately help them on later in life.
Body paragraphs (wont write the rest of the paragraphs but heres some ideas) Only using the phone when needed like if it's an emergency, phones have to stay on silent to not disrupt others, during free period you can choose whether to be on your phone
then you write your conclusion based on what you wrote
Most of the Info you would need:
-If we don't allow cellphones many school issues would be solved.
-There is a mistake if they use cellphone, but its a great mistake if they misuse.
- Phones in classes just defeat the point of going to school- for learning.
- There are benefits, yes, but there is no doubt that the privilege will be abused.
-Cell phones are only good for distracting the students from the education that they are at school to obtain.
- we think it is one of the best ways to get distracted during class to use your cellphone.
-Cell phones create massive and on going classroom management issues for teachers.
-There is no need for allowing students to use mobile phones in schools. Ultimately they are not using mobiles for the calling purpose. Thus it is a perfect no from our side.
Please have a good day <3
6.1.5: Function definition: Volume of a pyramid.
Define a function calc_pyramid_volume with parameters base_length, base_width, and pyramid_height, that returns the volume of a pyramid with a rectangular base.
Sample output with inputs: 4.5 2.1 3.0
Volume for 4.5, 2.1, 3.0 is: 9.45
Relevant geometry equations:
Volume = base area x height x 1/3
Base area = base length x base width.
Answer:
def calc_pyramid_volume(base_length, base_width, pyramid_height):
return (base_length*base_width*pyramid_height*1/3)
The code given below is in Java as it calculates the volume of the pyramid by creating the function. The base length as well as the base width, and the pyramid height has been passed as the parameters to the function.
The function of calc_pyramid_volume with parameters base_length.
//Main.java
public class Main
{
public static void main(String[] args) {
//Initialize the variables
double base_length = 4.5;
double base_width = 2.1;
double pyramid_height = 3.0;
//Call the the function with the given parameters
System.out.printf("Volume for %.1f, %.1f, %.1f is: %.2f", base_length, base_width, pyramid_height
, pyramid_volume(base_length, base_width, pyramid_height));}
Therefore,
//function that takes length, width and height as parameters and returns the volume
public static double pyramid_volume(double base_length, double base_width, double pyramid_height) {
//calculate the base area by multiplying the base length and base width
double base_area = base_length * base_width;
Learn more about pyramid on:
https://brainly.com/question/13057463
#SPJ2
What is a collection of information in a
row representing one object called?
i need answer for multiple choice . Someone help me.....pls.....everyone have online?
Answer:
I believe that your correct answer to that question is C. Logistics Information System. The Logistics subsystem deals with activities such as purchasing, receiving inventory control, and distribution. This concept sometimes requires certain components of the organization to operate sub-optimally in order to achieve the maximum goals of the system.
Explanation:
I got my information for this answer from www.examveda.com. If there are any further questions, please put them below in the comments, and I will try my best to help you out. If not, please have a great rest of your day/night. :)
How might the project team recommending an ERP design strategy justify its recommendation as compared with other types of design strategies?
The project team recommending an ERP design strategy by stating that in all, most of the attributes of a specific plan will bring about a good, quick and full return on that investment.
The project team can legitimize their ERP strategy by inputting the main preferred viewpoint to reengineering the proposed business procedure.
What is a ERP strategy?The term ERP strategy is a term that connotes the use of a technology strategy that often helps to integrates a combination of business functions.
The functions includes finance, HR and purchasing and linked with operational areas, such as manufacturing via a tight rope from operational business works to financial records.
Learn more about design strategy from
https://brainly.com/question/5971614
Three clocks exist in a room: The round clock is 10 minutes behind the actual time The rectangular clock is 5 minutes after the actual time The squared clock is 5 minutes slower than the round clock The time now on the squared clock is 08:05, what is the time now on the rectangular clock? *
Answer:
08:15
Explanation:
Let the actual time be x
Round Clock = x-10
Rectangular Clock = x-5
Square Clock = x-15
Square Clock = 08:05
08:05 = x-15
08:20 = x
Rectangular Block = x-5 = 08:15
The time now on the rectangular clock is 8:25 The squared clock is 5 minutes slower than the round clock.
What is real-time?Real-time is the time at which the acts take place during the original time.
Let the real-time be.The spherical clock is 10 mins in the back of the real-time.So, the time on the spherical clock = x - 10 minsThe square clock is five mins after the real time.So, the time on rectangular clock = x + five minsThe rectangular clock is five mins in the back of the spherical clock.So, the time on spherical clock = the time on spherical clock - five mins = x - 10 mins-five minutes = x - 15 minsTime at the squared clock is given as 08/0So, we are able to write: x - 15 mins =08:05 Add 15 mins on each sides: x - 15 minutes + 15 mins =08:05+15 minsFrom this we get: x = 08/20 Now, time at the square clock = x + five minsSubstituting the price of x:The first alternative is the proper answer.Comment > time at the square clock =08:25 time at the square clock =08:25Read more about the time :
https://brainly.com/question/2854969
#SPJ2
Which layer abstracts away the need for any other layers to care about what hardware is in use?
Answer:
data link layer
Explanation:
you answer is data link layer
UCLA Extension's marketing department wants
to study the effectiveness of their email
campaign. The department surveyed 40
students randomly selected from a contact
database. The survey shows 26 of the 40
students surveyed enrolled in one course
because of reading the email. 8 of the 40
enrolled in three courses after reading the
email, and 6 of the 40 did not enroll even after reading the email.
The effectiveness of the email campaign is measured by course enrollment. Can you calculate the mean as a measure of central tendency
reading the email?
The measure of central tendency to determine the effectiveness can be the mean, median or mode
It is true that you can calculate the mean as a measure of central tendency for reading the email
How to determine the true statement?The survey result is given as:
Sample size, n = 40Enrolled in one course = 26Enrolled in three courses = 8Not enrolled = 6To determine if the email is effective or not, we simply carry out a test of significance.
However, if the central of tendency is to be used to determine the effectiveness; it is best to use the mean.
Hence, it is true that you can calculate the mean as a measure of central tendency for reading the email
Read more about measure of central tendency at:
https://brainly.com/question/17631693
does anyone know what blue holler is if so, what are the new tracks?
Answer:
No
Explanation:
No I don't know about it sorry