joshuahappie
Honorary Poster
- Joined
- Apr 15, 2017
- Posts
- 415
- Reaction
- 95
- Points
- 196
Guys pa help hihi.. may pinagagawa lang sa kapatid ko sa C# paano kaya ito
Create a console application that accepts a string of numbers separated by spaces. The program will output back all the numbers without duplicates. The output can be in any order as long as no duplicates are present.
Sample runs:
Input: 1 7 2 2
Output: 1 7 2
Input: 2
Output: 2
Input: 2 2 2 2
Output: 2
Input: 2 3
Output: 2 3
Input: 2 5 2 0 8 2 0
Output: 2 5 0 8
Send help po haha sa C# po yan
Create a console application that accepts a string of numbers separated by spaces. The program will output back all the numbers without duplicates. The output can be in any order as long as no duplicates are present.
Sample runs:
Input: 1 7 2 2
Output: 1 7 2
Input: 2
Output: 2
Input: 2 2 2 2
Output: 2
Input: 2 3
Output: 2 3
Input: 2 5 2 0 8 2 0
Output: 2 5 0 8
Send help po haha sa C# po yan