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

Write a program that requires you to calculate a shop’s total money in a specific register. All

the different notes should be added to calculate how much money is in the register. The coins

are added together manually and then added to the total. Required input values are:

o The amount of 10 rand notes.

o The amount of 20 rand notes.

o The amount of 50 rand notes.

o The amount of 100 rand notes.

o The amount of 200 rand notes.

o The total of the coins.

The output is the total cash in the register.


Create a windows application for a library which will request the user to input the number of books
checked out and the number of days they are overdue. Your program should then calculate and
displays the library fine, which is 20 cents per book per day for the first seven days a book is overdue,
then 50 cents per book per day for each additional day.
Create a Product-Inventory software (No need of user Input or any other
validations)
Product: (Override Equals or implement IEquatable<T>)
1. Id
2. Price
3. IsDefective
Inventory:
1. Dictionary containing all the products and their respective quantities in
the inventory
2. Total value of the inventory
Methods
1. Add Product
2. Remove Product
3. Update Product Quantity
On change of Product’s Price, Inventory total value should get updated. If a Product
becomes defective, remove it from the inventory. (Handle them through

Write a brief C# script that multiplies the number of recruits by 5 and stores it as the players score. The script should also deduct points when the number of recruits falls below 10 (assuming that the player is part of the team).


student scholarship code using delegates in c#
Use the following example to answer this question.

A customer received the following SMS on his mobile: Your payment of Rs.889.00 is successful on BSNL Portal. Ref Id: FCDR2510166695343.

The code (Print statement) that generated the above SMS is as follows:

print "Your payment of Rs." + BillAmount + is successful on BSNL Portal, Ref Id: " + ReferenceId +

A customer received the following SMS on his mobile:

We have received your order 0D407321268625838000 amounting to

Rs.4166 and it is being processed. You can expect delivery by Fri 14, Feb 2020. You can manage your order at http://fkrt.it/zzBolukluN. Thank you!

Write code (Print statement) that generates the above SMS:

Create an application which consist of following module:a.Signup Panel which consists of user required fields (username, password, Email,Address, phone).

b.After Signup user must login with Id and password while ID must be generated automatically when you signup and generate the unique id in database.

c.Email address must be valid by using email address pattern by Regex.

d.Phone number field must be numeric we cannot enter string in phone.

e.Username must contain characters.


Create a class Calculator having two integer data members and one string member i.e. operator. Class contains only one customized constructor which takes two arguments, set the default values 1 if no argument ispassed through the constructor. Class Calculator also contains a member function Calculate () that takes an operator (string) as an argument and compute it. Only four operators are allowed i.e. +, -, *, /


Create the classes required to store data regarding different types of Courses. All course shave name, duration and course fee. Some courses are part time where you have to storethe timing for course. Some courses are onsite where you have to store the companyname and the no. of candidates for the course. For onsite course we charge 10% more on the course fee. For part-time course, we offer 10% discount.Provide constructors and the following methods.Print() GetTotalFee()


  • Write a program that can be used to determine the winner of a local surfing competition. Your program must do the following:Make use of an array to store the points obtained by the competitor
  • When creating the array, use 10 as the maximum number of surfers in the competition
  • Prompts the user for the actual number of surfers in the competition, then uses getPoints to populate the array
  • Duplicate the array to have a copy to work on, but keep the original unchanged (use makeCopy to do this)
  • Determines the highest number of points by using build in array methods to sort the elements in the working copy of the array in descending order (uses getHighest to do this)
  • Displays the data

 




LATEST TUTORIALS
APPROVED BY CLIENTS