6 Answers
New AnswerNote that return type would be a string because of the spaces! https://code.sololearn.com/c2qFDy0Jzqik/?ref=app
//"\t" =tab creates space #include <iostream> using namespace std; int main() { int x=2; int y=2; cout<<x<<"\t"<<y; }
program should accept short value from 10 to 99 and display them per digit separated by space.
Jomari Pantorilla I’ve tried to create my own code I’ve got some error to my VisualStudio. the error message was ”The preLaundTask ’C:/mingw/bin/g++.exe ’terminated with exit code1” I’ve tried to load your code I’ve encountered the same problem.
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message