[solved] – Question 8815

Write a function calculateItemCost prototyped by

double calculateItemCost(double itemPrice, char discountType, unsigned quantity)

Expert Answer


[solved] – Question 8817

Write a function calculateItemCost prototyped by

double calculateItemCost(double itemPrice, char discountType, unsigned quantity);

so that the execution of this function will return the price for quantity number of the item priced originally at itemPrice each, and currently discounted according to discountType. For instance, calculateItemCost(10.90, ‘D’, 2) will return 17.44 because 17.44=10.9*0.8*2. Likewise calculateItemCost(5.50, ‘B’, 4) will return the value 19.8=5.50*0.9*4.

Expert Answer


[solved] – Question 88235

Write a program that accepts a time as an hour and minute. Add 15 minutes to the time, and output the result

Expert Answer


[solved] – Question 88299

State with reasons whether the following statements are True or False.
1) Compilers are higher language specific

Expert Answer


[solved] – Question 88327

There are ——— classes of the Pteridophytes
a 1
b 3
c 4
d 5

Expert Answer


[solved] – Question 8833

what is wrong with this function
def newSequence(ns, n, d):
nValue = 1
for a in ns:
ns[a] -= n*xValue**d
return ns;

compiler error message
line 3, in newSequence
for i in ns:
TypeError: ‘int’ object is not iterable

Expert Answer


[solved] – Question 88385

I need help creating a websocket api and rest api in aws gateway is there anyway i can get assistance

Expert Answer


[solved] – Question 88425

Write a program that takes input from user and prints “weird” if input is odd, “not weird” otherwise.

Expert Answer


[solved] – Question 88433

discuss possible ramifications of these opposing objectives on the project. what would you do if you were the manager?

Expert Answer


[solved] – Question 88468

Write a C program to check two given integers whether either of them is in the range 100..200 inclusive.

Expert Answer