C# Answers

Questions answered by 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

Worker A can do a job in 15 days while worker B can do the same job in 20 days. Write a program to calculate the total number of days required to finish the work if both the workers work simultaneously.
Using C# Console Application , How do you assign a symbol from A to F depending on their average
A>=80 & 100
B>=70 & 79
C>=60 & 69
D>=50 & 59
E>= 40& 49
F<40
Worker A can do a job in 15 days while worker B can do the same job in 20 days. Write a
program to calculate the total number of days required to finish the work if both the workers work
simultaneously.
Dwayne often needs to calculate the amount of Emulated Monthly Installment (EMI) that needs to be charged from a particular person. The EMI is calculated according to the following formula:

EMI = Principal loan amount×Rate of interest×(1 + Rate of interest)Tenure of loan in months/((1 + Rate of interest)Tenure of loan in months - 1)

The rate of interest is calculated on a monthly basis. For example, if the rate of interest is 12 % per annum, it is calculated as (12/100)/12.

Dwayne manually calculates the interest rate using a calculator. However, he often commits mistakes in calculating the interest due to the complex formula. Therefore, he asks Elina to build an application that accepts the principal loan amount, rate of interest, and tenure of the loan and calculates the EMI amount. Write the code that Elina should implement to create the application.
Which features of C# will allow to reuse the existing application code? Describe in
brief. Define an interface. Briefly describe the benefits of using interfaces.
Write a program to sort an array of numbers using Merge Sort in C#
why are interfaces used in c#?
Describe the different methods of the classes that Elina would be using to implement file input
and output operations in the application
Write a program to sort an array of numbers using Merge Sort.
Marking Scheme
Description of the algorithm
Pseudo code
C# code
Indentation in the code
Comments in the code Presentation
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
Write a program to take a positive number n as an input and find the nth prime number. For example, if the user enters 20, the output should be 71 (20th prime number).
Marking Scheme
Writing down how your program will solve the task
Pseudo code
C# code
Indentation in the code
Comments in the code
Presentation
LATEST TUTORIALS
APPROVED BY CLIENTS