Puzzle | Minimum distance for Lizard | C # program to find minimum distance to be travelled by lizard ; side of the cube ; understand from diagram ; understand from diagram ; minimum distance
using System ; class GFG { public static void Main ( ) { int a = 5 ; int AC = a ; int CE = 2 * a ; double shortestDistace = Math . Sqrt ( AC * AC + CE * CE ) ; Console . Write ( shortestDistace ) ; } }