+ 2
code couch
Can I insert one my solution here and ask what's wrong with my code? why not accepted while everything is correct and works.
10 Answers
+ 2
here this is my code
import java.util.Scanner;
public class Program
{
    public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int color = sc.nextInt();
    
    
    int base = 40;
    
    do{
        System.out.println(((color*5) + base) + ((color*5 + base)/10));
        sc.close();
        
        
    } while( color < color);   
    }
}
+ 2
it works the way the system want not accepted in test case 3 and 4
+ 2
no paint costs
+ 2
thanks anyway
+ 2
I FOUND THE ANSWER THANKS EVERYBODY đđ



