62 568
Assignments Done
99%
Successfully Done
In June 2018

Answer to Question #6846 in C++ for Lali

Question #6846
C++ code that input an integer and display last digit of the integer
Expert's answer
#include <iostream>




using namespace std;




void main()

{

int num, res;

cout << "Enter the integer: ";

cin >> num;

res = num;

cout << res << endl;

}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions