please answer it correctly
I will mark you as brainlist
Please answer it very fast
Attachments:
Punithaaswath:
Ya neenga tamila
Answers
Answered by
0
Program for factorial of a number
Factorial of a non-negative integer, is multiplication of all integers smaller than or equal to n. For example factorial of 6 is 6*5*4*3*2*1 which is 720.
Recursive Solution:
Factorial can be calculated using following recursive formula.
n! = n * (n-1)!
n! = 1 if n = 0 or n = 1
PLZ MARK AS BRAINLEIST
Answered by
1
ʜᴇʏ ᴡᴀssᴜᴘ..
ᴡʜɪʟᴇ ᴅɪʟᴜᴛɪɴɢ ᴀɴ ᴀᴄɪᴅ, ɪᴛ ɪs ʀᴇᴄᴏᴍᴍᴇɴᴅᴇᴅ ᴛʜᴀᴛ ᴛʜᴇ ᴀᴄɪᴅ sʜᴏᴜʟᴅ ʙᴇ ᴀᴅᴅᴇᴅ ᴛᴏ ᴡᴀᴛᴇʀ ᴀɴᴅ ɴᴏᴛ ᴡᴀᴛᴇʀ ᴛᴏ ᴛʜᴇ ᴀᴄɪᴅ ʙᴇᴄᴀᴜsᴇ ɪғ ᴡᴀᴛᴇʀ ɪs ᴀᴅᴅᴇᴅ ᴛᴏ ᴄᴏɴᴄᴇɴᴛʀᴀᴛᴇᴅ ᴀᴄɪᴅ, ɪᴛ ʀᴇʟᴇᴀsᴇ ʜᴜɢᴇ ᴀᴍᴏᴜɴᴛ ᴏғ ʜᴇᴀᴛ ᴡʜɪᴄʜ ᴍᴀʏ ʀᴇsᴜʟᴛ ɪɴ ᴇxᴘʟᴏsɪᴏɴ ᴀɴᴅ ᴄᴀɴ ᴄᴀᴜsᴇ ᴀᴄɪᴅ ʙᴜʀɴs ᴏɴ ғᴀᴄᴇ, ᴄʟᴏᴛʜᴇs ᴀɴᴅ ʙᴏᴅʏ ᴘᴀʀᴛs. ʜᴇɴᴄᴇ ɪᴛ ɪs sᴀғᴇ ᴛᴏ ᴀᴅᴅ ᴀᴄɪᴅ ᴛᴏ ᴡᴀᴛᴇʀ ʙᴜᴛ ɴᴏᴛ ᴡᴀᴛᴇʀ ᴛᴏ ᴀᴄɪᴅ.
Similar questions