This repository has been archived on 2026-07-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
college-work/Задания по C и C++/c/1.c
T

18 lines
332 B
C
Executable File

/*
1.Даны целочисленные переменные А и В. Найти их сумму и вывести на экран.
*/
#include <stdio.h>
int getSum(int a, int b) {
return a + b;
}
int main() {
const int A = 3;
const int B = 8;
printf("Sum: %d", getSum(A, B));
return 0;
}