Skip to content

bindusrithati/assignment2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

#assignment2 task1

  1. Takes an integer input from the user.
  2. Checks whether the number is even or odd using an if-else statement.
  3. Displays the result accordingly.

#assignment2 task2

  1. Uses a for loop to iterate over numbers from 1 to 50.
  2. Calculates the sum of all integers in this range.
  3. Displays the final sum.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages