Skip to content

Razan Alkhateeb - part1 Task#12

Open
Rznalkh wants to merge 1 commit into
JoinCODED:mainfrom
Rznalkh:main
Open

Razan Alkhateeb - part1 Task#12
Rznalkh wants to merge 1 commit into
JoinCODED:mainfrom
Rznalkh:main

Conversation

@Rznalkh
Copy link
Copy Markdown

@Rznalkh Rznalkh commented Mar 11, 2025

prettier is not working yet :/

Comment thread src/challenge.ts
// - Log temperatures that exceed the threshold to the console IN DEGREES CELSIUS (hint: you can combine all previous functions)
function logHottestDays(temperatures: number[], threshold: number): void {
// write your code here...
temperatures.filter(t => t >= threshold).map(temp => (temp - 32) * (5/9)).forEach(e => console.log(e));
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why not reuse the functions you already defined?

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