Write the correct data type for each variable to fix compilation errors.
Primitive types
Choose type
Report a typo
Sample Input 1:
Sample Output 1:
a 1 trueWrite a program in Go
package main
import "fmt"
// nolint: gosimple // <- DO NOT delete this comment!
func main() {
var r // write the data type after 'r'
r = 'a'
var i // write the data type after 'i'
i = 1
var b // write the data type after 'b'
b = true
fmt.Printf("%c %d %t", r, i, b) // do not remove this line
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.