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
Ghella [55]
3 years ago
13

Given two integer variables distance and speed, write an expression that divides distance by speed using floating point arithmet

ic, i.e. a fractional result should be produced.
1. Calculate the average (as a double) of the values contained in the integer variables num1, num2, num3 and assign that average to the double variable avg. Assume the variables num1, num2, and num3 have been declared and assigned values, and the variable avg declared.
Creating objects
2. Declare a reference variable of type File named myFile.
3. Declare a variable named myMenu suitable for holding references to Menu objects.
4. Suppose a reference variable of type File called myFile has already been declared. Create an object of type File with the initial file name input.dat and assign it to the reference variable myFile.
invoking methods
Computers and Technology
1 answer:
Readme [11.4K]3 years ago
4 0

Answer:

Following are the solution to this question:

Explanation:

In this question, the result value which would be produced are as follows:

= \frac{distance}{(double) \ speed}

In point 1:

The formula for the avg variable:

\to avg = \frac{(num_1 + num_2 + num_3)}{(double)\  3};

In point 2:

The variable for the file is:

File myFile;

In point 3:

The variable for the mymenu:

Menu myMenu;

In point 4:

myString = new String();

You might be interested in
What are motion graphics?
AysviL [449]
D)Animated abstract shapes
3 0
3 years ago
Why do some people put salt on sidewalks when it snows?
drek231 [11]
It help to melt the snow quicker. they salt eats away the snow.
6 0
4 years ago
How to convert mkv to avi without losing quality?
Alexus [3.1K]
Ive done this before with success.
You will need <span>FFmpeg.</span>
https://superuser.com/questions/227338/how-to-convert-an-mkv-to-avi-with-minimal-loss
7 0
3 years ago
How can i see what websites are visited on my wifi
grigory [225]

Answer:

If you want to view sites visited on a wireless network, you can check the logs stored by the wireless router to see what information is available. You may need to set your logging settings to capture the data you want.

Explanation:

5 0
3 years ago
Which is part of the dales process A customer retention B billing C cost planning D customer relations
serious [3.7K]

Answer:

D customer relations

Explanation:

A sales process is a term that describes a set of predetermined undertakings in which a salesperson perform in order to engage and put up with prospective buyer right from the first stage which is pre-approach to a closed sale.

The sale process involves the following steps:

1. Pre-approach

2. Approaching the customer

3. Determining the needs of customers

4. Introducing the product

5. Handling questions and objections

6. Closing the sale

7. Recommendation selling

8. Encouraging and follow up.

Hence, all the steps involved in the sales process deals with CUSTOMER RELATIONS. Therefore, the right answer is option D.

6 0
3 years ago
Other questions:
  • _____ provide the standards, syntax, statements, and instructions for writing computer software
    14·1 answer
  • If an improvement creates no significant change in a product’s performance, then it is a(n) ? a0 design improvement.
    6·1 answer
  • Which is a credit card balance A. The amount of interest you must pay the credit card company B. The required minimum payment to
    5·1 answer
  • Which of the following scenarios can best be addressed by operations management?
    11·1 answer
  • Why does my hp computer keep freezing when i move it?
    10·1 answer
  • What type of diagram will you find nodes?
    15·1 answer
  • Which of the following is true regarding a class and interface types? Group of answer choices You can convert from a class type
    9·1 answer
  • DES: Group of answer choices A) is a commonly used symmetric encryption B) algorithm that was developed in the mid-C) 1970s was
    6·1 answer
  • Text,Audio and graphic is entered into the computer using
    9·1 answer
  • Write an algorithm of telephone call system​
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!