1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

1 - first program by using a third variable

2 - second program without using any third variable

( Swapping means interchanging the values of the two variables E.g.- If entered value of x is 5 and y is 10 then after swapping the value of x and y should become 10 and 5 respectively.)

11.

12.

13.

E.g.- NUMBER : 12345 OUTPUT : 1+4=5

14.

For example, if the number which was taken is 5696, then the displayed number should be 7818.

15.

Number : 132 Output : 6

16.

Recent Posts

7 Critical Tips to Learn Programming Faster

Beginning with ML 2.0: Multivariate Linear Regression

Beginning with Machine Learning: Linear Regression

Scrolling Progress Indicator