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
solong [7]
3 years ago
15

Can someone help me with this code please explain it to me in simple way

Computers and Technology
1 answer:
Ilia_Sergeevich [38]3 years ago
5 0

Answer:

It prints your name and age.

Explanation:

It prints the value for both name and age variables, so you need away to get it.

You might be interested in
What is meant by Program Memory is paged?
atroni [7]

Answer:

Program memory is paged, this statement is defined as in a computer system paged memory is the process of allocation of memory and storing a portion of a process of execution. Page is a unit of logical memory in a program. It follows the process of paging, as it is a method of writing an information and reading the output from the storage drive. The main advantage of this process is that it become easy to swap because everything is the same size.

7 0
3 years ago
why is it when you put earbud aux cords in a phone or computer they sound weird until you move the aux cord? Then it is somehow
AfilCa [17]

Answer:

that might just be the headphone cord itself or it might be the port on the pc/phone

Explanation:

i had this happen with my old droid razr hd i thought it was the aux cord on my speaker and head phones but i used the same things on a friends phone and they worked just fine and this might be do to an old  or broken port on the phone /c my phone headphone port got used almost everyday and it was just the port you can replace this on some tech or you could just use bluetooth if the tech doesent have it buy and adapter.

            hope this helps!!!

4 0
3 years ago
Which code is an example of XHTML?
lidiya [134]
D, because it’s the only one in html format
8 0
3 years ago
Saitama vs Goku Vs Luffy Vs Natsu Vs Trunks Vs Piccolo (Who would win and why)?
mamaluj [8]
This is actually a question?? Lol anywayyyy can I get ?
5 0
3 years ago
Read 2 more answers
Write a recursive method named hanoi that prints a solution to the classic Towers of Hanoi puzzle. Your method should accept thr
dimaraw [331]

Answer:

Explanation:

The following recursive method is written in Java. It creates a simulation of the towers of Hanoi and outputs every step-by-step instruction on how to solve it. The output for the code can be seen in the attached picture below.

class Brainly {

   public static String hanoi(int numOfDisks, int startPeg, int endPeg) {

       int helpPeg;

       String sol1, sol2, MyStep, mysol;   // Contains moves

       if (numOfDisks == 1) {

           return "Move from " + startPeg + " to " + endPeg + "\n";

       } else {

           helpPeg = 6 - startPeg - endPeg;    // Because startPeg + helpPeg + endPeg = 6

           sol1 = hanoi(numOfDisks - 1, startPeg, helpPeg);

           MyStep = "Move from " + startPeg + " to " + endPeg + "\n";

           sol2 = hanoi(numOfDisks - 1, helpPeg, endPeg);

           mysol = sol1 + MyStep + sol2;     // + = String concatenation !

           return mysol;

       }

   }

   public static void main(String[] args) {

      String output = hanoi(3, 1, 3);

       System.out.println(output);

   }

}

3 0
3 years ago
Other questions:
  • Zoom Vacuum, a family-owned manufacturer of high-end vacuums, has grown exponentially over the last few years. However, the comp
    11·1 answer
  • What tool do you use to secure remote access by users who utilize the internet??
    7·1 answer
  • Give 5 uses of software and hardware.
    15·1 answer
  • What is the fastest way to locate a record for updating?
    6·1 answer
  • To maintain her audience's confidence in her, what should kiara not do while delivering her presentation?
    10·1 answer
  • Blender is used by which video game team member?
    15·1 answer
  • Hi can someone help me make a like a song for music Class pls I attached an example of what i need.
    14·1 answer
  • We begin with a computer implemented in a single-cycle implementation. When the stages are split by functionality, the stages do
    13·1 answer
  • Explain impact of modern technology on human life​
    5·1 answer
  • How is your favorite singer and why I will give Brainliest
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!