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 C++ is different from C language?
C++, as the name suggests, is a superset of C. As a matter of fact, C++ can run most of C code while C cannot run C++ code. C is regarded as a low-level language(difficult interpretation & less user...
Tony
What is Enum
An enumeration is a set of named integer constants. An enumerated type is declared using the enum keyword. C# enumerations are value data type. In other words, enumeration contains its own values and cannot inherit or cannot pass inheritance.
S
What is C++
A high-level programming language developed by Bjarne Stroustrup at Bell Labs. C++ adds object-oriented features to its predecessor, C. C++ is one of the most popular programming language for graphical...
Shoaib
What are the toughest topics in C language?
1. pointer 2. dynamic memory allocation 3. File handling
Lokayya
0 0
5
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

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

Ask a Question

Related Lessons

Compiler vs Interpreter
Compiler Interpreter Convert all the code into binary format and execute. Convert one statement at a time and execute, then Convert next statement and execute. After conversion, source...

Definite book guides for C++
This post attempts to collect the few pearls among the dozens of bad C++ books. Unlike many other programming languages, which are often picked up on the go from tutorials found on the internet, only...

File Handling in C++ : Lesson 1 Data Persistence
Data persistence refers to the existence of data in the program. In other words, it means the life of data. Data is the most significant part of a program and it must be stored properly and easily retrieved...
J

C++ Program Sample Application
//Standard Library Functions(Headers Files Used in C++) #include<iostream.h> #include<conio.h> //Main function int main() { //function for clearing the screen clrscr(); //function for...
S

Do You Know Size Of Empty Class and Reason?
Size of empty class is always 1 byte. Reason is, in order to differentiate one object to another object, the size of empty class is always 1 byte. See the below c++ code snippet. Here there are three...

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