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
Sauron [17]
3 years ago
12

JAVA

Computers and Technology
1 answer:
Umnica [9.8K]3 years ago
5 0

import java.util.Scanner;

public class JavaApplication58 {

   

   public static void main(String[] args) {

       Scanner scan = new Scanner(System.in);

       System.out.println("Enter a positive integer:");

       String num = scan.nextLine();

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

           System.out.println(num.charAt(i));

       }

       

   }

   

}

I hope this helps!

You might be interested in
Write an if statement that prints the message “Application accepted” if the variable workExperience is greater than or equal to
katovenus [111]
If workExperience >= 2 or CollegeDegree is true:
print “Application accepted”
else:
print “Application denied”

4 0
3 years ago
Read 2 more answers
Suppose that a t-shirt comes in five sizes: S, M, L, XL, XXL. Each size comes in four colors. How many possible t-shirts are the
guapka [62]

Answer:

120

Explanation:

This question is basically asking how many ways can we arrange 5 sizes of shirts if they come in 4 colors.

5 permutation of 4

To find permutation, we use the formula

P(n, r) = n! / (n - r)!

Where

n is the size of the shirts available, 5

r is the color of each shirt available, 4

P(5, 4) = 5! / (5 - 4)!

P(5, 4) = (5 * 4 * 3 * 2 * 1) / 1!

P(5, 4) = 120 / 1

P(5, 4) = 120

Therefore, the total number of shirts available is 120

3 0
3 years ago
Network id is 192.168.10.32/28. what would be the ip address, if you assign the last available ip address in the range
Yakvenalex [24]
192.168.10.47 would be the multicast address for this network.
6 0
3 years ago
Read 2 more answers
df -h shows there is space available but you are still not able to write files to the folder. What could be the issue
Rzqust [24]

The possible issue when df-h shows that there is space available is that;

It Ran out of inodes

<h3>What is a Linux System?</h3>

The correct reason is that it ran out of nodes in Ubuntu which is an open source operating system on Linux

Now,  In a "vanilla" installation, if you have too many small files, they can consume inodes, but not space. However, you will observe that you have available space, but since your inodes are full, you'll not be able to use this space.

Read more about Linux System at; brainly.com/question/25480553

5 0
2 years ago
The a0 manager is an application that displays what is currently happening on your computer.
Dominik [7]

The task manager

The task manager is a component found in almost all versions of windows operating systems. It enables a user to view tasks currently running and the overall performance of the computer. It helps the end users and admins to monitor, manage and troubleshoot tasks. You can easily open the task manager by pressing the Ctrl+Alt+Del key combination.

5 0
3 years ago
Other questions:
  • The domain in an email message tells you the
    5·1 answer
  • When using the boolean data type, we encapsulate the data in what symbol?
    11·2 answers
  • When creating a query using the query design command, first you must ____?
    13·1 answer
  • Assign testResult with 1 if either geneticMarkerA is 1 or geneticMarkerB is 1. If geneticMarkerA and geneticMarkerB are both 1,
    11·1 answer
  • Footnotes and endnotes can be used to explain information in more detail, add opinions or comments, or to cite sources in the do
    7·1 answer
  • _______ view focuses on the text and content of a document, without much information on the page layout.
    7·1 answer
  • Assume that ip has been declared to be a pointer to int and that result has been declared to be an array of 100 elements . Assum
    9·1 answer
  • Write the function powersOf3ToN(n) that takes a possibly-negative float or int n, and returns a list of the positive powers of 3
    10·1 answer
  • Extended essay on globalization not less than 200​
    6·1 answer
  • Three PCs are on an Ethernet LAN, connected by a hub. Describe how the Ethernet protocol deals with collisions in this situation
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!