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
gregori [183]
2 years ago
10

Write a function that takes an integer value and returns the number with its digits reversed. for example, given the number 7631

, the function should return 1367. must use a loop.
Computers and Technology
1 answer:
lesantik [10]2 years ago
3 0

//=indicating you to do the programming part on your own relating to the description provided against. This done because different programming languages require different coding for that.

n=integer value

n1=dummy storage for n

r=variable used to do the function

{

int n,r,n1,rev=0;

//do the coding here for storing the integer in the variable n

n1=n;

while(n>0){

   r=n%10;

   rev=(rev*10)+r;

   n=n/10;

   }

//now add a command for displaying the value of rev

}

this is just a logic i used for java

done.

You might be interested in
Portrait and Landscape are
kramer

Answer:

Page orientation

Explanation:

Required

What does portrait and landscape represent?

For better understanding, I'll narrow down the question to Microsoft Office Word. The explanation can be applied to other concepts.

Analysing the option one after the other.

Page layout: This is a term that describes the graphical representation of each document page, visually.

Page Size: This is a term that represents the length and width of the page. Common page sizes are LETTER, A4, A3, and so on.

The above (2) do not in any way represent what portrait and landscape represent.

Page orientation: This is a way the document is represented and it's a direct synonym for landscape and portrait.

Since (1) & (2) do not represented the given term, the last option is incorrect.

Hence,

Page orientation correctly answers the question

8 0
3 years ago
Read 2 more answers
How can you know if the information is based on scientifically collected data and if it's corroborated by other sources? Follow
Radda [10]

The links redirect the reader to other PETA articles.

Answer: Option A.

<u>Explanation:</u>

A link (short for hyperlink) is a HTML object that permits you to bounce to another area when you snap or tap it. Connections are found on pretty much every site page and give a basic methods for exploring between pages on the web. Connections can be joined to content, pictures, or other HTML components.

A link is a reference to information that the peruser can follow by clicking or tapping. A hyperlink focuses to an entire archive or to a particular component inside a record. Hypertext is content with hyperlinks. The content that is connected from is called stay content.

5 0
3 years ago
Read 2 more answers
A method can not be made final until whole class is madefinal.<br> ? True<br><br> ? False
Lynna [10]

Answer:

True.

Explanation:

A method can not be made final until whole class is madefinal.

3 0
2 years ago
What computing and payment model does cloud computing follow?
IgorLugansk [536]

a: Rent

b. The pay as you go

Pay as you go is a utitlity computing billing method used for cloud computing and gear towards organizations and end users.

3 0
3 years ago
Think Critically 5-1 Creating Flexible Storage.
Brrunno [24]

Answer:

The Storage Spaces feature in Windows

Explanation:

The Storage Spaces feature can be used here. This feature was initiated in Windows server 2012 and allows the user store his files on the cloud or virtual storage. This makes it possible to have a flexible storage as there is a storage pool which is updated with more storage capacity as it decreases. The feature also offers storage security, backing up files to other disks to protect against total loss of data on a failed disk.

7 0
2 years ago
Other questions:
  • What event in the 1970s contributed to the current
    6·2 answers
  • A firewall, when properly implemented, can prevent most attacks on your system.
    11·1 answer
  • Hen using presentation software, what do you do when you "compose a slide"?
    5·1 answer
  • Caches are important to providing a high-performance memory hierarchy to processors. Below is a list of 32-bits memory address r
    9·1 answer
  • If a*b = 2a - 56, calculate the value of<br>3 * 4​
    14·1 answer
  • Which of the following is a principle that can improve the efficiency of I/O?
    7·2 answers
  • Given the following sets, for each set operation provide the elements of the resulting set in set notation or using a well-known
    5·1 answer
  • An administrator has created a new custom object in a sandbox environment and now is ready to deploy in production. How can the
    11·1 answer
  • Write an algorithm to print the minimum and maximum of an integer array. Your need to pass the array as a parameter. Since we ca
    14·1 answer
  • In what domain electrica energy is the most use
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!