An electronics company sells circuit boards at a 40 percent profit. If you know the retail price
Question:
An electronics company sells circuit boards at a 40 percent profit. If you know the retail price of a circuit board, you can calculate its profit with the following formula:
Profit = Retail price × 0.4
Write a program that asks the user for the retail price of a circuit board, calculates the amount of profit earned for that product, and displays the results on the screen.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 72% (11 reviews)
import javautil import javalang import javatextDecimalFormat class Calculate public st...View the full answer
Answered By
Marvine Ekina
Marvine Ekina
Dedicated and experienced Academic Tutor with a proven track record for helping students to improve their academic performance. Adept at evaluating students and creating learning plans based on their strengths and weaknesses. Bringing forth a devotion to education and helping others to achieve their academic and life goals.
PERSONAL INFORMATION
Address: , ,
Nationality:
Driving License:
Hobbies: reading
SKILLS
????? Problem Solving Skills
????? Predictive Modeling
????? Customer Service Skills
????? Creative Problem Solving Skills
????? Strong Analytical Skills
????? Project Management Skills
????? Multitasking Skills
????? Leadership Skills
????? Curriculum Development
????? Excellent Communication Skills
????? SAT Prep
????? Knowledge of Educational Philosophies
????? Informal and Formal Assessments
0.00
0 Reviews
10+ Question Solved
Related Book For
Starting Out With Java From Control Structures Through Data Structures
ISBN: 9780133957051
6th Edition
Authors: Tony Gaddis
Question Posted:
Students also viewed these Computer science questions
-
Write a program that asks the user for a positive integer no greater than 15. The program should then display a square on the screen using the character X. The number entered by the user will be the...
-
Write a program that asks a user for their name and birthday (formatted as an 8 digit number). From the birthday, you will write functions that calculates their age and figures out their zodiac sign....
-
Write a program that asks the user for a positive nonzero integer value. The program should use a loop to get the sum of all the integers from 1 up to the number entered. For example, if the user...
-
If = f() but the iteration x n+1 = f (x n ) fails to converge to the root a, under what condition on f(x) will the iteration x n+1 = f 1 (x n ) converge?
-
Tables of materials properties list density, in units of kg/m3, when the international system of units (SI) is used and list specific weight, in units of lb/in3, when the U.S. customary system of...
-
The probability of making a Type I error when using the .01 criterion of significance is lower than when using the .05 criterion of significance. Why, then, don't researchers always use the .01...
-
Use information from Section 6.7 to estimate which form of electromagnetic radiation is the lowest energy ionizing radiation. Data from section 6.7 When we first introduced the concept of the...
-
Piscataway Plastics Company manufactures a highly specialized plastic that is used extensively in the automobile industry. The following data have been compiled for the month of June. Conversion...
-
A student performs a double-slit experiment using two slits spaced 0.20 mm apart and located 1.50 m from the screen. The monochromatic light source creates an interference pattern in which the...
-
Given: E(R1) = 0:10 E(R2) = 0:15 E(1) = 0:03 E(2) = 0:05 Calculate the expected returns and expected standard deviations of a two-stock portfolio in which Stock 1 has a weight of 60 percent under the...
-
Which of the following are illegal variable names and why? x 99bottles july97 theSalesFigureForFiscalYear98 r&d grade_report
-
Briefly describe what programming style means. Why should your programming style be consistent?
-
Find the fractions equal to the given decimals. 0.363363 . . .
-
A moving object is slowed by air resistance so that its velocity decreases exponentially with time. It is found that the initial velocity is 26.5 m/s and the initial acceleration is-2.04 m/s. Answer...
-
An object with a constant acceleration has an initial velocity of 36 m/s east. After 10 s, the object has a final velocity of 53 m/s southwest. A) Calculate the components of the acceleration vector....
-
A radar signal detects a cruise boat 1 0 km due east of your position, traveling northward at 2 5 km / h . Your speedboat can go 3 5 km / h . a . In what direction should you head to intercept the...
-
Find the value of each limit. For a limit that does not exist, state why. 1. lim 3x (2x-1) 3. lim (x-6) x-2 5. lim 2 tan 02 7. lim x-1 x1x-1 2. lim x+2x-3x+3 *--1 4. lim ** x-2 x 45 46 x+2 6. lim....
-
The boat is heading due north as it crosses a wide river with a velocity of 1 5 . 0 km / h relative to the water. The river has a uniform velocity of 4 . 6 0 km / h due east. Determine the velocity...
-
A manufacturer of automobile shock absorbers was interested in comparing the durability of its shocks with that of the shocks produced by its biggest competitor. To make the comparison, one of the...
-
Wholesalers Ltd. deals in the sale of foodstuffs to retailers. Owing to economic depression, the firm intends to relax its credit policy to boost productivity and sales. The firms current credit...
-
Write a program that asks the user to enter a number of seconds. There are 60 seconds in a minute. If the number of seconds entered by the user is greater than or equal to 60, the program should...
-
Scientists measure an objects mass in kilograms and its weight in Newtons. If you know the amount of mass that an object has, you can calculate its weight, in Newtons, with the following formula:...
-
Scientists measure an objects mass in kilograms and its weight in Newtons. If you know the amount of mass that an object has, you can calculate its weight, in Newtons, with the following formula:...
-
A Centralized EMPI system that is connected to the registration screen that you designed in Week 3 Assignment. A Diagnoses Record Screen (a new screen for the Emergency department- so now the...
-
Review the reasons vision can fail from your Text. Then consider the organization in which you work, a previous organization in which you worked, or one in which you might want to work someday. Share...
-
CA Co limited is a Zambia business evaluating three different investments (A,B and C) one of which is a foreign investment with dollar cash flows. Project A (foreign project with foreign cash flows...
Study smarter with the SolutionInn App