Last active
March 27, 2018 06:56
-
-
Save prodeveloper/f12f08f23e33b6fff3ec530bcfeba0e4 to your computer and use it in GitHub Desktop.
End of semester challenge
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write a script that converts celsius to farnheit | |
The formula for doing so would be: | |
(°C × 9/5) + 32 = °F or in plain English, Multiple by 9, then divide by 5, then | |
add 32. | |
The script should take input from STDIN. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Define a class called Person which has at least two methods: | |
getName: to get a persons from console input | |
printName: to print the name in upper case. | |
Also please include simple test function to test the class methods. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write a program that requests for input from STDIN in a comma separated sequence | |
of words as input and prints the words in a comma-separated | |
sequence after sorting them alphabetically. | |
Suppose the following input is supplied to the program: | |
without,hello,bag,world | |
Then, the output should be: | |
bag,hello,without,world |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"Write a program that prints the numbers from 1 to 100. | |
But for multiples of three print “Fizz” instead of the number | |
and for the multiples of five print “Buzz”. | |
For numbers which are multiples of both three and five print “FizzBuzz”." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment