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

What is the actual size of INT in the C language, 2 or 4 bytes?
The actual size to int is determined by the compiler as the program runs. But theoretically the size is 2 bytes. You can increase the size by adding keyword long infront of it to make the size 4 bytes. Eg int a; // 2 bytes Long int b; // 4 bytes
Kunal

What is the main difference between returning value of a function and does not return any value of a function in  C. Which is correct void main(void), int main(void), int main(int) , or void main(int) and explain the main difference between int main() and int main(void). 

A function may or may not return a value to the calling function. If the function is returning a value, then you have to mention the data type in the function definition and funtion declaration (like int,...
Mahesh Kondawar
Which are the best books to learn C?
Yashavant Kanetkar
Kratika
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
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

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

Ask a Question

Related Lessons

Necessity of Theory and Practical in Computer Science.
Upon studying a subject both theory and practical are important. Usually many schools concentrate more on theory and the marks not on the practical. Other and opposite kind of people prefer practical...

C++ Fundamentals - Introduction
Introduction to C++ C++ CHARACTER SET It is the set of all valid characters that a language can recognize . It represents any letter, digit, or any other sign .C++ character set: LETTERS...
R

Memory Layout in C++ vis-a-vis Polymorphism and Padding bits.
I know there is no need for the knowledge of memory layout for a normal day-to-day development of C++. However, when someone goes in the bit/byte level of C++, he needs to look for such discussion. To...

Data Structure: Searching
Searching Searching means finding an element in an array. There are two type of searching techniques : Linear Search Binary Search In linear search, to find the element array is traversed and...

Polymorphism and Virtual Functions
Polymorphism and Virtual Functions Compile Time Polymorphism or Early Binding or Static Binding An object is bound to its function call at compile time. Implemented using overloaded functions and...

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