Click here to Skip to main content
15,903,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: Declaring and Passing value to public variable Pin
klaydze7-Feb-08 14:16
klaydze7-Feb-08 14:16 
GeneralRe: Declaring and Passing value to public variable Pin
Vikram A Punathambekar8-Feb-08 1:53
Vikram A Punathambekar8-Feb-08 1:53 
Generalopen Microsoft Access from c# Pin
tonato8485-Feb-08 17:41
tonato8485-Feb-08 17:41 
GeneralRe: open Microsoft Access from c# Pin
Adeel Chaudhry5-Feb-08 18:37
Adeel Chaudhry5-Feb-08 18:37 
Generalbinding the data to the grid Pin
chithra.r5-Feb-08 17:12
chithra.r5-Feb-08 17:12 
GeneralRe: binding the data to the grid Pin
That's Aragon5-Feb-08 17:59
That's Aragon5-Feb-08 17:59 
GeneralRe: binding the data to the grid Pin
chithra.r5-Feb-08 18:10
chithra.r5-Feb-08 18:10 
GeneralRe: binding the data to the grid Pin
That's Aragon5-Feb-08 18:29
That's Aragon5-Feb-08 18:29 
GeneralRe: binding the data to the grid Pin
chithra.r5-Feb-08 21:33
chithra.r5-Feb-08 21:33 
GeneralRe: binding the data to the grid Pin
chithra.r5-Feb-08 21:35
chithra.r5-Feb-08 21:35 
GeneralRe: binding the data to the grid Pin
That's Aragon5-Feb-08 22:05
That's Aragon5-Feb-08 22:05 
GeneralDeploying my C# control internationally : Sattelite Assembly Support Pin
Nadia Monalisa5-Feb-08 16:46
Nadia Monalisa5-Feb-08 16:46 
GeneralExit In XNA Pin
MasterSharp5-Feb-08 14:46
MasterSharp5-Feb-08 14:46 
GeneralRe: Exit In XNA Pin
Ennis Ray Lynch, Jr.5-Feb-08 17:13
Ennis Ray Lynch, Jr.5-Feb-08 17:13 
GeneralCreating a structure that returns a value for sizeof() Pin
Skippums5-Feb-08 12:32
Skippums5-Feb-08 12:32 
GeneralRe: Creating a structure that returns a value for sizeof() Pin
PIEBALDconsult5-Feb-08 13:32
mvePIEBALDconsult5-Feb-08 13:32 
GeneralRe: Creating a structure that returns a value for sizeof() Pin
Skippums5-Feb-08 13:38
Skippums5-Feb-08 13:38 
GeneralRe: Creating a structure that returns a value for sizeof() Pin
Mark Churchill5-Feb-08 14:28
Mark Churchill5-Feb-08 14:28 
QuestionRe: Creating a structure that returns a value for sizeof() Pin
Skippums6-Feb-08 4:55
Skippums6-Feb-08 4:55 
GeneralRe: Creating a structure that returns a value for sizeof() Pin
PIEBALDconsult6-Feb-08 13:06
mvePIEBALDconsult6-Feb-08 13:06 
GeneralRe: Creating a structure that returns a value for sizeof() Pin
Skippums6-Feb-08 13:36
Skippums6-Feb-08 13:36 
GeneralRe: Creating a structure that returns a value for sizeof() Pin
Mark Churchill6-Feb-08 15:16
Mark Churchill6-Feb-08 15:16 
GeneralRe: Creating a structure that returns a value for sizeof() Pin
PIEBALDconsult5-Feb-08 14:28
mvePIEBALDconsult5-Feb-08 14:28 
GeneralRe: Creating a structure that returns a value for sizeof() Pin
Skippums6-Feb-08 4:59
Skippums6-Feb-08 4:59 
GeneralI need help how to start this program. Pin
Alex5015-Feb-08 11:27
Alex5015-Feb-08 11:27 
say that within each egg carton, the ‘slot’ for each egg is given a number, just like we number arrays. We will also number the egg cartons themselves. So in the picture below, we see that egg carton #0 has 8 slots. Within egg carton #0, the slots are number 0, 1, 2, 3, 4, 5,6, and 7, just like the carton was an array. Another way to number the slots would be to use ‘global slot number’. This is what you’d get, if you started counting at the first slot in the first carton, and then kept counting when you moved on to the second carton, etc, etc. For example, “carton#0, slot#1” would be given the ‘global slot number’ of 1, since you start counting (at carton#0, slot#0) with 0, then count carton#0, slot#1 as ‘global 1’. When you run out space in the first carton (having reached ‘global 7’, at “carton#0, slot#7”), you go on to the second carton, and keep counting. So carton#1, slot#0 is actually ‘global slot number 8’. Carton #1, slot #5 is ‘global slot number 13’, and ‘global slot number 17’ really means carton #2, slot #1.

You need to fill in code, in program that is provided below, so that your program will ask the user for the ‘global slot number’ of a particular slot in a particular egg carton, and will then tell the user which carton, and which slot # with that carton, to put the egg.

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.