Kodewick
Start learning →
Starter←→0 / 70

Cinema seat

#005StarterOutput2 min

The cinema ticket needs the seat printed on it. row is the row (one letter) and seat is the seat number. Use printf to show Seat: F7: the letter with %c, the number with %d.

Should show
Seat: F7
main.c
#include <stdio.h>

int main(void) {
    char row = 'F';
    int seat = 7;
    // your code here: printf Seat: with the row and the seat
    return 0;
}
Ctrl + Enter runs too
Result

Run tries the examples. When they look right, Submit.