Questions: 1 362

Answers by our Experts: 1 362

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

Create a new project, and name it P2T1 Write a program that requests from a user the number of pies (at R18.50 per pie) and the number of hamburgers (at R35.00 per hamburger), and then calculates the total for the order. Now extend this program to request the amount paid by the user, before calculating and displaying the change that needs to be paid out. Ensure that your monetary amounts are displayed with the R currency sign. Your running program could resemble the following:


Create a console program that will perform the following:


• Ask the user to enter the pieces of apple.


• Ask the user to enter the total price of the apple(s).


• Print the total price of the entered pieces of apple(s).


• Convert the entered price into a whole number, then display the values of the original


price and the converted price.


2. Name the project as DataTypesApp and the class as DataTypesProgram

Make a program where it is asked from user to enter an amount, you have to answer how much annual tax to be paid on that amount. annual tax is 5.2% of total amount

Enter two numbers then using user-defined functions, compute its sum, difference, product and quotient.

Problem Statement:



Jack and his three friends have decided to go for a trip by sharing the expenses of the



fuel equally. Implement a C# method Calculate CostPerPerson(double mileage,



double amountPerLitre, int distanceOne Way) which returns the amount (in Rs) each



of them need to put in for the complete (both to and fro) journey.

Create a method that determines whether a string is a valid hex

code. A hex code must begin with a pound key # and is exactly 6

characters in length. Each character must be a digit from [0-9] or

an alphabetic character from A-F . All alphabetic characters may

be uppercase or lowercase.


Implement a c# method CalculateCourseFee(double courseFee, double marks, double serviceFee) to calculate the total fees to be paid by a student.



The students are entitled to get scholarship based on the marks scored in the qualifying exam. Scholarship percentage should be considered as half of the marks scored by the student on the course fee. Apart from the course fee(after deducting the scholarship amount), the students have to pay extra service fees.



Assume that the marks is out of 100 and need not always be integer.

what is algorithm

how the debugging process can be used to help develop more secure, robust applications.

Write a program in C# to show percentage of class attended and Is student is allowed to sit in exam or not.


LATEST TUTORIALS
APPROVED BY CLIENTS