ScratchData LogoScratchData
Back to weberwj's profile

Codegolf Challenge [1] - GCF

WEweberwj•Created November 29, 2022
Codegolf Challenge [1] - GCF
0
0
6 views
View on Scratch

Instructions

Task: Make a method that gets the GCF of all the numbers in the list. RULES: > The method must set the GCF variable to the GCF > You must have all your code in the CalculateGCF Custom Block > The method must be able to work if there is any amount of variables in the project. > You can edit the list blocks for testing, but please have them back in the final copy of the project.

Description

This is my first "Code Golf" challenge. If I make more of these, I will try to make them gradually harder as we go along. If you have any suggestions for topics put them in the comments It's okay if you don't get the least amount of blocks. The important thing is you tried your best at it. Look at the other solutions to improve your coding skills. Verified Solutions: @homewins_test - 15 blocks

Project Details

Project ID769139286
CreatedNovember 29, 2022
Last ModifiedApril 11, 2023
SharedNovember 29, 2022
Visibilityvisible
CommentsAllowed