Homework Answers

Math 50414 50414
Physics 44332 44332
Chemistry 40988 40988
Economics 30643 30643

Questions: 207 418

Answers by our Experts: 207 418

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

(While loop structure)

Write a small program that displays a menu with the following options:


   A program that will calculate either the diameter, circumference, or area of a circle. Select your choice.

  1. Diameter
  2. Circumference
  3. Area 
  4. Quit

Use the switch statement. The program is to ask for the radius of a circle. Present the menu and execute the corresponding calculation.



(while loop structure)

Write a short program that asks for your height in integer inches and then converts your height to feet and inches. Use a const symbolic constant to represent the conversion factor (Inches per ft). The only way to exit the program would be for height in inches be 999.



A customer pays a monthly fee of $37.50 for the telephone service and $3.50 per minute for long distance calls. Input the number of minutes for long distance calls. Calculate the total bill. Print the results and ask again. The only way to exit the program would be for number of minutes is -1. (while loop structure)


Explain the difference between a community and a population.


A hog raiser is mixing two types of grains A and B. each units of grain A costs P50 and contains 20 grams of fat and 10 grams of protein. Each unit of grain B costs P80 and contains 30 grams of fat and 30 grams of proteins. The hog raise wants each units of the final product to yield at least 180 grams of fat and at least 120 grams of protein. How many units of each type of grain should he use to maximize his sales?


A veterinarian mixes two types of animal food: Food 1 and Food 2. Each unit of Food 1 cost P200 and contains 40 grams of fat, 30 grams of protein, and 1, 200 calories. Each unit of Food 2 cost P180 and contains 40 grams of fat, 60 grams of protein, and 1,600 calories. Suppose the veterinarian wants each unit of the final product to yield at least 360 grams of fat, at least 240 grams of protein and at least 9, 600 calories, how many grams of each of type of ingredients should the veterinarian use to minimize his cost?


RB Music Store assembles stereo equipment for resale in the shop. The store offers two products; two products; turntables and cassette players. The store makes a profit of P400 on each turntable and P250 on each cassette. Both must go through two steps-assembly and bench checking. A turntable takes qw hours to assemble and 4 hours to bench check. A cassette player takes 4 hours to assemble but 8 hours to bench check. Looking at this month’s schedule, the store sees that it has 60 assembly hours uncommitted and 40 hours bench-cutting time available. What combination of turntables and cassette players would maximize the store’s profit for the month?


If the demand and supply curve for T-Shirts at Nagindas Store are:





D = 100 - 6P, S = 28 + 3P





Where P is the price of T-Shirts in dollars ($), what is the quantity of T-Shirt bought and sold at





equilibrium?





Q

3.“OptionA” Method 

Create a method called “OptionA” that will print the conversion from pounds to kilograms by calling “PoundsToKilograms” method (defined in the item #4 below) starting at 200 pounds down to 50 pounds in decrements of 5. Show the result on a table in the console. 

4. “PoundsToKilograms” Method 

Create a method called “PoundsToKilograms” 

  • Name: PoundsToKilograms 
  • Parameter: A double representing the pounds 
  • Returns: A double representing the kilograms converted from pounds parameter 
  • Displays: Nothing 
  • Task: Calculates the conversion from pounds to kilograms. The converted kilogram is the returned value from the method. 

1. The average number of milligrams (mg) of cholesterol in a cup of a certain brand of ice cream is





660 mg, the standard deviation is 35 mg. Assume the variable is normally distributed. a. If a cup of





ice cream is selected, what is the probability that the cholesterol content will be more than 670 mg?

LATEST TUTORIALS
APPROVED BY CLIENTS