C Practical and Assignment Programs-Reverse given Number

preview_player
Показать описание
C Practical and Assignment Programs-Reverse given Number

In this video we will understand how to reverse given number. We will also look into the algorithm . And then we will be writing program to reverse give numbers. In this video we will also learn how to effectively improve our coding skills using function. And also see the advantages of functions. Now this program is written in C programming language but will work in C++. Fell free to provide you suggestion.

We The Computer Guys
Shreyas Zagade
Aakash Thakur
Ananya Jain
Рекомендации по теме
Комментарии
Автор

you can also show the dry run procedure for the particular logic... it'll be helpful for beginners to understand the logic easily...

TarunSingh-rsyv
Автор

simple logic:
public class reverse
{
 public static void main(String args[]){
    int rev_num = 0, num=10;
    while(num > 0)
    {
        rev_num = rev_num*10 + num%10;
        num = num/10;
    }    System.out.println("reverse =" +rev_num);
 }
}but I need to reverse 100 to get 001?

sangeethsubhash
Автор

Hi sir which language is powerful C or Pascal ?

TheMRTIMBUK
Автор

Sir, I can't understand why in the given program "units" is given as units=number%10.Pls explain my doubt....

bipros
Автор

if the given number is 100 , 100.004 and -321 what will be the reverse number, what logic have to apply ..?

sangeethsubhash
Автор

wap to print the product of the no such that (25=10)

bhabishkarki
Автор

if the given number is 100 then what will be the reverse number

sucharithalipi
Автор

There are several components to reverse phone lookups. One resource I discovered that succeeds in merging these is the Aghy track trace (check it out on google) without a doubt the best treatment that I've heard of.look at the extraordinary info .

malansampath
Автор

Can anyone tell how to reverse a number like 890 as 098 without removing the zero in it ?

rahulas
Автор

I want same program using linux operator

sambashivareddyk
Автор

you have defined a variable named "size" that you have never used.

SuhailShaikhlucky
Автор

the way he wrote codes wa a pretty confusing actually, cause the way they tech in our school is way diffrent

adiayuami
Автор

when I type number goes to Capital N Number

aljoory
Автор

can you reverse number without any loop

neelraval
Автор

I've been researching into reverse phone lookups and discovered an awesome resource at Reverse Phone Tactic (google it if you are interested)

humdrumlife
Автор

its just a simple program man how come u made it that difficult computer guy

syedriyaz
Автор

those who are not getting the accent ...

go somewhere else
you guys are freaking out of your mind

pixrun
visit shbcf.ru