Answer: Result:Enter the number of quarters in the jar: 4
Enter the number of dimes in the jar: 5
Enter the number of nickels in the jar: 2
Enter the number of pennies in the jar: 5
Total value is 1 dollars and 65 cents
Explanation: import java.util.Scanner;public class Coins { public static void main(String[]args) { int quarters, dimes, nickels, pennies; int total;Scanner scan = new Scanner (System.in);System.out.print("Enter the number of quarters in the jar: "); quarters = scan.nextInt();System.out.print("Enter the number of dimes in the jar: ");dimes = scan.nextInt(); System.out.print("Enter the number of nickels in the jar: ");nickels= scan.nextInt(); System.out.print("Enter the number of pennies in the jar: ");pennies = scan.nextInt(); int total_cents = 25*quarters + dimes*10 + nickels*5 + pennies;total =total_cents/100;total_cents = total_cents %100;System.out.println("Total value is " + total + " dollars and " + total_cents + " cents ");}}
Result:Enter the number of quarters in the jar: 4
Enter the number of dimes in the jar: 5
Enter the number of nickels in the jar: 2
Enter the number of pennies in the jar: 5
Total value is 1 dollars and 65 cents
Answer:
QBasic consists of two windows: Program Window: The window titled as 'Untitled' is the program window. It is the place where program/code is written. Immediate Window: The window below Program Window titled as 'Immediate' is the immediate window.
Answer:
I would say if it is a multiple choice
Explanation:
q3 or q5 would be the best ones to pick from in my eyes.
A person responsible for running a business, organization, etc.
B. all of those.
just to clarify,
HDMI is the port for monitor and sound.
VGA is for video/monitor port
and display port.... I don't know, but it's a type of monitor port.