Skip to content

Krishna-z2/Assignments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

First

Tasks That are Completed. <<<<<<< HEAD

c648b1ed6327d552242e7352f6d2caaf11bb78d3

Assignment-1

Calculator:

First taking input by creating 2 variables. Then, by using operands (+,-,*,/) and performing operations like Addition, Subtraction, Multiplication and Division.

Greetings:

First Taking input from user of their Firstname and Lastname. Then, Adding or Concatenate the Strings and decalring them between a personalized Greeting.

Assignment-2

If-Else:

First Taking input from the user and then checking whether the number is even or odd by using if-else condition that will tell whether the condition is True or False. If the condition is True of if it will print the if section otherwise it will print else section.

Loops:

We can use loops to performing a specific task again and again by declaring some codition or anything that the loop will follow. Here we sue loop for adding numbers from 1 to 50 that will give output. By creating a variable that is declared = 0. so, we can just add numbers into that variable.

About

Tasks That are Completed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages