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

The primitive operation for adding the value of X to list L at position 1 is given as
Does anyone know how to write a code that allows the user enters a valid decimal value for the length.
A program is required for a computer game. The user keys in the number of rounds he wishes to play.
For each round the user enters his lucky number. The program takes the number and divides it with a
secret number. If the remainder of the division is zero, it is considered a draw for the round and the total
score is incriminated by 1. Otherwise if it is any other even number, it is considered a win for the round
and the total score is incremented by 3. However if it is an odd number, it is considered a loss for the
round and the total score is decremented by 3. This is done until he completes his rounds. He wins if the
total score at the end is a positive number. Write a C# program to accomplish this.
Creating a c# form for mobile calls. how to call a list to a listbox
Create a class Call, which contains information about a call made via mobile phone. This class should have the necessary members for the about date, time of start and duration of the call. Your application should have another class named CallRecord that inherits from the Call class. The CallRecord class should have necessary members, i.e. the callID, the receivers’ mobile network and the cost of the call.
Create a text file that contains the necessary data for a call record for at least five calls. When the application starts, it should read the data from the file and create a CallRecord object for each calls’ data. The CallRecord objects should be added to a List, and each call callID should be displayed in a list box on the application’s main form. When the user selects a callID from the list box, a second form should appear displaying that calls’ details individually using the relevant controls.
how would I use stream reader to read a text file from user input (which was stream writer)?
Which two way I can use to make a method return a int and string.
Why do we use protected keyword in a classes?
2. Write a program that computes a weighted average giving the following weights.
Homework: 10%
Projects: 35%
Quizzes: 10%
Exams: 30%
Final Exam: 15%
Do a compile-time initialization with the following values:Homework: 97; Projects: 82; Quizzes: 60; Exams: 75; Final Exam 80. Display all values, including the weights, appropriately labeled and formatted. Rerun the application with different values.
LATEST TUTORIALS
APPROVED BY CLIENTS