Computer Science, asked by dharsujash123, 3 months ago

WAP in java to find out the cost of Five book when 12 book cost is Rs. 1280.​

Answers

Answered by mittalanshikka
0

Answer:

533.34

Explanation:

class pjava

{

public void compute()

{

int c1=0;

int c5=0;

c1=1280/12;

c5=c1*5;

System.out.println(c5);

}//end of function

}//end of class

Similar questions