1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
zavuch27 [327]
3 years ago
11

Suppose your cell phone carrier charges you a monthly fee of $30.00 for up to 300 minutes and $0.45 for each additional minute a

fter the first 300. Assuming you used your phone for x minutes with x > 300, the total monthly fee would be?
If you used your phone for <= 300 minutes then the charge is $30.00 Assume the user enters a positive value for the number of minutes
Computers and Technology
1 answer:
irakobra [83]3 years ago
6 0

Answer:

30.00 + x * .45 where x is the number of minutes

in code it would be:

import java.util.Scanner;

public class monthlyFee{

   final double MONTHLY_FEE = 30.00;

   final double ADDITIONAL_MINUTE_FEE = 0.45;

   double additionalMinute = 0;

   public monthlyFee(double minutes){

   additionalMinute = minutes;

   }

   public double calculate(){

       if(additionalMinute > 0){

       double TotalFee = MONTHLY_FEE + additionalMinute * ADDITIONAL_MINUTE_FEE;

       return TotalFee;

       }

       else

       return MONTHLY_FEE;

   }

   public static void main(String...args){

   Scanner input = new Scanner(System.in);

   System.out.println("Enter minutes: ");

   double minutes = input.nextDouble();

   monthlyFee obj1 = new monthlyFee(minutes);

   System.out.printf("$" + "%.2f", obj1.calculate());

   }

}

Explanation:

so whatever x is just multiple it by 0.45 to get the total for just the fee.

You might be interested in
Nadia's productivity at work is being hurt due to the large quantity of unwanted e-mail she receives. What steps can she take to
anastassius [24]

Answer:

Hi,

The best option in the list is <u>stop posting her e-mail address on newsgroups.</u>

Explanation:

Unwanted e-mail is categorized as a spam email.These emails can not be entirely avoided because we use the Internet thus it is recommended that you filter them.A program called my email client can help to filter spam though in some cases, it might not be effective.

The techniques Nadia can employ in this case is to hidden her email address when visiting newsgroups.News groups are forums online where people discuss certain topic.Avoid publishing the email in these web sites can hide her tackle this problem. Additionally, Nadia could train the filter serach feature in her email box through repoting such emails using the report button present, avoid responding/openning spam  or use a third party program to track spam emails and block them.

Wish you Luck!

8 0
3 years ago
The primary source of help for technical problems with BC Online (computer settings, password, etc.) is:
solmaris [256]

The primary source of help for technical problems with BC Online (computer settings, password, etc.) is: The Instructor

<h3>Computer Technical Problems</h3>

         Usually when we have problems on our computers, depending on the type of problem we can call the attention of a technician or follow the advice of an instructor or the message prompt on the software or website.

        However, when it comes to technical problems such as Computer settings or password, we have to make sure we follow the instructions given by the instructor primarily especially because BC Online from the question is a type of Government Registry Information that is used by the citizens with the aid of instructors.

Read more on computer technical problems at;

brainly.com/question/17506968

3 0
2 years ago
Write a report on the recent online tuition
ale4655 [162]

Answer:

dgvhgfh

Explanation:

fghdfgh

8 0
3 years ago
C++
Nookie1986 [14]

Answer:

Following are the code to the given question:

#include <iostream>//header file

using namespace std;

class Window //defining a class Window

{

private:

int width, height;//defining integer variable

public:

friend ostream& operator << (ostream& stm, Window& width)//defining a friend function that takes two parameters

{

return stm<<"a ("<<width.width<<" x "<<width.height<<") window"; //use return keyword that return its values

}  

Window(int width, int height): width(width), height(height)//defining parameterized constructor that inherit width and height in its parameters  

{}

};

int main() //Main method

{

Window w(80,90);//calling class constructor

cout<<w;//print object value

return 0;

}

Output:

a (80 x 90) window

Explanation:

In the above code, a class "Window" is defined that uses a friend function "ostream& operator" is declared that uses the "ostrea&" as a data type to hold two-variable "stm and w" in its parameter, and declared the parameterized constructor to hold value by inheriting width and height in its parameters.

Inside the main method, a class object is created that calls the constructor and uses the print method to print object value.

7 0
3 years ago
What are the WORST computer malware in your opinion it can be worms backdoors and trojans I just want a input, nothing right or
tankabanditka [31]

Answer:

I think probably mydoom

Explanation:

as it estimated 38 billion dollars in damage, also this malware is technically a worm

5 0
2 years ago
Other questions:
  • Laws differ from theories because laws do not provide
    13·1 answer
  • For C++ (please make sure it runs properly)
    14·1 answer
  • 20. Which of the following describes an acceptable print resolution?
    10·2 answers
  • What is the resistance of a 1,000-foot length of #6 AWG wire at a temperature of 25 degrees C? A. 0.1593 ohm B. 0.4028 ohm C. 0.
    7·1 answer
  • A musical compact disc is an example of
    13·1 answer
  • What is looping in QBASIC​
    9·1 answer
  • Ancestor(X,father(X)) and ancestor(david,george) is they unify or not
    11·1 answer
  • Opportunities in nanotechnology apply broadly to many fields. Identify TWO areas of IT that may be impacted by its further devel
    6·1 answer
  • That's my email address​
    14·1 answer
  • SINCE I CANT SEE IT KANG LOOK
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!