double wholeCost = kb.nextDouble();
	double markupPercent = kb.nextDouble();
	double markup = markupPercent/100.0; 
	double retailT = calculateRetail(wholeCost, markup);
	System.out.println(retailT);
	
	public static double calculateRetail(double num1, double num2){
		double markupPrice = ((num1 * num2)+ num1);
		return markupPrice;}

i've been staring at this and can't figure what is wrong with it. the compiler keeps giving me an error at the "public static double calculateRetail(double num1, double num2){"

nevermind, i just missed a curly brace -_-

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.