Click here to Skip to main content
15,886,556 members
Home / Discussions / C#
   

C#

 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
Eddy Vluggen14-Aug-18 6:14
professionalEddy Vluggen14-Aug-18 6:14 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
Member 1297423514-Aug-18 4:40
Member 1297423514-Aug-18 4:40 
GeneralRe: Which language and IDE would require less coding for my test program? Pin
OriginalGriff14-Aug-18 5:18
mveOriginalGriff14-Aug-18 5:18 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
BillWoodruff14-Aug-18 17:34
professionalBillWoodruff14-Aug-18 17:34 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
AnotherKen18-Aug-18 8:44
professionalAnotherKen18-Aug-18 8:44 
AnswerRe: Which language and IDE would require less coding for my test program? Pin
jschell19-Aug-18 7:33
jschell19-Aug-18 7:33 
QuestionProgram Help Pin
Bloodyway11-Aug-18 6:06
Bloodyway11-Aug-18 6:06 
AnswerRe: Program Help Pin
Luc Pattyn11-Aug-18 6:32
sitebuilderLuc Pattyn11-Aug-18 6: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 19:45
Bloodyway11-Aug-18 19:45 
AnswerRe: Program Help Pin
OriginalGriff11-Aug-18 19:31
mveOriginalGriff11-Aug-18 19:31 
GeneralRe: Program Help Pin
Bloodyway11-Aug-18 19:47
Bloodyway11-Aug-18 19:47 
GeneralRe: Program Help Pin
OriginalGriff11-Aug-18 20:08
mveOriginalGriff11-Aug-18 20:08 
GeneralRe: Program Help Pin
AnotherKen18-Aug-18 9:04
professionalAnotherKen18-Aug-18 9:04 
GeneralRe: Program Help Pin
Mycroft Holmes18-Aug-18 13:30
professionalMycroft Holmes18-Aug-18 13:30 
GeneralRe: Program Help Pin
AnotherKen18-Aug-18 19:18
professionalAnotherKen18-Aug-18 19:18 
AnswerRe: Program Help Pin
Richard Andrew x6412-Aug-18 3:32
professionalRichard Andrew x6412-Aug-18 3:32 
QuestionSplit a number into multiple number in a specific way Pin
Mou_kol10-Aug-18 11:14
Mou_kol10-Aug-18 11:14 
AnswerRe: Number distribution in a specific way Pin
Mycroft Holmes10-Aug-18 13:34
professionalMycroft Holmes10-Aug-18 13:34 
AnswerRe: Number distribution in a specific way Pin
Luc Pattyn11-Aug-18 6:22
sitebuilderLuc Pattyn11-Aug-18 6:22 
QuestionGet file metada Pin
Member 1193763910-Aug-18 0:04
Member 1193763910-Aug-18 0:04 
AnswerRe: Get file metada Pin
Richard MacCutchan10-Aug-18 0:22
mveRichard MacCutchan10-Aug-18 0:22 
QuestionRDP connections in tabs Pin
Member 114416229-Aug-18 19:41
Member 114416229-Aug-18 19:41 
AnswerRe: RDP connections in tabs Pin
Mycroft Holmes9-Aug-18 20:20
professionalMycroft Holmes9-Aug-18 20:20 
GeneralRe: RDP connections in tabs Pin
Member 1144162212-Aug-18 23:54
Member 1144162212-Aug-18 23:54 
GeneralRe: RDP connections in tabs Pin
Pete O'Hanlon13-Aug-18 0:27
mvePete O'Hanlon13-Aug-18 0: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.