Computer Science, asked by RISHI3013, 10 months ago

What do you mean by a function? Give one example.

Answers

Answered by Anonymous
4

Answer:

ᴀ ғᴜɴᴄᴛɪᴏɴ ɪs ᴀ ᴍᴀᴘᴘɪɴɢ ғʀᴏᴍ ᴀ sᴇᴛ ᴏғ ɪɴᴘᴜᴛs (ᴛʜᴇ ᴅᴏᴍᴀɪɴ) ᴛᴏ ᴀ sᴇᴛ ᴏғ ᴘᴏssɪʙʟᴇ ᴏᴜᴛᴘᴜᴛs (ᴛʜᴇ ᴄᴏᴅᴏᴍᴀɪɴ). ᴛʜᴇ ᴅᴇғɪɴɪᴛɪᴏɴ ᴏғ ᴀ ғᴜɴᴄᴛɪᴏɴ ɪs ʙᴀsᴇᴅ ᴏɴ ᴀ sᴇᴛ ᴏғ ᴏʀᴅᴇʀᴇᴅ ᴘᴀɪʀs, ᴡʜᴇʀᴇ ᴛʜᴇ ғɪʀsᴛ ᴇʟᴇᴍᴇɴᴛ ɪɴ ᴇᴀᴄʜ ᴘᴀɪʀ ɪs ғʀᴏᴍ ᴛʜᴇ ᴅᴏᴍᴀɪɴ ᴀɴᴅ ᴛʜᴇ sᴇᴄᴏɴᴅ ɪs ғʀᴏᴍ ᴛʜᴇ ᴄᴏᴅᴏᴍᴀɪɴ.

be brainly✔

Similar questions