Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

24
LINES

< > BotCompany Repo | #1001191 // Images & pixels

Document

1  
**
2  
3  
An image has pixels.
4  
? What does an image have?
5  
! Pixels. | An image has pixels.
6  
7  
**
8  
9  
An image has a width.
10  
? What does an image have?
11  
! A width. | An image has a width.
12  
13  
**
14  
15  
An image has a height.
16  
? What does an image have?
17  
! A height. | An image has a height.
18  
19  
**
20  
21  
? How many pixels does an image of size 300*200 have?
22  
! 60000 | An image of size 300*200 has 60000 pixels.
23  
? How many pixels does an image of size 30*20 have?
24  
! 600 | An image of size 30*20 has 600 pixels.

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1001191
Snippet name: Images & pixels
Eternal ID of this version: #1001191/1
Text MD5: 5fb0624c9fc9b737a9013353d22328f4
Author: stefan
Category: logic examples
Type: Document
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-09-29 17:08:53
Source code size: 501 bytes / 24 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 538 / 363
Referenced in: [show references]