mirror of
https://litchi.icu/ngc2207/mine-code-now.git
synced 2025-05-18 16:47:02 +00:00
fix: remove newline characters from greeting messages in seed data
This commit is contained in:
parent
965c36496f
commit
b488d0143f
@ -47,11 +47,11 @@ print(greet("Prisma"))`,
|
||||
code: `#include <stdio.h>
|
||||
|
||||
void greet(char* name) {
|
||||
printf("Hello, %s!\n", name);
|
||||
printf("Hello, %s!", name);
|
||||
}
|
||||
|
||||
int main() {
|
||||
printf("Hello, World!\n");
|
||||
printf("Hello, World!");
|
||||
greet("Prisma");
|
||||
return 0;
|
||||
}`,
|
||||
@ -95,7 +95,7 @@ class HelloWorld {
|
||||
import "fmt"
|
||||
|
||||
func greet(name string) {
|
||||
fmt.Printf("Hello, %s!\n", name)
|
||||
fmt.Printf("Hello, %s!", name)
|
||||
}
|
||||
|
||||
func main() {
|
||||
|
Loading…
Reference in New Issue
Block a user