jcrist7775 jcrist7775
  • 20-07-2019
  • Computers and Technology
contestada

Write a C++ program which finds the reverse of a number.

Respuesta :

crystalbellofs
crystalbellofs crystalbellofs
  • 20-07-2019

Answer:

C++ Program to reverse number

#include <iostream>

using namespace std;

int main()

{

int n, reverse=0, rem;

cout<<"Enter a number: ";

cin>>n;

while(n!=0)

Explanation:

Answer Link

Otras preguntas

Which sentence structure sounds better? Days have gone by and Mary and Jane have not heard a sound from the neighbors cat. OR Mary and Jane have not heard a sou
Why were German immigrants referred to as the Pennsylvania Dutch?A.The German immigrants had the same religion as the Dutch settlers.B.The German immigrants ori
A pier forms an 85° angle with a straight shore. At a distance of 100 feet from the pier, the line of sight to the tip forms a 37° angle. Find the length of the
A boat is pulled into a dock by means of a rope attached to a pulley on the dock. The rope is attached to the front of the boat, which is 6 feet below the level
What is the brains fear threat center called?
The wavy hair in children of straight-haired and curly-haired parents is the result of ________.
Find the GCF of the given polynomial. 16a^4b^4 + 32a^3b^5 - 48a^2b^6 ...?
Evaluate: cos(Arctan 15/8)
If tanA=2/3 and sinB =5/√41 and angles A and B are in Quadrant I, find the value of tan (A+B) showing all steps
A small spotlight mounted in the bottom of a swimming pool that is 5.0 m deep emits light in all directions. On the surface of the pool, directly above the ligh