online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code   
Language
/* PROGRAMA DE PROMEDIO NOTAS EN LENGUAJE GO */ package main import "fmt" func main() { var ( nota1 float32 nota2 float32 nota3 float32 ) // Input valores usuario fmt.Println("Entre la primera nota: ") fmt.Scan(&nota1) if nota1 >= 0 && nota1 <= 100 { fmt.Println("Entre la segunda nota: ") fmt.Scan(&nota2) if nota2 >= 0 && nota2 <= 100 { fmt.Println("Entre la tercera nota:") fmt.Scan(&nota3) if nota3 >= 0 && nota3 <= 100 { promedio := (nota1 + nota2 + nota3) / 3 fmt.Println("Promedio de las notas: ", promedio) } else { fmt.Println("Debe ser un valor positivo no mayor de 100") } } else { fmt.Println("Debe ser un valor positivo no mayor de 100") } } else { fmt.Println("Debe ser un valor positivo no mayor de 100") } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue