How develop the logic of C++?­

Asked by Last Modified  

Follow 8
Answer

Please enter your answer

It Professional Trainer With 20 Years of Experience in in Key Aspects of Software Development

First try to break the problem into small sets after understanding the problem. Next write a pseudocode for them. Once finsied writing the pseudocode you can then convert that logic into C++ code.
Comments

Computer tutor

Depending on the requirement, we can think of the logic with any real life example in general. For example, the logic for swapping two numbers can be constructed by using three cups, with one cup as empty and you use this empty cup to swap the contents from the other two cups.
Comments

Are you looking for an Expert Friendly Tutor?

There is no rule, concept or technique (to be explained) for your requirement, however logic development is a gradual process. You can progrees with time. I can say here that if you have thrre things in your mind then you can win 1. Interest (Sradha) 2. Dedication (Lagan) 3. Learning Attitude. Go from...
read more
There is no rule, concept or technique (to be explained) for your requirement, however logic development is a gradual process. You can progrees with time. I can say here that if you have thrre things in your mind then you can win 1. Interest (Sradha) 2. Dedication (Lagan) 3. Learning Attitude. Go from basic and dream upto the last. Enjoy your work (let it be a silly one). To develop logic you have to understand like you are the end-user and you have to find out the logic flow (step by step). read less
Comments

Tutor

Step 1: Solve it manually Step 2: Elaborate the steps you just used to calculate manually. Write them down on a paper Step 3: Convert each step (words) into maths (equations) Step 4: Develop a psuedocode (This step will no longer be difficult for you) Step 5: Write a program and execute. Step 6:...
read more
Step 1: Solve it manually Step 2: Elaborate the steps you just used to calculate manually. Write them down on a paper Step 3: Convert each step (words) into maths (equations) Step 4: Develop a psuedocode (This step will no longer be difficult for you) Step 5: Write a program and execute. Step 6: Recheck if you have gone wrong anywhere Step 7: Redo the err part. ** Note: You may take half a day initially to write a simple program, but trust me if you carefull follow the procedure, you will speed up fom the next day. Good Luck! read less
Comments

Well there is no logic behind it. You learn by doing things.A Problem is nothing but a real life scenerio , So how will you solve a partiular problem in real life. You can apply that method to solve problem in programming.
Comments

Practice is the key. The more you practise the more you learn. And whioe learning, your mind stsrt thinking that way, and even you get different questions you will be able to solve them. Best of luck.
Comments

One and only name u can trust for CS and Ip

By developing the basic program
Comments

View 5 more Answers

Related Questions

What is polymorphism in C++?
https://vz-3ad30922-ba4.b-cdn.net/22b3f0e4-e072-48b7-9ae6-3d65a6b4ad50/play_480p.mp4
Renu
0 0
5
How to create my profile as technology(c++ programming) teacher?
C++ is not a pure OO language by any standards. It is extremely complex and confusing to a beginner to understand it properly. If you know C, you may find the syntax easier -- but if you want to learn...
Nilesh
Which are the best books to learn C?
Yashavant Kanetkar
Kratika
How to register as teacher?
On the basis of his total experience and Qualification you can do it.
Shrikrishna

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

C++ Overview
Introduction: C++ is the first object oriented programming language used universally as an advanced version of C language. Many features such as Inheritance, Class & Object, Polymorphism(Function...
N

Namrata Y.

0 0
0

Copy-on-Write
Note: You can read the original write-up at http://som-itsolutions.blogspot.in/2017/01/copy-on-write.html As i was trying to recapitulate several important concepts of OOAD, naturally COW or Copy-On-Write...

Turbo C++ Keyboard Shortcuts
S.No. Shortcuts keys Action 1. F1 For Help 2. F2 Save 3. F3 Open 4. F4 Go to cursor 5. F5 Zoom 6. F6 Next 7. F7 Trace...

Do You Know How Is Size Of Structure Defined?
Size of the structure is defined based on multiplies of bigger data type member in the structure. Example: If a structure contains integer, char, short data type, then size of the Structure will be multiples...

Advantages of C++ Language
Advantages of C++ - C++ is a profoundly convenient dialect and is frequently the dialect of decision for multi-gadget, multi-stage application advancement. - C++ is a protest situated programming dialect...

Recommended Articles

Introduction C++ is an excellent programming language and many of the applications are written in C++ language. It has generic, object-oriented & imperative programming features, and also provides facilities for low-level memory manipulation. Successor of C language, it is an OOP (object oriented programming) language...

Read full article >

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Looking for C++ Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you