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

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

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