Input problem to view output for someone's code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Input problem to view output for someone's code

When I tried to get output it is showing you should enter your input and what input should I enter for someone's code to get output?

24th Feb 2024, 2:11 PM
K VENKATESH
K VENKATESH - avatar
10 Answers
+ 3
Hi K VENKATESH Basically for that you have to understand what input the code will take by going through the code or comment made by author of that code if any at the beginning . If you are able to understand what input(s) the code will require but not able to get the Sololearn input process you can execute the below code to understand. https://sololearn.com/compiler-playground/WhiNb9BkJUVC/?ref=app Also if possible you can share that code here if you are still facing issue.
24th Feb 2024, 2:31 PM
𝘕𝘉
𝘕𝘉 - avatar
+ 3
Writing code is easier than reading code. Try reading codes you wrote a long time ago. It's even harder to understand codes written by others. That's why putting comments is important. Writing a docstring at the top of your code is another thing that is often neglected. Without these, reading code is a mostly skill issue. Or maybe you can feed it to AI and get it to explain the code for you.
24th Feb 2024, 10:58 PM
Bob_Li
Bob_Li - avatar
+ 1
Are you able to understand what input the code will take and familiar with the input process of the programming language the code uses Attach the code please
24th Feb 2024, 2:49 PM
𝘕𝘉
𝘕𝘉 - avatar
+ 1
Basically here we have to enter any word as input. We will get the word back as output with removed vowels . At first we have to input how many words we want to enter. and then enter the words in input console in new lines For eg 2 Sololearn Hello Output Sllrn Hll
24th Feb 2024, 3:07 PM
𝘕𝘉
𝘕𝘉 - avatar
0
Bro I didn't understand it bro
24th Feb 2024, 2:40 PM
K VENKATESH
K VENKATESH - avatar
0
https://sololearn.com/compiler-playground/ct9GdgvVU4aX/?ref=app bro can u explain the input process for this code
24th Feb 2024, 2:56 PM
K VENKATESH
K VENKATESH - avatar
0
Tq bro
24th Feb 2024, 3:08 PM
K VENKATESH
K VENKATESH - avatar
0
Welcome bro. You can go through Java courses here in Learn Section to understand Java code much better
24th Feb 2024, 3:12 PM
𝘕𝘉
𝘕𝘉 - avatar
0
Bro, Now iam pursuing my btech 3rd year,to get good placement what courses should I learn?please tell me br0
24th Feb 2024, 3:13 PM
K VENKATESH
K VENKATESH - avatar
0
I am no expert to give advice but in my opinion if you are targeting service based company you have to be good in any one of the programming language,go through frequently asked programming questions and coding questions asked in interview,learn at least one of the CSE subjects(DBMS,OS ,Networking etc),make a project and add it in your resume.
24th Feb 2024, 3:44 PM
𝘕𝘉
𝘕𝘉 - avatar