Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
hamza shaheen Questions
5601 Questions
Write a Scala program to print "Hello, world" and version of the Scala language
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
228
Write a Scala program to compute the sum of the two given integer values. If the two values are the same, then return triples their sum
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
122
Write a Scala program to get the absolute difference between n and 51. If n is greater than 51 return triple the absolute difference
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
103
Write a Scala program to check two given integers, and return true if one of them is 30 or if their sum is 30
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
105
Write a Scala program to check a given integer and return true if it is within 20 of 100 or 300
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
126
Write a Scala program to create a new string where 'if' is added to the front of a given string. If the string already begins with 'if', return the string unchanged
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
136
Write a Scala program to remove the character in a given position of a given string. The given position will be in the range 0...string length -1 inclusive
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
134
Write a Scala program to exchange the first and last characters in a given string and return the new string
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
140
Write a Scala program to create a new string which is 4 copies of the 2 front characters of a given string.If the given string length is less than 2 return the original string
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
128
Write a Scala program to create a new string with the last char added at the front and back of a given string of length 1 or more
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
156
Write a Scala program to check whether a given positive number is a multiple of 3 or a multiple of 7
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
124
Write a Scala program to create a new string taking the first 3 characters of a given string and return the string with the 3 characters added at both the front and back
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
131
Write a Scala program to check whether one of the given temperatures is less than 0 and the other is greater than 100
Scala programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
125
Total:
5601
Previous
94
95
96
97
98
Next
Go