Code Monkey home page Code Monkey logo

c_algorithms's Introduction

C_Algorithms

  • #1 MCD of n number
  • #2 Check if the sides are of a triangle rectangle
  • #3 Check if the numbers are multiples
  • #4 general the sum of the first numbers n pairs
  • #5 Euclides Algorithm
  • #6 Check if the var n is a palindrome
  • #7 Convert a float to String
  • #8 Send two variables one float and integer, if the float lenght is less than integer concat "*"
  • #9 Convert a float to binary S
  • #10 Integer num to binary
  • #11 Check if the year is bisiest
  • #12 Investment of money subject to an interest for n periods
  • #13 An Binary to integer decimal convertion
  • #14 Calculate cos(x) in radians
  • #15 ACM problem (Lunar New Year is approaching)
  • #16 Write a program that receives a number and tells you if that number is even or odd
  • #17 Calculate all three-digit numbers such that the sum of the cubes of the digits is equal to the number.
  • #18 Write the program that estimates the value of the mathematical constant e, by the formula: e = 1 + 1/1! + 1/2! + 1/3! + .... + 1 / N! Read the N value that indicates the precision with which you want to obtain the value of e.
  • #19 Write the program that read numeric ID, age and salary of 10 people and, to determine how many over 35 years of age earned salaries, included between $ 5000.00 and $ 7500.00 inclusive.
  • #20 Sum two fractions
  • #21 Get two times and send the seconds between both
  • #22 Make arithmetic operations from String(char) BASICS
  • #23 Make arithmetic operations from String(char) WITH OPERATION NESTED INSIDE BRACKETS
  • #24 Fill a vector V with 0's and 1's (50 times)
  • #25 Example of how insert words inside avector
  • #26 Insert 20 names and search by index of array "people"
  • #27 Make the sum of two vector b[i,j] = a[i,j] + b[i,j]
  • #28 Program that completes a full-size vector with random numbers of 0 At 100. the program must calculate: the average of the data, the standard deviation, the variance
  • #29 A matrix has a saddle point if any position in the matrix is the least of his row, and at the same time the largest of his column. Write a program that fills a matrix with real random numbers from 0 to 999 and that determines if the matrix has points chair.
  • #30 It has a vector of one hundred elements that represent qualifications of five subjects of 20 students. From 1 to 5 are the grades of the first student; from 6 to 10, are theΒ second; and so on. You want a program that reads these qualifications and calculates the average of each student and that he keeps it in a second vector that will have as Only the averages of the 20 students.
  • #31 Print a triangle with n x n matrix
  • #32 Seven problems of recursivity
  • #33 Calculate a matrix's inverse
  • #34 Experiments with paragraphs with chars
  • #35 Search the modes
  • #36 Print a triangle of Stars
  • #37 Struct (object) BASIC
  • #38 The basics of a REALLY SIMPLE Linked list
  • #39 The basic of Dynamic ArrayList
  • #40 CRUD with bubbleSort and selectionSort (ArrayList emulation)
  • #41 CRUD based on Nodes (LinkedList emulation)

Special algorithms

  • Dijktra.c search the shortest route in a map
  • TreeSon.c search the number of parents until the node

c_algorithms's People

Contributors

luislortega avatar

Stargazers

 avatar

Watchers

 avatar

c_algorithms's Issues

Fix exercise 20

This only work for a determinant number of fractions

  • implement MCD to fix

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.