Numerical variables and arithmetic operations

 

Domain (Arithmetic)

Components:-

 

Sum two numbers:-

 

 

Example – Screen Shots:-

 

Domain (Variables) – Component (Assignment)

 

Interaction Page

Interaction Page

 

Component (Arithmetic) – Component (Sum two numbers)

Interaction Page

 

Interaction Page

 

Steps Tree

 

 

The final application

 

Subtract

 

 

Screen shots

 

 

Domain (Arithmetic) – Component (Subtract)

Interaction Page

 

Final Steps Tree

 

The Final Program

 

 

Multiplication

 

 

Screen shots

 

Domain (Arithmetic) – Component (Multiplication)

 

Interaction Page

The Final Steps Tree

 

The Final Application

 

Division

 

 

Example - Screen shots:-

 

Domain (Arithmetic) – Component (Division)

 

Interaction Page

 

Final Steps Tree

 

The final application

 

Square root

 

 

Example - Screen shots:-

 

Domain (Arithmetic) Component (Square root)

 

Interaction Page

 

Final Steps Tree

 

Final Application

 

Numeric value to an integer

 

 

Example - Screen shots:-

 

Domain (Arithmetic) – Component (Numeric value to an integer)

 

Interaction Page

 

Steps Tree

 

The Final Application

 

Round

 

 

Example - Screen shots:-

 

 

Domain (Arithmetic) – Component (Round)

 

Interaction Page

 

Final Steps Tree

 

Final application

 

 

Modulus (%)

 

 

Example - Screen shots:-

 

 

Domain (Arithmetic) – Component (Modulus)

 

Interaction Page

 

Steps Tree

 

The Final Application

 

 

Generate random number

 

 

Example - Screen shots:-

 

Domain (Arithmetic) – Component (Generate Random Number)

 

Interaction Page

 

Final Steps Tree

 

The Final Application