Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Write a Scala program to convert temperature from celsius to kelvin #5560

Closed
harshraj8843 opened this issue Mar 22, 2024 · 4 comments · Fixed by #5586
Closed

Write a Scala program to convert temperature from celsius to kelvin #5560

harshraj8843 opened this issue Mar 22, 2024 · 4 comments · Fixed by #5586
Assignees
Labels
closed closed issues/PRs good first issue Good for newcomers program Scala scala related

Comments

@harshraj8843
Copy link
Contributor

Description

Write a Scala program to convert temperature from celsius to kelvin

Input  ( C ) : -40
Output ( K ) : 233.15

Contributed by - @magar51

How to contribute
  • Comment !assign to assign this issue to yourself
  • Fork this repository
  • Create a new branch
  • Save the solution in program/program/convert-temperature-from-celsius-to-kelvin/convertTemperatureFromCelsiusToKelvin.scala
  • Commit the changes
  • Create a pull request
@nine03
Copy link
Contributor

nine03 commented Mar 23, 2024

!assign

@David-FR
Copy link
Contributor

!assign

@codinasion-bot
Copy link

Hey @David-FR, this issue is already assigned to @nine03! cc/ @codinasion/codinasion

David-FR pushed a commit to David-FR/codinasion that referenced this issue Mar 25, 2024
David-FR pushed a commit to David-FR/codinasion that referenced this issue Mar 25, 2024
@nine03
Copy link
Contributor

nine03 commented Mar 25, 2024

I am working on this issue.

@codinasion-bot codinasion-bot bot added the closed closed issues/PRs label Mar 26, 2024
harshraj8843 added a commit that referenced this issue Mar 28, 2024
* Solves issue with swift not finding the largest two elements correctly

* Solves  #5560 Write a Scala program to convert temperature from celsius to kelvin

* Removes #5560 changes

* F# program to implement linear search (#5295)

---------

Co-authored-by: David Fernandez <david@Davids-MacBook-Pro.local>
Co-authored-by: Harsh Raj <harshraj8843@gmail.com>
RiteshK-611 pushed a commit that referenced this issue Apr 4, 2024
#5173  (#5606)

* Solves issue with swift not finding the largest two elements correctly

* Solves  #5560 Write a Scala program to convert temperature from celsius to kelvin

* Removes #5560 changes

* F# program to implement linear search (#5295)

* Solves 5173: Write a Haskell program to find the largest three elements in an array

---------

Co-authored-by: David Fernandez <david@Davids-MacBook-Pro.local>
Co-authored-by: Harsh Raj <harshraj8843@gmail.com>
Co-authored-by: Anandha Krishnan S <anandajith@gmail.com>
victoriacheng15 pushed a commit that referenced this issue Apr 8, 2024
* Solves issue with swift not finding the largest two elements correctly

* Solves  #5560 Write a Scala program to convert temperature from celsius to kelvin

* Removes #5560 changes

* F# program to implement linear search (#5295)

* Solves 5173: Write a Haskell program to find the largest three elements in an array

* Create implement_ternary_search.dart

This Dart program defines a function ternarySearch that implements the ternary search algorithm as described in your pseudocode. The main function demonstrates how to use ternarySearch by searching for the value 4 in the list [1, 2, 3, 4, 5]. The expected output is "Element found at index: 3" since the value 4 is located at the index 3 in the list (considering 0-based indexing).

---------

Co-authored-by: David Fernandez <david@Davids-MacBook-Pro.local>
Co-authored-by: Harsh Raj <harshraj8843@gmail.com>
Co-authored-by: Anandha Krishnan S <anandajith@gmail.com>
anandfresh added a commit that referenced this issue Apr 11, 2024
* Solves issue with swift not finding the largest two elements correctly

* Solves  #5560 Write a Scala program to convert temperature from celsius to kelvin

* Removes #5560 changes

* F# program to implement linear search (#5295)

* Solves 5173: Write a Haskell program to find the largest three elements in an array

* Create implement_ternary_search.hs

Defines a function 'ternarySearch' that implements the ternary search algorithm.

---------

Co-authored-by: David Fernandez <david@Davids-MacBook-Pro.local>
Co-authored-by: Harsh Raj <harshraj8843@gmail.com>
Co-authored-by: Anandha Krishnan S <anandajith@gmail.com>
Co-authored-by: Yuri Cunha <isyuricunha@duck.com>
RiteshK-611 added a commit that referenced this issue Apr 13, 2024
* Solves issue with swift not finding the largest two elements correctly

* Solves  #5560 Write a Scala program to convert temperature from celsius to kelvin

* Removes #5560 changes

* F# program to implement linear search (#5295)

* Solves 5173: Write a Haskell program to find the largest three elements in an array

* Create ConvertDecimalToHexadecimal.swift

Converts a decimal number to its hexadecimal representation.a

---------

Co-authored-by: David Fernandez <david@Davids-MacBook-Pro.local>
Co-authored-by: Harsh Raj <harshraj8843@gmail.com>
Co-authored-by: Anandha Krishnan S <anandajith@gmail.com>
Co-authored-by: Ritesh Kokam <61982298+RiteshK-611@users.noreply.github.com>
RiteshK-611 added a commit that referenced this issue Apr 15, 2024
* Solves issue with swift not finding the largest two elements correctly

* Solves  #5560 Write a Scala program to convert temperature from celsius to kelvin

* Removes #5560 changes

* F# program to implement linear search (#5295)

* Solves 5173: Write a Haskell program to find the largest three elements in an array

* Create implement-ternary-search.jl

Defines a function ternary_search that takes a sorted array and a value to search for within the array. It then applies the ternary search algorithm.

---------

Co-authored-by: David Fernandez <david@Davids-MacBook-Pro.local>
Co-authored-by: Harsh Raj <harshraj8843@gmail.com>
Co-authored-by: Anandha Krishnan S <anandajith@gmail.com>
Co-authored-by: Ritesh Kokam <61982298+RiteshK-611@users.noreply.github.com>
RiteshK-611 pushed a commit that referenced this issue Apr 23, 2024
* Solves issue with swift not finding the largest two elements correctly

* Solves  #5560 Write a Scala program to convert temperature from celsius to kelvin

* Removes #5560 changes

* F# program to implement linear search (#5295)

* Solves 5173: Write a Haskell program to find the largest three elements in an array

* Create FindTheAdjointOfAMatrix.swift

Defines helper functions to compute the determinant, cofactor, and transpose of a matrix.

---------

Co-authored-by: David Fernandez <david@Davids-MacBook-Pro.local>
Co-authored-by: Harsh Raj <harshraj8843@gmail.com>
Co-authored-by: Anandha Krishnan S <anandajith@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
closed closed issues/PRs good first issue Good for newcomers program Scala scala related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants