当前位置:网站首页>C language foundation ----- write a function to find the larger value of two unequal integers
C language foundation ----- write a function to find the larger value of two unequal integers
2022-06-23 01:49:00 【coder--x】
The main function :
int main()
{
int a = 0;
int b = 0;
scanf("%d %d\n", &a &b);
int m = Max(a, b);
printf("%d\n",m);
return 0;
}The body part of the function :
int Max(int x, int y)
{
if(x > y)
return x;
else
return y;
}边栏推荐
猜你喜欢

Debian10 configuring rsyslog+loganalyzer log server

Classical questions of function recursion

SQL programming task02 job - basic query and sorting

Express framework installation and start service

Epoll introduction and principle explanation

Array part

Byte order: big endian vs little endian

Questions not written in the monthly contest

6. const usage, combination of first and second level pointers

SQL programming task05 job -sql advanced processing
随机推荐
Debian10 installing zabbix5.4
Score and loop statements (including goto statements) -part3
C#. Net universal database access encapsulation classes (access, sqlserver, Oracle)
There are animation characters interacting with each other when the mouse slides in the web page
[Luogu] P2887 Sunscreen G
//1.8 char character variable assignment integer
Branch and loop statements (including goto statements) -part1
人民币的单位的大写
11. function template, class template, implementation vector sequence container, and space adapter
Byte order: big endian vs little endian
HDU - 7072 double ended queue + opposite top
Download and compile ROS source code
Primary pointer part
Population standard deviation and sample standard deviation
[hdu] p2087 cut cloth strip
Freshman C language summary post (hold change) Part1 output diamond
Muduo simple usage
1. introduction to MySQL database connection pool function technology points
You can be what you want to be
Pat class A - 1013 battle over cities