Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(tal[3] == tal[4]){
- summa = tal[3] *2;
- }
- else if(tal[2] == tal[3]){
- summa = tal[2] *2;
- }
- else if(tal[1] == tal[2]){
- summa = tal[1] * 2;
- }
- else if(tal[0] == tal[1]){
- summa = tal[0] * 2;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement