About 1,340,000 results
Open links in new tab
  1. console - Magic box game C# - Stack Overflow

    Nov 23, 2015 · This is an example that we took about building a magic box game in Console app, it supposed to take the size from the user, then produce a matrix of the size that the user has enterd, filled with the numbers starting with 1 to the size acoording to this role:

  2. magic square algorithm without array (C) - Stack Overflow

    Oct 2, 2014 · There are two ways to work around the problem. The first way is to compile your program into an exe file and run it from a cmd window. The second way is to introduce a delay before the program ends. You could insert a call to sleep for a number of seconds or read / scanf something from standard input.

  3. Magic square in C - C Programs

    A magic square is a square grid (where is the number of cells on each side) filled with distinct positive integers in the range such that each cell contains a different integer and the sum of the integers in each row, column and diagonal is equal.

  4. Magic Square Program (C++) - Stack Overflow

    May 31, 2014 · For those unfamiliar with the classic magic square algorithm: A magic square is a two dimensional array (n x n) which contains a numerical value between the values 1 and n^2 in each location. Each value may appear only once. Furthermore, the sum of each row, column and diagonal must be the same.

  5. GitHub - phyrozz/magic-box-cpp

    This program basically generates a magic box (or a magic square) once the user enters the size for the box. This program can generate: Odd-size (eg. 3x3, 5x5, 11x11) Doubly-even (eg. 4x4, 8x8, 16x16) Singly-even (eg. 6x6, 14x14) This repo is for our final project in Discrete Structures I. Programmed by: Joshua Malabanan With special help from ...

  6. C Program to Generate Magic Square - Codesansar

    According to Wikipedia, in recreational mathematics and combinatorial design, a magic square is a square grid filled with distinct positive integers in the range such that each cell contains a different integer and the sum of the integers in each row, column and diagonal is equal.

  7. Magic Square: Using c/c++ with graphics - Blogger

    Oct 28, 2013 · Hey guys, today I am going to show you how to generate simple circular pattern using c/c++ and graphics. Here's the screen shot of the out put. Here is the code. Enjoy coding... Note: If the program is generating error in c then please save the file with .cpp extension.

  8. C Program to Solve the Magic Squares Puzzle without Recursion

    The following C program, using iteration, finds the magic square for a given odd sized number.

  9. GitHub - Lari2811/Magic-Game-Box: This project, built with MIT …

    Magic Game Box is a fun mobile app project developed using MIT App Inventor, featuring a collection of interactive games. This project showcases the magic of visual programming to create mobile applications with various game types, offering both entertainment and educational value. 🎲📱

  10. C Program to Generate Magic Square - Language Tutorial

    Here's a C program to generate magic square with output. This program uses C concepts like GOTO statement, Modulus in C, Multidimensional Arrays, IF-Else Condition, For loop and Nested Loops.

Refresh