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
mixer [17]
3 years ago
9

Write a program that converts or calculates values. Use the following guidelines to write your program:

Computers and Technology
1 answer:
Setler [38]3 years ago
8 0

Answer:

In Section 2.2 “Expressing Units”, we showed some examples of how to ... with other units of the same type to get a numerical value that is easier to comprehend. ... The rules of algebra say that you can change (i.e., multiply or divide or add or ... We see that one-half of a yard equals 3/2, or one and a half, feet—something Explanation:

You might be interested in
A(n) is a list of commands that tell your computer what to do.
Leviafan [203]
A program is a list of commands that tell your computer what to do<span />
7 0
3 years ago
Read 2 more answers
HELP ME PLEASE ASAP!!!
Ratling [72]

The answer should be: True

5 0
3 years ago
Read 2 more answers
(Solved—15 Lines) In many jurisdictions a small deposit is added to drink containers to encourage people to recycle them. In one
andrezito [222]

Answer:

JAVA program is given below.

import java.util.Scanner;

public class Main

{

   //static variables declared and initialized as required

   static float deposit1 = 0.10f;

   static float deposit2 = 0.25f;

   static float refund1;

   static float refund2;

   static int num_one_lit;

   static int num_more;

public static void main(String[] args){

    Scanner sc = new Scanner(System.in);

 System.out.print("Enter the number of containers of 1 liter or less: ");

 num_one_lit = sc.nextInt();

 System.out.print("Enter the number of containers of more than 1 liter: ");

 num_more = sc.nextInt();

 //refund computed based on user input

 refund1 = num_one_lit*deposit1;

 refund2 = num_more*deposit2;

 //displaying refund

 System.out.printf("Total refund amount for containers of 1 liter or less is $%.2f %n", refund1);

 System.out.printf("Total refund amount for containers of more than 1 liter is $%.2f %n", refund2);

}

}

OUTPUT

Enter the number of containers of 1 liter or less: 5

Enter the number of containers of more than 1 liter: 2

Total refund amount for containers of 1 liter or less is $0.50  

Total refund amount for containers of more than 1 liter is $0.50

Explanation:

1. Variables are declared at class level hence declared as static.

2. Variables holding deposit also initialized with the given values.

3. User input is taken for the number of containers in both categories.

4. The total value of refund is computed using the given values and user entered values.

5. The total refund is displayed to the user for both categories.

6. To display two decimal places always, variables to hold deposit and refund are declared as float.

7. The keywords used for decimals are %.2f %n. The %.2f keyword indicates two decimal places to be displayed in float variable, %n indicates a numeric value is to be displayed.

8. The printf() method is used to display the formatted output for refund amount.

9. The keywords used to display the formatted output is derived from C language.

10. All the code is written inside class and execution begins from the main() method.

4 0
4 years ago
A set of object that share a common structure and common behavior in database is called ​
Tcecarenko [31]
An Object Class. Hopefully this answer is right.
3 0
3 years ago
Array elements are differentiated because each has a unique: O A) Range O B) Data Type o c) Index O D) Value
Hoochie [10]

Answer

The correct answer is option(C) which is "Index".

Explanation:

Array elements can be differentiated because each element in the array have different index value.In the array all elements are of same data type, so we can not differentiated them on the basis of data type. Also an array can have same value many times, That is why we can not differentiated them on this basis. In the array elements are from any range, so its not possible to distinguish them on range. We can only distinguish elements of an array on their index value because each element have different index in the array.

7 0
3 years ago
Other questions:
  • Question 3 / 5
    9·1 answer
  • How do you solve this.
    12·1 answer
  • Consolidating a system's physical and time resources is known as ________________.
    13·1 answer
  • Jane, an employee in the human resources department, has created several important PDF documents on her computer that all office
    9·2 answers
  • Using Amdahl’s Law, calculate the speedup gain of an application that has a 60 percent parallel component for (a) two processing
    11·1 answer
  • What role/service is windows 2012 server backup part of?
    5·1 answer
  • Catastrophic injuries and illnesses account for two-thirds of total health care costs in the country of Gnut. The Gnuti governme
    15·1 answer
  • What is responsible for what you see on the monitor?
    13·1 answer
  • Create a relational database table in Microsoft Excel for the grocery store of 20 employers.
    12·1 answer
  • Which genre of art is specific to digital media?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!