#include <stdio.h>
typedef struct {
int currentMana;
int potionMana;
int result;
} Wizard;
int main() {
Wizard std = {1250, 350};
std.result = std.currentMana + std.potionMana;
printf("마나를 마시기전 마나: %d\n마신 마나: %d\n마신 후 마나: %d",std.currentMana,std.potionMana,std.result);
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: