77 922
Assignments Done
Successfully Done
In August 2019

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!


No comments. Be first!

Leave a comment

Ask Your question

Privacy policy Terms and Conditions