Answer:
Enter USD and select desired currency.
US Dollars (USD): 100.00
Select Currency: Canadian Dollar (CAN)
Canadian Dollar (CAN): 130.00
Explanation:
See full code attached.
Could you by any chance help me with my business work?! Please go to my profile and go to the questions that have the subject business!
My answer -
intrusion of rights, right of privacy, trespass
P.S
Happy to help you have an AWESOME!!! day ^-^
Answer:
Java program is explained below
Explanation:
import java.util.HashSet;
import java.util.Map;
import java.util.TreeMap;
public class TruckRace1 {
public static HashSet<String> getPIDs (Map<String,String>nameToPID ){
HashSet<String> pidSet = new HashSet<>();
for(String ids: nameToPID.values()){
pidSet.add(ids);
}
return pidSet;
}
public static void main(String[] args) {
Map<String,String> pids = new TreeMap<>();
pids.put("John","123");
pids.put("Jason","124");
pids.put("Peter","125");
pids.put("Alice","126");
pids.put("Peny","129");
HashSet<String> ids = getPIDs(pids);
for(String id:ids){
System.out.println(id);
}
}
}
The similarities are: in both programs you can type letters, insert images, hyperlinks.