Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is for the C# language You are given two parameters a list of ints called items and a single int called amount. You will

This is for the C# language

You are given two parameters a list of ints called items and a single int called amount. You will iterate through items and remove any element of the list that is less than or equal to the amount

public void Test5(List items, int amount)

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

bool Test1(int number)

Given an integer, determine if it is a prime number or not. If prime, return True otherwise, return False.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

bool Test2 (string word)

Given a string(Word), determine if it is a palindrome or not.

Example Input: Racecar

Example Output: True

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

int Test4( int[,] matrix)

for this test you are givven a 2D array called matrix

iterate through the entire 2D matrix and count the number of 0's

once you have counted all the 0's in the 2D array, return the number

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database Foundations Technology Fundamentals For IT Success

Authors: Bob Bryla

1st Edition

0782143725, 9780782143720

More Books

Students also viewed these Databases questions

Question

Explain the function and purpose of the Job Level Table.

Answered: 1 week ago