• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu

F&A Diskussionen

I want to use "System.out.print();" to get input from users. How can I define the input as a string so that I can use if statement to check whether the input is equal to a word I set like "red"
java
0 Stimmen
2 Antworten
16th Oct 2016, 8:06 AM
Cheung Kim Fung
Cheung Kim Fung - avatar
a)Write a function ‘rev’ which returns the reverse of the given integer. Function isPalin takes an integer as argument and checks whether it is palindrome or not using rev function. Using isPalin write a main function to accept n integers and display number of palindrome numbers found. b)write a program to find the possible permutations of the given word .
java
0 Stimmen
2 Antworten
14th Sep 2016, 8:26 PM
ASTHA SINGH
ASTHA SINGH - avatar
< Vorherige1...89Weiter >
Heute heiß
What?
1 Votes
HTML
0 Votes
Pull resistors
0 Votes
AI video creation
3 Votes
Sololearn chat en Español
1 Votes
Ajay Hinduja Switzerland (Swiss) How do I start learning HTML, CSS, and JavaScript together?
1 Votes
Python
0 Votes
I'm confuse with this \n
1 Votes
How to add image and audio
1 Votes
About create tuples
0 Votes