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)


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. 


 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. 


Create a SavingsAccount class. Use a static data member annualInterestRate

to store the annual interest rate for each of the savers. Each member of the class

contains a private data member savingsBalance indicating the amount the saver

currently has on deposit. Provide member function calculateMonthlyInterest

that calculates the monthly interest by multiplying the balance by

annualInterestRate divided by 12; this interest should be added to

savingsBalance. Provide a static member function modifyInterestRate that sets

the static annualInterestRate to a new value. Write a driver program to test

class SavingsAccount. Instantiate two different objects of class SavingsAccount,

saver1 and saver2, with balances of $2000.00 and $3000.00, respectively. Set

the annualInterestRate to 3 percent. Then calculate the monthly interest and

print the new balances for each of the savers. Then set the annualInterestRate to

4 percent, calculate the next month's interest and print the new balances for

each of the savers.


Write a program to determine if the given grade is within the range of 1.00 to 5.00


1 Overview In this program, you will solve a maze. You will read the map up from a file, build a tree to represent the maze, and then search through the tree, to find a path from the start to the end. Name your program maze_solver.py






1.1 Dump Points Solving the maze takes several steps, so I've broken it into smaller pieces. For each piece, I've added a "dump" option - if I ask for that particular dump, then you will stop the algorithm at that point, print out what you have so far, and then terminate the program. I've done this for two reasons. First, I hope that it will help guide you through the solution - since each step will be relatively small. Second, if you complete only part of the algorithm but not all of it, you can still get partial credit, because we'll have testcases that will stop you, and check your code, at various points in the process. (Yes, this reduces your flexibility, and locks you into an algorithm




Check comments for complete questions

Write a script called Student.sh that will accept the following student details: studentID, StudentName, ContactNo and Email. The program should add records to a file called Student_Details.txt under each heading, at the end of each record the program should prompt you if you want to add more records and if yes it should allow you to continue adding the records.


Write a shell script called Grading.sh that will accept StudentID and Grade and the student are graded using the following grading criteria: 80 and above, Destination, 79-60, Merit, 59 -50, Pass, 49-40, Supplement and 39 and below, Fail. The program should add the records to a file called StudentGrades.txt.


LATEST TUTORIALS
APPROVED BY CLIENTS