Computer Science, asked by tamizhvasanth2003, 16 hours ago

c program for array values - square of unit digit​

Answers

Answered by sahusanskar17
0

Explanation:

Input number N and fetch the unit digit of a given number and display the multiples of that number.

Input − N=326

Output − unit digit is 6 and its multiples are 2 and 3

Note − Unit digit of any number can be fetched by calculating the %10 with that number

For example − if your’re given with a number N and you need to find its unit digit that

you can use N%10 it will return you unit digit of number N

Similar questions