Skip to content

Homework 5#6

Open
prashant1shukla wants to merge 6 commits intomainfrom
Homework-5
Open

Homework 5#6
prashant1shukla wants to merge 6 commits intomainfrom
Homework-5

Conversation

@prashant1shukla
Copy link
Owner

image

using System.Collections.Generic;
using System.Linq;

class Program
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow basic git rules. hw5 branch should have only hw5 code.

//sum of all elements in the filtered list
int sumOfEvenNumbers = evenNumbers.Sum();

Console.WriteLine("Original List:");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could have made case statements to make code more interactive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants