Erster Commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//Made by Vlad. Budnitski.
|
||||
//AlphaTech - Programming Course.
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
int currentYear;
|
||||
int age;
|
||||
int birthYear;
|
||||
|
||||
scanf("%d", ¤tYear);
|
||||
scanf("%d", &age);
|
||||
|
||||
birthYear = currentYear - age;
|
||||
|
||||
printf("You were born in %d \n", birthYear);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user