⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gcd.c

📁 ARM公司ATC培训的所有练习源码
💻 C
字号:
//
//  Session 4 - Exercise 7
//

#include <stdio.h>

int gcd(int, int);

int main(void)
{
  int result = 0;
  int a = 9;
  int b = 15;
  
  // Call GCD function
  result = gcd(a, b);
  
  // Print result to console
  printf("The GCD of %d and %d is %d", a, b, result);

  // Exit
  return 0;
}


int gcd(int x, int y)
{
  // Insert your code here
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -