Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 409 Bytes

README.md

File metadata and controls

14 lines (8 loc) · 409 Bytes

C-Easy

This repository contains easy programs in C++

Time Conversion :

Given a time in 12-hour AM/PM format, convert it to military (24-hour) time.

absolute-diff-btw-diagonals :

Given a square matrix of size NxN, calculate the absolute difference between the sums of its diagonals.

Triangular_num :

A triangular number is formed by the addition of a consecutive sequence of integers starting from 1.