Answer:
Compare the prices of the two brands.
Explanation:
Price can be defined as the amount of money that is required to be paid by a buyer (customer) to a seller (producer) in order to acquire goods and services.
In sales and marketing, pricing of products is considered to be an essential element of a business firm's marketing mix because place, promotion and product largely depends on it.
One of the importance associated with the pricing of products is that, it improves the image of a business firm.
Hence, if you know the unit prices of two different brands of an item, you are better able to compare the prices of the two brands. Subsequently, the buyer would be able to easily make a decision on which brand's product to purchase.
Answer:
The vegetables should be named by it's specific name and it's planting method should be written down as well as the time it was planted. The Sr. No. should be there so the person can tell the difference between each plant.
Explanation:
Answer:
See Explanation
Explanation:
The lines with incorrect syntax and corrections are:
1.
Line:
usersChoice == Integer.parseInt(usersChoiceString);
Error
The error is that a relational operator (==) is used instead of an assignment operator (=)
Correction
usersChoice = Integer.parseInt(usersChoiceString);
2.
Line:
System.out.println("Fries with that?\n1 - Yes\n2 - No";
Error:
The line requires a corresponding close bracket
Correction
System.out.println("Fries with that?\n1 - Yes\n2 - No");
3.
Line:
usersChoiceString = input.next()
Error:
The line is not terminated
Correction:
usersChoiceString = input.next()
;
4.
Line
if (usersChoice = 1)
Error
A relational operator is needed
Correction:
if (usersChoice == 1)
Lastly, you need to initialize bill to a value or prompt user for input.
I've added the full source code as an attachment
Answer:
Following is the program in the python language
hr = input("input hours:") #Read input by user
h1 = float(hr)
rate =input("Input Rate:") #Read RATE BY USER
r1 = float(rate) #CONVERT INTO FLOAT
if h1 <= 40: #check condition
t=h1 * r1
print (t) #DISPLAY
else :#else block
t1=(40 * r1) + (h1 -40) * r1 * 1.5
print('The pay is :')
print(t1)#DISPLAY
Output:
input hours:45
Input Rate:10.50
The pay is :
498.75
Explanation:
Following are the description of program
- Read the value of hour in the "hr" variable and convert into the float value in the "h1" variable .
- Read the value of rate in the " rate" variable and convert into the float value in the "r1" variable .
- After that check the condition of hour if block if the hour is less then or equal to 40 then it multiplied h1 *t1 otherwise else block will be executed and print the value of pay .