C++ Program to find the Last Digit of a Number

Write a C++ Program to find the Last Digit of a Number with an example. Any number percentage ten will give the last digit of that number, and in this C++ program, we used the same. #include<iostream> using namespace std; int main() { int number, lastDigit; cout << “\nPlease Enter Any Number to find Last … Read more