cmake_minimum_required(VERSION 3.28) project(sum_of_arith_sequence C) set(CMAKE_C_STANDARD 23) add_executable(sum_of_arith_sequence main.c)