TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Manuel Portelli
NA
6
6.3k
The BIG O Notation
Jan 12 2012 3:50 AM
Hi to all.
Attached with this topic there is a file "program.cs" which is a C-Sharp file created with visual studio.
This file contains a simple console application in which the user is asked to enter 3 integer numbers (to be 3 sides of a triangle), and the application outputs if the 3 sides of the triangle given are equilateral, isosceles, scalene triangle or otherwise it outputs that the sides do not make up a triangle.
My problem is that i am asked to examine the complexity of the code which i created using the BIG O notation.
Can anyone please help me out with this problem?
I am a dummy in this type of notation so please if anyone is going to explain be simple.
Thanks & Regards.
Combinu
P.S. I have also posted this topic in the C-Sharp Language forum so i kindly request a moderator to remove one of the topics, thanks and sorry for any inconvenience caused.
Attachment:
programcs.zip
Reply
Answers (
3
)
QR Code shown in text format
Developer vs Programmer