Maths Tutorials ForQBASIC - PowerPoint PPT Presentation

About This Presentation
Title:

Maths Tutorials ForQBASIC

Description:

Paxi Halxu hai – PowerPoint PPT presentation

Number of Views:1
Slides: 11
Provided by: nisaan
Category:

less

Transcript and Presenter's Notes

Title: Maths Tutorials ForQBASIC


1
451 MOD 2
154 MOD 2
1 MOD 2
2 MOD 2
156578 MOD 2
48541 MOD 2
13547 MOD 2
65468 MOD 2
4897 MOD 2
1687 MOD 2
2
465 / 10
4684 / 10
89745 / 10
7841 / 10
45 / 10
5465 / 10
564 / 10
465 / 10
468545 / 10
165547 / 10
Actual Division (/)
3
125 MOD 10
627 MOD 10
438 MOD 10
584 MOD 10
12 MOD 10
5 MOD 10
61 MOD 10
789851 MOD 10
238741 MOD 10
46845 MOD 10
REMINDER Division (MOD)
4
15647 \ 10
465 \ 10
4851 \ 10
9 \ 10
485\ 10
32 \ 10
2115 \ 10
481 \ 10
545 \ 10
48 \ 10
INTEGER Division (/)
5
KEEPING THINGS TOGETHER
  • Let a5, and b 6 then, compute value for each
    steps
  • s a b
  • x s 3
  • m a MOD 10
  • w s \ 10
  • s s x

6
FINDING SUM OF DIGITs
Question Let N 345, we want to find sum..
i.e. 543
  • --------Do these things---------
  • R N MOD 10
  • S S R
  • N N \ 10
  • ---Repeat above things until N reaches zero-----
  • S is our Final Answer

7
FINDING PRODUCT OF DIGIT
Question Let N 345, we want to find product..
i.e. 543
  • S 1
  • --------Do these things---------
  • R N MOD 10
  • S S R
  • N N \ 10
  • ---Repeat above things until N reaches zero-----
  • S is our Final Answer

8
FINDING REVERSE OF DIGIT
Question Let N 345, we want to reverse it..
i.e. 543
  • --------Do these things---------
  • R N MOD 10
  • S S R
  • N N \ 10
  • ---Repeat above things until N reaches zero-----
  • S is our Final Answer

9
(No Transcript)
10
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com