Question #308215

Write a program that print your name and your grade in a new line.


Expert's answer

#include <stdio.h>

int main() {
    char* my_name = "John Smith";
    char my_grade = 'A';

    printf("%s\n%c\n", my_name, my_grade);

    return 0;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS