i think i get the idea.. thx.. ^^
Type: Posts; User: rachel7430
i think i get the idea.. thx.. ^^
huh??
insert
#include <iostream>
using namespace std;
int computeAbsoluteValue(int number)
{
// Write your code here.
}
ya i get... but is that the only solution??
no no... u ask me to think how to stop the numbers from repeating...
i think of it b4 posting this... n i even tried but couldnt fix the problem...
i know how to stop if its in a loop... but this not... dats y i need help
i compile my code n tested it on command prompt..
from there i know the numbers repeated in d same column or row....
or u need to whole code?? cos its kinda long...
i declared those r1c1, r1c2... etc r the position of numbers in a grid box...
like in sudoku u have a 4x4 box?? like d first box i declared 1st row 1st colum (r1c1)
then i made few fixed position...
im having a project on sudoku...
so d numbers generated r not suppose to repeat..
im not allowed to use array cos i havent learn in class yet..
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
int main ()
{
int r1c1 , r1c2 , r1c3, r1c4 ,
r2c1 , r2c2 , r2c3 , r2c4 ,
r3c1 , r3c2 , r3c3 ,...
wat do u expect from only 3 classes held so far....
u think this a bullet train??
so we only learn looping n few beginning chapters only
we only attended 3 weeks class so far with 100% attendence...
arrays we havent learn yet so we can use that to program...
both...
im not allowed to use array.. n actually im looking for ideas to create all those... n not asking help to give me the whole coding...
i need to complete my flowchart diagram before continue to designing...
im stuck at algorithm how am i suppose to continue with coding??
well first i need to design an algorithm.. n im having problem with it right now... after input i dunno how to continue..
im a beginner in programming n i have an assignment in creating a 4x4 sudoku..
can anyone help me in the code source and the algorithm design??