Challenge!

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PowerOfTwo : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
double result = Mathf.Pow(2,24);
Debug.Log(“2 to the power of 24 is” + result);
}
}

Finally, 2 to the power of 24 is 16777216

Privacy & Terms