11 lines
189 B
C
11 lines
189 B
C
// Uses get_string with better-named variable
|
|
|
|
#include <cs50.h>
|
|
#include <stdio.h>
|
|
|
|
int main(void)
|
|
{
|
|
string name = get_string("What's your name? ");
|
|
printf("hello, %s\n", name);
|
|
}
|