UrbanPro

Learn C++ Language from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

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

How do I perform multiplication in C++?
Multiplication in C++ is as simple as using the * operator. It's a fundamental arithmetic operation, familiar to most developers even with minimal experience in the language. The basic concept involves...
Venkataramanaiah
0 0
5
What is iostream.h?
It is a header file, which is needed to be included in C++ program to perform input output operations.
Monisha
Why c++ introduced reference variable?
C++ references allow you to create a second name for the a variable that you can use to read or modify the original data stored in that variable.
Sunita
Is C#, C++, Python, or JS better for game development?
All languages good for gamjng. But you can make 3d games in c# uaing unity software and it's very very interesting to work on it.
Mohit
0 0
6
What is the best IDE for C and C++ development?
If you're a student then Turbo C++ is best for C and C++ program + inbuilt C/C++ Graphics Function If you're a professional or working then Netbeans for C/C++ or Code:: Blocks is Best.
Balakrishnasingh

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

Ask a Question

Related Lessons

Magic in C=> OFFSET OF MACRO in C [offsetof(TYPE, MEMBER)]
Here I am going to discuss an exciting macro in C. It will give you offset of a member within a structure. NULL or 0 address is typecasted to TYPE first. It won't result in segmentation fault as we are...

My first C++ program
# include using namespace std; int main() { cout<<"Welcome to C++"; return 0; } Use IDE such as CodeBlocks to run this program. To do this, open CodeBlocks, Goto File->New->Empty File. Copy...

Do (pre & post)Increment and decrement operators behave differently when printed in the same and different line in C++?
Before I explain anything,I would like you to run the following program. void main() {int j =10; cout<<“j before increment =“<<j; cout<<“++j =“<< ++j; cout<<“...

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...

Why do pointers have a datatype?
Before we start with pointers you must know what is a variable and a datatype. int a; This is the basic line in every program in 'C' . It means that we are asking the compiler to give us 2 bytes of space...

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
X

Looking for C++ Language Classes?

The best tutors for C++ Language Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn C++ Language with the Best Tutors

The best Tutors for C++ Language Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more