+ 1
Space between numbers
Sample input: 22 Sample output: 2 2
5 Answers
+ 3
Note that return type would be a string because of the spaces!
https://code.sololearn.com/c2qFDy0Jzqik/?ref=app
+ 1
//"\t" =tab creates space
#include <iostream>
using namespace std;
int main() {
int x=2;
int y=2;
cout<<x<<"\t"<<y;
}
+ 1
salamat :)
0
program should accept short value from 10 to 99 and display them per digit separated by space.
0
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.