Monday, August 31, 2020

get a string and print a string (lec2 reviewing lec1)

#include <cs50.h>
#include <stdio.h>

int main(void)
{
string s = get_string("what is your name?\n");
printf("hi, %s\n", s);
}


cs50, lec2 (reviewing lec1)


No comments:

Post a Comment