Choose type

Report a typo

Write the correct data type for each variable to fix compilation errors.

Sample Input 1:

Sample Output 1:

a 1 true
Write 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
}
___

Create a free account to access the full topic