From 09f8e37b028b3f2a1eb67fe169cddb65687d0f80 Mon Sep 17 00:00:00 2001 From: Christopher Fremond Date: Wed, 24 Apr 2019 18:09:08 +0100 Subject: [PATCH] formatting and renaming subject --- subjects/{ispowerof2.md => ispowerof2.en.md} | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) rename subjects/{ispowerof2.md => ispowerof2.en.md} (65%) diff --git a/subjects/ispowerof2.md b/subjects/ispowerof2.en.md similarity index 65% rename from subjects/ispowerof2.md rename to subjects/ispowerof2.en.md index 560c877c..9d5e4258 100644 --- a/subjects/ispowerof2.md +++ b/subjects/ispowerof2.en.md @@ -1,19 +1,15 @@ -# ispowerof2 -## Instructions +## ispowerof2 + +### Instructions Write a function that determines if a given number is a power of 2. This function returns true if the given number is a power of 2, otherwise it returns false. -Your function must be declare as follows: - ## Expected function ```go - -func Ispowerof2(n uint) bool { +func Ispowerof2(n uint) bool { } - ``` -