ANSWER IN SCANNER CLASS
Attachments:
riyajhurani12:
chp 5
Answers
Answered by
1
hey mate ur answer is....
hope it help u
hope it help u
Attachments:
Answered by
0
class Shares{
public static void main(String[] args) {
double share_want_to_accumlate=3000;
double nominal_value=10;
double annual_dividend=2000;
double dividend_percantge=10;
double no_of_shares=(annual_dividend*100)/(nominal_value*dividend_percantge);
double no_of_share_he_had_to_purchase=(3000-no_of_shares);
System.out.println("No.of share had to purchase:"+(int)no_of_share_he_had_to_purchase);
}
}
Similar questions