Click here to Skip to main content
15,798,722 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
Eddy Vluggen14-Aug-18 7:14
professionalEddy Vluggen14-Aug-18 7:14 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
Member 1297423514-Aug-18 5:40
Member 1297423514-Aug-18 5:40 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
OriginalGriff14-Aug-18 6:18
mvaOriginalGriff14-Aug-18 6:18 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
BillWoodruff14-Aug-18 18:34
professionalBillWoodruff14-Aug-18 18:34 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
AnotherKen18-Aug-18 9:44
professionalAnotherKen18-Aug-18 9:44 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
jschell19-Aug-18 8:33
jschell19-Aug-18 8:33 
QuestionProgram Help Pin
Bloodyway11-Aug-18 7:06
Bloodyway11-Aug-18 7:06 
AnswerRe: Program Help Pin
Luc Pattyn11-Aug-18 7:32
sitebuilderLuc Pattyn11-Aug-18 7:32 
And how would that cause a problem? Most programs accept an undefined number of inputsL a Word document can hold any number of pages, this forum can hold any number of posts, etc.

You have to create a loop to accept and process some input, and a convention as to how you signify the end of the input. In this case (console app not having menus and mouse input) you could use a convention such as "multiplicity zero signals the end" and hence causes the loop to be exited.

If you need all the data before you can start your calculations, then you also need an "elastic" data structure to hold the inputs (a List could do). Are you sure a simple average can only be calculated once all the data is available? look at your formula...

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum

GeneralRe: Program Help Pin
Bloodyway11-Aug-18 20:45
Bloodyway11-Aug-18 20:45 
AnswerRe: Program Help Pin
OriginalGriff11-Aug-18 20:31
mvaOriginalGriff11-Aug-18 20:31 
GeneralRe: Program Help Pin
Bloodyway11-Aug-18 20:47
Bloodyway11-Aug-18 20:47 
GeneralRe: Program Help Pin
OriginalGriff11-Aug-18 21:08
mvaOriginalGriff11-Aug-18 21:08 
GeneralRe: Program Help Pin
AnotherKen18-Aug-18 10:04
professionalAnotherKen18-Aug-18 10:04 
GeneralRe: Program Help Pin
Mycroft Holmes18-Aug-18 14:30
professionalMycroft Holmes18-Aug-18 14:30 
GeneralRe: Program Help Pin
AnotherKen18-Aug-18 20:18
professionalAnotherKen18-Aug-18 20:18 
AnswerRe: Program Help Pin
Richard Andrew x6412-Aug-18 4:32
professionalRichard Andrew x6412-Aug-18 4:32 
QuestionSplit a number into multiple number in a specific way Pin
Mou_kol10-Aug-18 12:14
Mou_kol10-Aug-18 12:14 
AnswerRe: Number distribution in a specific way Pin
Mycroft Holmes10-Aug-18 14:34
professionalMycroft Holmes10-Aug-18 14:34 
AnswerRe: Number distribution in a specific way Pin
Luc Pattyn11-Aug-18 7:22
sitebuilderLuc Pattyn11-Aug-18 7:22 
QuestionGet file metada Pin
Member 1193763910-Aug-18 1:04
Member 1193763910-Aug-18 1:04 
AnswerRe: Get file metada Pin
Richard MacCutchan10-Aug-18 1:22
mveRichard MacCutchan10-Aug-18 1:22 
QuestionRDP connections in tabs Pin
Member 114416229-Aug-18 20:41
Member 114416229-Aug-18 20:41 
AnswerRe: RDP connections in tabs Pin
Mycroft Holmes9-Aug-18 21:20
professionalMycroft Holmes9-Aug-18 21:20 
GeneralRe: RDP connections in tabs Pin
Member 1144162213-Aug-18 0:54
Member 1144162213-Aug-18 0:54 
GeneralRe: RDP connections in tabs Pin
Pete O'Hanlon13-Aug-18 1:27
subeditorPete O'Hanlon13-Aug-18 1:27 

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.