Computer Science, asked by krishnadyuti08, 1 month ago

ENTER A NUMBER AND REVERSE using for loop IT USING QBASIC

Answers

Answered by XxAnumerijaanxX
1

Explanation:

See results about

Clinical depression

Medical condition

Depression

Self-treatment

Seeking medical care

A group of conditions associated with the elevation or lowering of a person's mood, such as depression or bipolar disorder

MOST COMMON TYPES

Clinical depression

A mental health disorder characterised by persistently depressed mood or loss of interest in activities, causing significant impairment in daily life.

Persistent depressive disorder

A mild but long-term form of depression.

Bipolar disorder

A disorder associated with episodes of mood swings ranging from depressive lows to manic highs.

For informational purposes only. Consult your local medical authority for advice.

Sources: Apollo Hospitals and other

Answered by MichhDramebaz
2

{\huge{\pink{↬}}} \:  \: {\huge{\underline{\boxed{\bf{\pink{Answer}}}}}}

QBasic Program to Reverse a Number

  • Let n be the input number.
  • Declare a variable temp and set temp = n.
  • Declare a variable num. Set num = 0.
  • Repeat the following steps while temp > 0. Set r = temp MOD 10. This step stores the rightmost digit of temp in r. Set num = num * 10 + r. ...
  • The reverse of N is stored in num.
Similar questions