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
GuDViN [60]
4 years ago
10

Given two double variables, bestvalue and secondbestvalue, write some code that swaps their values. declare any additional varia

bles as necessary.
Computers and Technology
1 answer:
pogonyaev4 years ago
5 0
Double temp;

temp = bestValue;
bestValue = secondBestValue;
secondBestValue = temp;
You might be interested in
FlimFlam.Shop is the best clothing shop ever.
julsineya [31]
Uhh ok thanks for the points
7 0
3 years ago
Read 2 more answers
Write a Java program that generates a new string by concatenating the reversed substrings of even indexes and odd indexes separa
salantis [7]

Answer:

/ReversedEvenOddString.java

import java.util.Scanner;

public class ReversedEvenOddString {

   public static void main(String[] args) {

       Scanner sc = new Scanner(System.in);

       String s = sc.nextLine();

       String evens = "";

       String odds = "";

       for(int i = s.length()-1;i>=0;i--){

           if(i%2==1){

               odds += s.charAt(i);

           }

           else{

               evens += s.charAt(i);

           }

       }

       String res;

       if(s.length()%2==1){

           res = evens+odds;

       }

       else{

           res = odds+evens;

       }

       System.out.println(res);

   }

}

8 0
4 years ago
Whenever you are passing or another vehicle is passing you, _______ is particularly important to avoid collisions. A. Turning. B
ElenaW [278]
D. slowing down or C. speed
3 0
4 years ago
Read 2 more answers
What is binary in computer science ​
timurjin [86]

Answer:

binary is a language.

Explanation:

Well it is a language which uses only two numbers, 0 and 1. This is the language that computer understands. 0 in general means true and 1 in general means false. Binary codes are used for various methods of encoding data.

6 0
4 years ago
You started writing a paper yesterday. You worked on it again today. After a few hours, you realized that you have introduced so
mihalych1998 [28]

Answer:

I think it is manage document.

Explanation:

managing helps us to organize things and write things with ease.

3 0
3 years ago
Read 2 more answers
Other questions:
  • The spreadsheet below shows the names years in office, and number of terms for five US presidents
    7·2 answers
  • Write a program that calls fork(). Before calling fork(), have the main process access a variable (e.g., x) and set its value to
    5·1 answer
  • Can you help me correct a sentence?
    13·1 answer
  • You save $500 in a retirement account at age 25. it increases an average of 10% per year until you are 65. which formula and res
    13·1 answer
  • How can you clean out the scales in an electric iron without taking the iron apart? A. By rinsing the tank and holes with a wate
    12·2 answers
  • There is no way to see how another project in Scratch was made.<br><br> True<br> False
    11·1 answer
  • ​User documentation _____. Group of answer choices ​allows users to prepare overall documentation, such as process descriptions
    9·1 answer
  • L00000000000000000000000000000000000000000000000000000000l they b00ty tickled
    6·2 answers
  • Which of these five are Netflix Originals?1/5
    5·1 answer
  • 8. The cell reference for a range of cells that starts in cell A1 and goes over to column G and down to row 10 is, a. A1-G10 b.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!