#C #CTUTORIAL #MODULUS #CPROGRAMTOFINDMODULUS #FINDMODULUS #CPROGRAM_TO_FIND_MODULUS_OF_TWO_NUMBERS #REMAINDER #MODULODIVISION #PERCENTAGESYMBOL #CLANGUAGE #CPROGRAM #CPROGRAMMING #youtubechannel #youtube #youtuber #youtubers #subscribe #youtubevideos #sub #youtubevideo #like #instagram #programming #coding #programmer #python #developer #technology #code #coder #computerscience #tech #software #codinglife #linux #softwaredeveloper #programmingmemes #programmers #programminglife #hacking #machinelearning #php #computer #softwareengineer #bhfyp
Welcome to my channel Prince of Programming👨🎓
/ @princeofprogramming
This tutorial will give you a full introduction into the
C PROGRAM TO FIND MODULUS OF TWO NUMBERS
• C PROGRAM TO FIND MODULUS OF TWO NUMBERS
Give this video a thumps up👍
Share & subscribe for more videos😏
Show your support to recover the channel❤
Click the bell icon to get notified for new videos🔔
Feel free to drop your doubts in the comment section📗
TOPIC - C PROGRAM TO FIND MODULUS OF TWO NUMBERS
• C PROGRAM TO FIND MODULUS OF TWO NUMBERS
*) The arithmetic modulus operator [percentage %] divides left hand operand by right hand operand and gives the remainder.
*) Example : left hand operand % right hand operand
Left hand operand is also known as DIVIDEND
Right hand operand is also known as DIVISOR
*) This program needs two integer input variables for dividend, divisor and one output variable for remainder.
*) In this example, the user is asked to enter the dividend and divisor using printf( ) function.
*) Then we need a scanf( ) statement to read the two integers from the keyboard and stored in variables dividend and divisor respectively using scanf( ) function.
*) These two numbers are divided using the arithmetic modulus operator percentage % and the result is stored in the variable remainder.
*) Finally, the printf( ) function is used to display the result of modulus of two numbers to the screen.