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

User entered firstName at the start of the program. This part allows them to then search the name they entered, but it is case sensitive, so if I entered 'James' for the name and then search 'james', it doesn't display info. How do I fix please?

Console.Write("Search for a student: ");
string searchedName = Console.ReadLine();

for (int i = 0; i < studentSize; i++)
{
if (firstName[i].Contains(searchedName))
{
Console.WriteLine();
Console.WriteLine("Name: \t\t\t" + firstName[i] + " " + lastName[i] + "\n" + "Maths Mark: \t\t" + maths[i]
+ "\n" + "English Mark: \t\t" + english[i] + "\n" + "Science Mark: \t\t" + science[i] + "\n" + "Average Mark: \t\t" + average[i]);
}
}
Create a program to prompt a user to enter the names and grades for a class of students

No of students = 3, Taking Maths, English, Science

Output should be in the form: First name , Last name, Maths grade, English , Science

-calculate the average grade for each student and display if they have gained over 60%

-Modify the code to allow the user to decide the number of students to be entered.
-Add a search facility to display the grades for a specific student
-Add a search facility to find who got the highest grade in a specific subject
Create the pattern of a chess board that is 8 x 8. Use X and O to represent the squares.

Create the appropriate nested looping structure to output the characters in an 8 x 8 grid on the screen using Console.Write() or Console.WriteLine() as appropriate.
Include a decision structure to ensure that alternate rows start with opposite characters as a real chess board alternates the colors among rows.
This is what your output should look like.

XOXOXOXO
OXOXOXOX
XOXOXOXO
OXOXOXOX
XOXOXOXO
OXOXOXOX
XOXOXOXO
OXOXOXOX


Used a nested loop
Used a decision structure to flip row output
Output is correct per above image
Create an app that asks the user to enter a number that represents a month of the year and also asks them to enter a year. When entered, the app should then display the month and say if their chosen year is a leap year or not.

Example: If the user inputs the number 2, it should then Display February
i have to write a program that will output odd integers in the range 1 - 29 in c#
I need a piece of c# snippet explained

while (read_Email.Read())
{
email = read_Email.GetValue(i).ToString();
list_emails.Add(email);
i = i + 1 - 1;

}

what does the i = i + 1 - 1; mean? I know of +=, but i++,++i part is puzzling
Hi sir/ ma'am! Regarding to Visual C#, our instructor want our program to perform the action. Using multiple checkbox and display the assigned values (if more than one checkbox is checked) of the checkbox in a single textbox. What should i do?
Que)
Sahendrin Commercial Bank updates its customers’ accounts at the end of each month.
The bank offers two types of accounts: savings and current. Every customer must maintain a minimum balance, minimum balance for savings account is GHC 50.00 and current account is GHC 100.00. If a customer’s balance falls below the minimum balance, there is a service charge of GHC 10.00 for savings accounts and GHC 25.00 for current accounts.
If the balance at the end of the month is at least the minimum balance, the account receives interest as follows:
• Savings accounts receive 4% interest.
• Current accounts receive 5% interest.
Write a program that reads a customer’s account number (int type), account type, current balance. The program should then output the account number, account type, current balance, and an appropriate message.
Write a program in C++ to read an array of sorted integers. Search for a value using binary
search method. If the element is found, print its location else print element not found.
Computer Science 65
ii. Name the header file to which the following built in functions belong to :-
a) cos() b) strcpy()
ii. Difference between:-
a) Global and local variable
b) Call by value and Call by reference
A Milkman serves milk in packaged bottles of varied sizes. The possible size of the bottles are {1, 5, 7 and 10} litres. He wants to supply desired quantity using as less bottles as possible irrespective of the size. Your objective is to help him find the minimum number of bottles required to supply the given demand of milk.
LATEST TUTORIALS
APPROVED BY CLIENTS