586 Answered Questions for the topic C++

C++ Algorithm

05/20/17

Meaning of "two comparisons" in the context of the provided question from geeksforgeeks.com

This is the exact question from the website.Given a sorted array having 10 elements which contains 6 different numbers in which only 1 number is repeated five times. Your task is to find the... more

Please help with this C++ programming question

Using pseudo code algorithms! c++ only 1- Detect if three angles can make a triangle. (1) • Hint: In a triangle, the sum of all angles is 180. 2- Switch the value of two numbers (1) • If a=2... more
C++

08/01/16

File Handling C++

how to type cast string in TEXT file. Explain plzzzz...
C++

08/01/16

C++ file handling

In C++FILE *fp;fp=fopen("NOTES.TXT","r+");Which Operation can be performed?a) read b) write c)appending d) read & write

1.Write an Algorithm , Flow chart , pseudo code to convert from decimal number system(base-10) to binary number system(base-2).

1.Write an Algorithm , Flow chart , pseudo code to convert from decimal number system(base-10) to binary number system(base-2).    

C++ Programming Homework Due Tonight :(

I'm pretty sure this assignment is really easy but I haven't learned anything in the class. Basically he wants us to rewrite part of a program as a module. #include <iostream> using... more
C++

03/11/15

Computer Programming

Input a list of employee names and salaries stored in parallel arrays. The sal-aries should be floating point numbers in increments of 100. For example, a salary of $ 36,000 should be input as 36.0... more
C++

02/04/15

i dont know how to connect merge sort and direct insertion to a single c programme?

how i connect two of them into a one single c programme  help me !   give me a example programme pls

02/25/14

can anyone tell me why this has errors?

For your assignment you are writing a number guessing game; with a twist. In your game, they are calculations where the user must guess the missing number(s). The Computer guesses a random... more

how do i do this c++ program????????

i need to make a program that does this, i have no idea where to start     The Computer decides on 12 + 34 = 46. The computer/game then randomly displays Operator is + and Value 2 is 34. The... more
C++

02/09/14

Starting out with C++ review question

A retail store grants its customers a maximum amount of credit. Each customer's available credit is his or her maximum amount of credit minus the amount of credit used. Write a pseudocode algorithm... more

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.