0
I have written code for if ,i don't how to compile and run plz anyone suggest me I am using this app first time
plz tell me to run and compile in this app
9 odpowiedzi
0
Click RUN.
0
where I have to write my code in do it yourself or someother ,i clicked that one but it showing split output into separate line
0
Yeah, cause here you only get input once, at the beginning, and the user should split multiple inputs into multiple lines.
0
I guess you wanna run the cpp code which is published in your profile.
https://code.sololearn.com/c6dMkBtNTCOU/?ref=app
All you have to do is to open the code editor of this app and hit run.
Then it will ask you for two inputs with a popup (I'm using my phone, and I I don't know how pc version is, so this may differ) because you asked for that in your code. Those inputs are a and b, you have to write both of them in the popup, each one in a new line. Then this app will print everything.
Note that you didn't specified a new line before printing "a" in case its value is bigger than the value of "b", so it will be printed next to the "insert b value" sentence.
0
I specified \n is alternative to endl rt
0
Yes I saw, but you only did it at the beginning of both sentences, so, if a is 5 and b is 2, the app will print:
Insert a
Insert b5
To avoid this you have to add a new line (\n or endl) at the end of "insert b" or before printing "a"
0
could u tell me where actullay I have to write code I didn't get that one
0
You wrote your code here.
https://code.sololearn.com/c6dMkBtNTCOU/?ref=app
Open the link and hit run, then write in the pop-up the value of a and the value of b, each one in a new line.
This is how the pop-up looks to me
https://drive.google.com/file/d/1FoywHr9PHXC-M4TpmNooGaSiNDUNJLGS/view?usp=drivesdk
0
thank u so much