Answer:
The Java code for the problem is given below.
Your solution goes here is replaced/modified by the statement in bold font below
Explanation:
import java.util.Scanner;
public class NameSong {
public static void main(String[] args) {
Scanner scnr = new Scanner(System.in);
String userName;
String songVerse;
userName = scnr.nextLine();
userName = userName.substring(1);
songVerse = scnr.nextLine();
songVerse = songVerse.replace("(Name)", userName);
System.out.println(songVerse);
}
}
Answer:
Following are given instructions to design the required program:
- Get the Jackpot amount from user.
- Get the payment choice from user.
- If user enters, the amount to be cash:
=> calculate 65% of amount received instantly.
=> Calculate 30% tax amount.
- If user enters, installments:
=> Calculate 20 installments first.
=> Calculate 30% tax amount.
<h2>Source Code:</h2>
The source code of the program is displayed below in the image:
<h3>I hope it will help you!</h3><h3 />
Answer:
All except is used by professionals
Explanation: