76 383
Assignments Done
Successfully Done
In May 2019

Answer to Question #23375 in C++ for Nain_952

Question #23375
write a program that inputs 3 digits nmbr and display its digit in separate three lines?
Expert's answer
#include <iostream>
using namespace std;
#include <string>
int main(){
cout<<"Enter three digits there:\n";
string a;
for (int i = 0 ; i < 3 ; i++){
cout<< a[i] << endl;
system ("pause");
return 0;

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