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
Elina [12.6K]
3 years ago
15

Write a program in java that reads each line in a file, reverses its characters, and writes the resulting line to another file

Computers and Technology
1 answer:
Mandarinka [93]3 years ago
4 0
Debugging program I think
You might be interested in
In IDLE, which symbols are used for the prompt? <br>*** <br>&lt;&lt;&lt;<br> &gt;&gt;&gt;<br> ---​
Norma-Jean [14]

Answer: >>>

Explanation:

just finished the test and got this right

7 0
4 years ago
Determine the distance between point (x1, y1) and point (x2, y2), and assign the result to points Distance. The calculation is:
Nadusha1986 [10]

<u>Question:</u>

Snapshot of the question has been attached to this response.

<u>Answer:</u>

<u></u>

import java.util.Scanner;

import java.lang.Math;

public class CoordinateGeometry{

    public static void main(String []args){

       double x1 = 1.0;

       double y1 = 2.0;

       double x2 = 1.0;

       double y2 = 5.0;

       double pointsDistance = 0.0;

       

       //Declare a variable to hold the result of (x2 - x1)²

       double x;

       

       //Solve (x2 - x1)^2 and store result in the variable x

       x = Math.pow(x2 - x1, 2);

       

       //Declare a variable to hold the result of (y2 - y1)²

       double y;

       

       //Solve (y2 - y1)^2 and store result in the variable y

       y = Math.pow(y2 - y1, 2);

       

       //Now pointsDistance = SquareRootOf(x + y)

       pointsDistance = Math.sqrt(x + y);

       

       System.out.println("Points distance: ");

       System.out.println(pointsDistance);

       

       return;

    }

}

<u>Sample Output:</u>

Points distance:  

3.0

<u>Explanation:</u>

The above code has been written in Java and it contains comments explaining important lines of the code. Please go through the comments.

The snapshots of the program and a sample output have been attached to this response.

4 0
4 years ago
PowerPoint Online automatically saves your presentation to what Office Online application? OneDocument OneDrive OneNote OneWay
-BARSIC- [3]

Answer:

OneDrive

Explanation:

OneDrive is Microsoft cloud storage service. so it makes sense it would save it their :)

6 0
3 years ago
Read 2 more answers
Which question best addresses the issue of risk with a new job?
jolli1 [7]
The last answer seems most appropriate
5 0
4 years ago
Read 2 more answers
How much can a INIVDA 1050 TI take? (FPS wise)
mafiozo [28]

Answer:

At full graphics (ultra settings, full HD resolution), tests can range from 60-65 fps, 65.5 fps being the max.

Explanation:

You can benchmark graphics cards using in-game stress tests/benchmark tests or using a separate benchmarking software.

NVIDIA 1050 Ti's are now slightly outdated. Nevertheless, it is now significantly cheaper.

3 0
3 years ago
Other questions:
  • Tasha purchased a new tablet. She has several questions about how to connect to the internet, download apps, install software, a
    5·1 answer
  • A claim that is printed and mailed to the carrier site is called a _______copy?
    13·1 answer
  • What is a type of destructive program?
    8·2 answers
  • The special operator used to check for similar character strings is ____.
    13·1 answer
  • customer seeks to buy a new computer for private use at home. The customer primarily needs the computer to use the Microsoft Pow
    5·1 answer
  • A discription of how child abuse displays itself on social media​
    6·1 answer
  • Write a method that evaluates to true or false depending on whether a box completely fits inside another:
    12·1 answer
  • Rube Goldberg project NEED HELP ASAP
    13·1 answer
  • Which of the following can help organize your email messages? Select all that apply.
    13·2 answers
  • _____ is a system in which a finite set of words can be combined to generate an infinite number of sentences.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!