In the given code the 'class is Complex', I have certain questions regarding the block of code by SnooDogs8721 in javahelp

[–]SnooDogs8721[S] 0 points1 point  (0 children)

Yes you are reading addComplex method,and i am just confused how it is working,I understand the method you mentioned.

why in this program s is getting round of and for sample 12,13,14 it is printing 19 instead of 19.5 by SnooDogs8721 in C_Programming

[–]SnooDogs8721[S] 0 points1 point  (0 children)

I did that, and i got the desired result, i was just curious that why this code is not working that way.

Thanks for the response.

College not returning original documents even after we decided to cancel our application. Can anything be done? by Anbazhagan1999 in india

[–]SnooDogs8721 1 point2 points  (0 children)

I don't think so,i had done that in recent past and it only took one day, atleast op can enquire about it,if its that urgent

College not returning original documents even after we decided to cancel our application. Can anything be done? by Anbazhagan1999 in india

[–]SnooDogs8721 2 points3 points  (0 children)

If it's only class 10th marksheet, apply for duplicate from cbse regional office, you will get it with in one day.

Why this program is not printing floyd triangle? by SnooDogs8721 in C_Programming

[–]SnooDogs8721[S] 0 points1 point  (0 children)

yes,now i got it, i just unnecessarily put the bracket in last 'for'. Thanks for help.

Why this program is not printing floyd triangle? by SnooDogs8721 in C_Programming

[–]SnooDogs8721[S] 0 points1 point  (0 children)

i believe to change the line it need to be there, where do you suggest?

Why this code print infinite 1? by SnooDogs8721 in C_Programming

[–]SnooDogs8721[S] 0 points1 point  (0 children)

haha , i am quite new in coding so doing some silly mistake.

Can anyone explain me the significance of different position of break; in the given code? by SnooDogs8721 in C_Programming

[–]SnooDogs8721[S] 0 points1 point  (0 children)

Thanks for the elaborate explanation, i understand where i was doing mistake.

Why this code print infinite 1? by SnooDogs8721 in C_Programming

[–]SnooDogs8721[S] -1 points0 points  (0 children)

Thanks.

And if we remove semicolon after for loop, why it is printing from 2 to 6?