Good Programming Style

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

0 Likes
5 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

BBS (Big Broad Smile)

   

The question is: Would it be good programming style when the program would have printed 3142 digits of pi ?

   

 

   

Bob

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Looks like some of the array sizes would have challenged PSOC 10000.

   

 

   

😞

   

 

   

Regards, Dana.

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

...It will not compile!

   

In line 3 you find a semi-colon which has to be a comma.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

did you actually inspect the code? lol

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Yes, of course!

   

 

   

Bob

0 Likes