Physics, asked by shashi007, 1 year ago

9.WAP to calculate the scholarship earned by Sathak who gets Rs. 800 per month for 5 years IN JAVA ONLY.

Answers

Answered by digi18
33
public class Earn{

public static void main (String [ ] args){

int i = 800;
long total;

total = 800 * 12 * 5;

System.out.println ("Sathak earned: " +total);
System.out.println ("Plz mark brainliest");
}

}

OUTPUT

Sathak earned : 48000

Plz mark brainliest


Thanks
Answered by abhishek2679
23

Please mark it as brainliest.

Attachments:
Similar questions